bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#46627: [External] : bug#46627: [PATCH] Add new help command 'describ


From: Drew Adams
Subject: bug#46627: [External] : bug#46627: [PATCH] Add new help command 'describe-command'
Date: Sat, 20 Feb 2021 04:25:09 +0000

> > 2. Change `describe-function' and `describe-variable',
> >    so that, with a prefix arg, they do `describe-command'
> >    and `describe-option'.
> >    (In terms of doc, #2 lessens the need to advertise
> >    those new commands.)
> 
> I see your point regarding #2, but thinking about it a bit I think it
> is preferable to have an easier keybinding than `C-u C-h f' for commands.
> And if we have `describe-command' on `C-h x', perhaps the prefix
> argument to `describe-function' is just redundant?

It's not either/or.  It costs little to add the
prefix-arg behavior, even if you add the option
and command commands.  And it can mean one less
thing for some users to remember (or give them
an extra key to rebind).  Other users may find
it easier to remember two than one, and with
its own binding `describe-command' is more
discoverable than is `C-u C-h f'.

That's similar to what we do for some apropos
commands.  E.g. `apropos-user-option' compared
with `apropos-variable' with a prefix arg; and
`apropos-command' with and without a prefix arg.

reply via email to

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