8000 gptel-transient: Fix face related bug by pabl0 · Pull Request #638 · karthink/gptel · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

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

Merged
merged 1 commit into from
Feb 14, 2025
Merged

Conversation

pabl0
Copy link
Contributor
@pabl0 pabl0 commented Feb 12, 2025
  • 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
Copy link
Owner

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.

Copy link
Contributor Author

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.

Copy link
Owner

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

Copy link
Contributor Author

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?

Copy link
Owner

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).
@karthink karthink merged commit 7425ec9 into karthink:master Feb 14, 2025
@karthink
Copy link
Owner

Thank you @pabl0!

marcbowes pushed a commit to marcbowes/gptel that referenced this pull request Mar 19, 2025
* 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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0