[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50804: Command substitutions for keys without keymaps
From: |
Lars Ingebrigtsen |
Subject: |
bug#50804: Command substitutions for keys without keymaps |
Date: |
Sun, 26 Sep 2021 08:58:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Kangas <stefan@marxist.se> writes:
> It would be nice if we could have some way of putting a face on such key
> bindings, without having to fiddle with propertize. For example:
>
> (message (substitute-command-keys
> (concat "\\[[C-h]] or \\[[?]] for more options;
> \\[[SPC]] to leave "
> "unchanged, Character to replace word"))))
Makes sense to me.
> I'm not sure about the notation. Perhaps "\\[[...]]" is okay, or
> perhaps we want some other delimiter.
What about... \\`C-h'
Hm. Possibly too confusing.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no