emacs-devel
[Top][All Lists]
Advanced

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

Re: substitute-command-keys to take optional `no-angles' arg?


From: M Jared Finder
Subject: Re: substitute-command-keys to take optional `no-angles' arg?
Date: Sun, 17 Sep 2006 21:55:41 -0700
User-agent: Thunderbird 1.5.0.4 (X11/20060713)

Drew Adams wrote:
Function `substitute-command-keys' allows little control over a) which
binding for a given command is used and b) the form of the key descriptions.
We've discussed these a bit before, and agreed to re-discuss them after the
release.

For that discussion (after the release), it occurred to me that, wrt (b), it
would be good to allow for a `no-angles' option for
`substitute-command-keys', just as we do for `single-key-description'.

For example, I use `substitute-command-keys' to provide a help string
regarding some bindings, and it currently returns this:

 "(<S-tab>, TAB: list, C-h: help)"

I would prefer to supply a `no-angles' argument to
`substitute-command-keys', to get this, instead:

 "(S-tab, TAB: list, C-h: help)"

I'm just a user, so feel free to ignore my comments.

<S-tab> is an abomination. Modifier keys should be clearly separated from function keys. <S-tab> to me means a key named "S-tab", not a key named "tab" being modified by shift. S-<tab> means that! substitute-command-keys and all other functions that print human-readable key sequences, should put the angle brackets around the SMALLEST possible string.

  -- MJF





reply via email to

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