Jan Rehders <j...@sheijk.net> writes: >> More generally, we have previously discussed the idea of generic help >> menu for major modes. See >> https://list.orgmode.org/orgmode/87a5oayblv....@gmail.com/ >> I personally like the idea of some kind of help menu, but I have doubts >> that transient is best-suited for the task. Ideally, help menus should >> help with the existing key bindings rather than introducing brand >> new. AFAIK, transient _always_ introduces new bindings. > > I think which-key has been added to Emacs, that one seems like a good fit
which-key only provides key binding + symbol. No description and no grouping. >> org-speed-commands > > org-menu works on many more elements than headings. Table cells, list items, > dates, normal text formatting, etc. See the transient-insert-suffix 'org-menu > at the end of the file following :if blocks for conditional enabling commands > for various elements. This is as ad-hoc as Orgmodes keybinding overloads > depending on context (which might also be a good thing to generalise it, like > some commercial text editors did/do) org-speed-commands can work outside headings as well. See `org-use-speed-commands'. >> I imagine splitting it into several files which follow Org’s >> existing structure might make sense as well as making it easier to >> add new parts to it. I don’t know how to best do that, yet. I do believe that the best way to integrate menus like in your package is extending org-speed-commands functionality. For example, we can introduce something like `org-speed-commands-toggle' that will toggle the transient menu. Does it make sense? -- Ihor Radchenko // yantar92, Org mode contributor, 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>