Re: On keybindings and the slow erosion of help's utility
Ihor Radchenko <[email protected]> Sun, 02 Aug 2026 09:45:57 +0000
| Newsgroups | gmane.emacs.devel |
|---|---|
| Message-ID | <87y0eo7t50.fsf@localhost> |
Stefan Monnier <[email protected]> writes: >>> If the last command is also a partial binding and it doesn't match, then >>> we can do something similar to calling `undefined`, tho maybe with >>> a tweaked message. I don't see any difficulty here. Am I missing something? >> >> Yes. Consider that we want to define the partial binding in >> foo-minor-mode-map. If nothing match, we also want to continue resolving >> the keymaps in the usual order. > > That's not a problem: the main point I'm proposing is that the keymap > lookup looks at all the keymap and builds an overall > `composite-command`. So, different pieces can be in different keymaps > and get combined into a single `composite-command` during the > key lookup. Do I understand correctly that this will make it impossible for the dynamic bindings to return a keymap? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>