emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set-transient-map: Howto avoid annoying "," in %k


From: T.V Raman
Subject: Re: set-transient-map: Howto avoid annoying "," in %k
Date: Sun, 14 Jan 2024 07:08:40 -0800

definitely a corner case. Sounds worse when spoken.


Juri Linkov writes:
 > > Function set-transient-map  allows  one to use %k as a format modifier
 > > to display the list of keys that would continue the transient, works
 > > well almost all the time --- except when:
 > >
 > > "," itself is a key in the transient map; at which point the message
 > > "Repeat with %k" turns into "Repeat with ,,." if your transient binds
 > > "," and ".".
 > >
 > > Not sure how to avoid the somewhat weird looking doubled ","
 > 
 > set-transient-map already wraps the keys with quotation marks that
 > makes the message more readable like this: "Repeat with ‘,’, ‘.’".
 > 
 > But substitute-command-keys puts the face on the keys
 > and therefore also removes these quotation marks.
 > 
 > And I don't know how it's possible to customize this
 > to leave these quotation marks in place.

-- 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]