Skip to content

Why can't I bind to the "q"? #363

Answered by tarsius
agzam asked this question in Q&A
Feb 24, 2025 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

(q - is reserved for exiting the transient)

q is not reserved for exiting the transient by default. In fact I think that it is important that q is available without restrictions for use in individual transients, just like all the other a...z are.

Maybe you once disagreed with that and made use of transient-bind-q-to-quit, and have since forgotten about that. See https://magit.vc/manual/transient/FAQ.html#Why-does-q-not-quit-popups-anymore_003f-1.

Or, as a second reading of your question suggests, you still want to use q (instead of the default C-g) to exit the menu, but want to be able to use q anywhere in a key sequence, except at as the first event.

This is not possible, because Trans…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by agzam
Comment options

You must be logged in to vote
1 reply
@tarsius
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants