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

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

bug#46627: [PATCH] Add new help command 'describe-command'


From: Richard Stallman
Subject: bug#46627: [PATCH] Add new help command 'describe-command'
Date: Sun, 21 Feb 2021 01:19:06 -0500

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

  > It would be like `describe-function' but show only commands.

Are you perhaps talking about limiting the candidates for completion?

If the only difference between these commands is completion of the
argument, here's an idea.

* Make TAB and ?, when a completion list is displayed, toggle the
completion mode between commands-only and all-functions.

* Arrange a way to show on the screen which completion mode is in use.
Perhaps in the completions list buffer.

* Make C-h f start out with completion in commands-only mode.  That
will be good for beginners.  If you want to complete a noninteractive
function name, toggle the completion mode.

This interface involves no new commands, and no new bindings, and it
is easy to discover.

-- 
Dr Richard Stallman
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)







reply via email to

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