Re: On keybindings and the slow erosion of help's utility
Richard Stallman <[email protected]> Tue, 28 Jul 2026 00:36:32 -0400
| Newsgroups | gmane.emacs.devel |
|---|---|
| Message-ID | <[email protected]> |
[[[ 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. ]]] > >> - nil → not applicable; try the next function > >> - =#'command= → run this command interactively > >> - =#'keymap= → return this keymap (Emacs enters it for further lookup) > >> - ='keymap-variable= → a symbol whose value is returned as a keymap > > > > Not completely sure what you mean by the above notation. > > Do you mean that the function should return values of the form > > `(function CMD)` and `(quote VAR)`? I ask the same question about the syntaxes cited above. > I meant that the return value could be similar to what we already have > inside keymaps (as in 23.3 Format of Keymaps section of Elisp manual): > a command to run, another keymap, etc. That section describes Lisp objects, not syntax using `='. Would you please state your proposal concretely and clearly? I am not arguing against the proposal -- just asking for a clear description of it, which we can understand without guesswork. > (keymap-dynamic-bind ... > (:when #'org-at-table-p 'org-table-fedit-map)) > instead of > (keymap-dynamic-bind ... > (lambda () (when (org-at-table-p) org-table-fedit-map))) keymap-dynamic-bind does not seem to exist. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)