From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qFaeISUJQmdMywAAqHPOHw:P1 (envelope-from ) for ; Sat, 23 Nov 2024 16:56:05 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id qFaeISUJQmdMywAAqHPOHw (envelope-from ) for ; Sat, 23 Nov 2024 17:56:05 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=SAfKszZn; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732380965; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=mhRWAB9dSN/cKu2jiJR6XESOs4NqQgVqzng73JypZUA=; b=f58GFO94zfRPI4eOQWsLehXX3nixw8SjK7HzP/igxCAekzdjun3FHGAKIubkm5YAoli3pH 86bEljI18Kvzif0WjvAfQmysF4a5aBy+GpbSzi47udSc1kdQQ6K9uvMvG8RaxB7rlBVGoY /puORp+cOB1PP89kg1KDsfP+4A2KUaCY31zDNCv7wPf27xfSZZfuVITVUOdHPUxEogGrn9 MX+z1VcXUuTDgnbSivNaRpHnIu92eibIMWaRMhdIBxrRqTtfbFodWjpOahek8YMXSOZSId sMZSWFNx9AuQh5C1cHWghn17+cBgWytm7/lpIVG1DiFEmMrPV6pCoJmcz884NQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=SAfKszZn; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732380965; a=rsa-sha256; cv=none; b=ukcl00PmyEsK5eY4WZUZiH2kK4jgqBcqGxLclLQqbbH3XarU8HFrHIqkFHMA3RM2Cg//Zx RPphbDwqjJzpNDP38Un+eOie62DPWdZ6sQKBJoh3Cq9oWzvYqA+iTVzKzMkCHYbYomaIhQ iCuHmNFCuDLNQDLlG2kfBF/5fZ33JxtTGd50mmim1KN9wtUZEZPVXebBZjM8MZgabuSSYJ 089yUAnEYAi4HuJp50i4ehRfD45zYFIWzc1LQn0CFpvKlyvAFNUyn1vS96lOVkhVhIuZOU M6im6HghlQae8+6IowUYbhO1kwEkdEgGhGtFvDsAQE6cnOOIx0o6AJj0N4Igdw== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 03C918356D for ; Sat, 23 Nov 2024 17:56:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tEtPY-0007x1-5O; Sat, 23 Nov 2024 11:55:08 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tEtPV-0007uu-0j for emacs-orgmode@gnu.org; Sat, 23 Nov 2024 11:55:05 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tEtPR-0001UT-1V for emacs-orgmode@gnu.org; Sat, 23 Nov 2024 11:55:03 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A249C240101 for ; Sat, 23 Nov 2024 17:54:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1732380898; bh=joAvX1yevROZ3pirpZYC4NfBMnoKOx0mVRBfLPeSLNQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=SAfKszZn71BVAUJg5sSHGl6kDe60V5d17jmgkl/mF6UtPnzc08KeLDnLcTXfZ2AWQ 2f51DVdFfeJpLqwYuTqry05NT5NHJlNi3gd3rji45UmJvvOs4Byn+/QLzFa3NCGfJD RYuFc/ixqc6vG6X+mgpGUMfOxTXK56l1KIKMJEUMo6J1zNkmbRKShADxn4CWAaTjKV QRU2HddfBnMR9eC6yB8T8b965zRqywZtc4clsoo0fiNE8MsRtWwbBrDuVsyNr+Z434 qghVQ76xegqoW5MpG7zj654wWgrflbrtYmxg8mJP12GTjJLkVxYqPl7upXcGrZH+qQ 3P8vh9BVIg0tA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XwdPG0rDyz9rxD; Sat, 23 Nov 2024 17:54:58 +0100 (CET) From: Ihor Radchenko To: Jan Rehders Cc: emacs-orgmode@gnu.org Subject: Re: Contributing org-menu (using transient) to Orgmode? In-Reply-To: <6F54EA7A-17B7-4A3B-B2DC-DAC0894E486D@sheijk.net> References: <6F54EA7A-17B7-4A3B-B2DC-DAC0894E486D@sheijk.net> Date: Sat, 23 Nov 2024 16:56:32 +0000 Message-ID: <87serh99dr.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx11.migadu.com X-Migadu-Spam-Score: -1.00 X-Spam-Score: -1.00 X-Migadu-Queue-Id: 03C918356D X-TUID: 5OQHadyQlyz1 Jan Rehders 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 . Support Org development at , or support my work at