-
Notifications
You must be signed in to change notification settings - Fork 270
gptel-transient: Fix face related bug #638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- gptel-transient (gptel-menu): Fix a slight bug introduced in commit edf834a ("Provide description of send action") where an extra quote (') caused error "Invalid face reference: quote" to appear in Messages and the "Context" heading to have incorrect face (color).
@@ -550,7 +550,7 @@ Also format its value in the Transient menu." | |||
(gptel--infix-add-directive)] | |||
[:pad-keys t "" | |||
(:info #'gptel--describe-infix-context |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the #'
in #'gptel--describe-infix-context
is not required either, as everything is quoted by default here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the
#'
in#'gptel--describe-infix-context
is not required either, as everything is quoted by default here.
Noted, seems to work and byte-compilation is is happy.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant that it should be unquoted, so just gptel--describe-infix-context
, without the '
.
8000
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant that it should be unquoted, so just
gptel--describe-infix-context
, without the'
.
Nope:
list: Symbol’s value as variable is void: gptel--describe-infix-context
I think the # should be there as well for proper elisp convention, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, my bad. In that case the #
should also be present, please add it back in.
I'm confused about the quoting convention inside Transient group definitions now, though.
* gptel-transient (gptel-menu): Fix a slight bug introduced in commit edf834a ("Provide description of send action") where an extra quote (') caused error "Invalid face reference: quote" to appear in *Messages* and the "Context" heading to have incorrect face (color).
Thank you @pabl0! |
* gptel-transient (gptel-menu): Fix a slight bug introduced in commit edf834a ("Provide description of send action") where an extra quote (') caused error "Invalid face reference: quote" to appear in *Messages* and the "Context" heading to have incorrect face (color).