From: Ihor Radchenko <yantar92@posteo.net>
To: Jan Rehders <jan@sheijk.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: Contributing org-menu (using transient) to Orgmode?
Date: Sat, 23 Nov 2024 16:56:32 +0000 [thread overview]
Message-ID: <87serh99dr.fsf@localhost> (raw)
In-Reply-To: <6F54EA7A-17B7-4A3B-B2DC-DAC0894E486D@sheijk.net>
Jan Rehders <jan@sheijk.net> writes:
> I wrote a package called org-menu which uses transient to add a
> discoverable menu to Orgmode. It's a bit of a mix of a modal editing
> mode or speed commands and a Magit style hierarchical menu to find
> less frequently used commands. I'd like to start a discussion here
> whether this plugin or similar functionality should be part of
> Orgmode before I block the name by getting it into nongnu elpa.
Thanks for reaching out!
Your package appears somewhat similar to
https://github.com/kickingvegas/casual-suite
> See https://github.com/sheijk/org-menu for some screen shots and
> description.
>
> Some questions:
> - should this or similar functionality be part of Orgmode? At least
> the discoverability seems to be nice to have
Maybe. I am not 100% sure about generic menu functionality, but we do
have something similar for org-goto (help window) and org-speed-commands
(org-speed-command-help). Using transient instead of these ad-hoc help
menus could be beneficial. In particular, integration with
org-speed-commands can be very helpful.
More generally, we have previously discussed the idea of generic help
menu for major modes. See https://list.orgmode.org/orgmode/87a5oayblv.fsf@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.
> - what about overlap of the menu bar Orgmode already has. I think
> this is a general question about transient vs. menu bars. Maybe a
> generic solution to use transient to navigate the menu bar would
> be more useful?
Menu bar can already be navigated from keyboard. Try M-x tmm-menubar.
Maybe transient could be utilized as a better UI for the same purpose,
but that's a topic for emacs-devel, not Org mailing list.
> - should something in Orgmode also have the modal editing part
> integrated? For me that part is the most useful as I can use the
> transient for nearly all editing tasks and the move into the tasks
> for commands whose shortcuts I keep forgetting
org-speed-commands
> - would this need to be made more modular and extensible so it's
> different parts could be moved into the respective Orgmode parts
> (like column view features, etc.)?
I do not have a full picture of what you have in mind wrt integration
with Org upstream and about the structure of your package. So, I cannot
tell much on this.
wrt column view, I have doubts that transient can be very useful -
column view uses overlay keymaps while transients are global.
> I'd be open to contributing this to Emacs/Orgmode but I'd also be
> happy to keep maintaining it as a separate package. Only thing I
> would like to avoid would be to strip parts of it's functionality as
> then I'd need to fork my own package
This part is not fully clear to me. Do you mean that you are only
willing to upstream the whole package, but not parts of it?
--
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>
next prev parent reply other threads:[~2024-11-23 16:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-17 13:33 Contributing org-menu (using transient) to Orgmode? Jan Rehders
2024-11-23 16:56 ` Ihor Radchenko [this message]
2024-11-24 16:28 ` Jan Rehders
2024-11-25 17:13 ` Ihor Radchenko
-- strict thread matches above, loose matches on Subject: below --
2024-11-18 8:40 Dilip via General discussions about Org-mode.
2024-11-18 8:45 Dilip via General discussions about Org-mode.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87serh99dr.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=jan@sheijk.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).