From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.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 yBEgBoBWXWcI4wAAe85BDQ:P1 (envelope-from ) for ; Sat, 14 Dec 2024 09:57:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id yBEgBoBWXWcI4wAAe85BDQ (envelope-from ) for ; Sat, 14 Dec 2024 10:57:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=OfHdKrZY; 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=1734170240; 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=0Drfu16Rp3l8Q//obArx1Jhl00QiTFZy0ewpZHo8to4=; b=TnqVsgd+Hqx0qmtdtIhRE/6tkui3Q3PwQBMQuTHeVmrbVsrJBb4cCzbCjWxUKiSEohpZs2 /XfeuwgcurkaGOaWFmNhcLly3b9uuwIyB/f7NO+vZUHSbC3u7ucDs042egzcLNAhIcZB3g L0uqzbD2nRBq64Mc3LJZqIBMHvMnsopBmj2YVXCiqveyiWZZJnR1Uov9BeJ9YKaba4+sRm DHC6yy4EoKHzaIAp0+i7jsPJ+wndGQ/FwiTMopunk8cOjwJo/692FcPf60DLidh+7Ti0V3 iITuVSJaL3B5MPZmbWoXMeDWZ7iQJczZY3MX5Ch50YvfzjPYojTbcdACjFKTCw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=OfHdKrZY; 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=1734170240; a=rsa-sha256; cv=none; b=RTucYvHTCGGoUULo6GhvBy/DBz3St28a+06suAklVD/Q9kKf7FHOwA+uOPZh2kQuR0H+hf gkf5s+Os/d62Nz5Shv+lnotWiE1kPbYdlGGrKFYNusGoX27BtTqkPAguyv+uCIrAQHjOr+ rZ9+4yzbAZmwgUJ92re5YgCPU3fP5CWnA+Uoylqpunpc6L1+irPhUkYQTkWcFrjFjTkHDF zt+zMC9Zu/FCJyh93E7z2UTEFBPsTtGlLrsdu7j1gzC0gQPx4FSOg7fEmTw1OpTfvzA/S+ mWpAjbNgGO7PSK1IPc5smxdlIpdk8QHQOUK77wM5hDGC6vo/afgvGxflPn7Lhg== 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 D7DA989424 for ; Sat, 14 Dec 2024 10:57:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMOsV-000420-Kv; Sat, 14 Dec 2024 04:56:03 -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 1tMOsT-00041Z-VA for emacs-orgmode@gnu.org; Sat, 14 Dec 2024 04:56:02 -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 1tMOsR-0006gW-Pe for emacs-orgmode@gnu.org; Sat, 14 Dec 2024 04:56:01 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id AF282240101 for ; Sat, 14 Dec 2024 10:55:57 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1734170157; bh=Ipl2qh0Zy9bAYYTw0LqZXkxEQyWH/1LLMBwRloPtm40=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=OfHdKrZYBekY+RCvokuTGkTvKTF9mN3kCfZgPcHdfUq7t9RgKVhWz7nQsBSqO1XXd dpLMPUBlUEkZOKy7BsrjaLEWVOd2sOZIWirErb/i3+1EPcYZeJqWqOoOj0W3nRL2gM 49ATkq4iD13OA8u5ek3yqeCF77cahJpcU45hNmsntu2YdJnFjx+VSI8i8zJ6zp9CWA izeEZS/N98eVpiEi/KhGixQrBzth0sYRwN2u1a8HQwsIe7K1kv0G6Q1dwP8O3OHjzg Xa9OoA5jTUHATtQcb6gJdopEg7Ldoy0/QBp2d4CqYYOJWyYztQhGbrRwB8JyahpbX4 TyYuOjxnQhA2Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Y9M6518b9z9rxL; Sat, 14 Dec 2024 10:55:56 +0100 (CET) From: Ihor Radchenko To: Gabriel Santos Cc: emacs-devel@gnu.org, emacs-orgmode@gnu.org Subject: Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark? In-Reply-To: <87a5cz8cby.fsf@disroot.org> References: <8734m28l9a.fsf@gmail.com> <87v7x548ri.fsf@gmail.com> <87y120daue.fsf@localhost> <874j4m9ep6.fsf@gmail.com> <87h68gfqj1.fsf@localhost> <87pln3f3cc.fsf@localhost> <87jzd9ojj0.fsf@localhost> <87cyj0ajm9.fsf@gmail.com> <87zfm4s50x.fsf@localhost> <87wmh8s358.fsf@localhost> <87y11nwp9z.fsf@gmail.com> <87v7wd9a2h.fsf@localhost> <878qt7fbki.fsf@gmail.com> <87o71jwdxz.fsf@localhost> <87wmg6edr0.fsf@gmail.com> <87msgzh1dh.fsf@localhost> <87a5cz8cby.fsf@disroot.org> Date: Sat, 14 Dec 2024 09:57:26 +0000 Message-ID: <87ed2afuyh.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.11 X-Spam-Score: -1.11 X-Migadu-Queue-Id: D7DA989424 X-TUID: N7cqKmikJbpe Gabriel Santos writes: > context-menu-mode > No particular target, should mostly be used for actions on > the whole buffer or on a region, or all particular elements > defined. > > Example: Org -> Headings -> Demote Headings > ... > Personally, I'd prefer for built-in packages/functionality to be considered first. We will definitely try to support built-ins first and foremost. I mentioned embark as an example of alternative UI. Also, embark might be a candidate for upstreaming. > The consideration for context-menu for me is particularly intriguing, as there's > a lot of functionality already included in Org's context menu. This is not right. I think you are confusing ordinary menu bar and context menu. Context menu is "right click" menu that will display different items depending on where you click. Org mode currently does not have context-menu-mode integration (we should fix this deficiency) > I don't often use org-ctrl-c-ctrl-c, but now that I've seen the interaction > menu for properties as an example, I'd say the best option for it would be > which-key, as it's a simpler menu. My conclusion so far is that there is no "best" for every user. We should ideally support user-customized menu UI. The main question is how to do it. >> This UI flow can be implemented using context menus, which-key popups, >> transient menus, and also using embark (where the way menu is displayed >> can be customized). >> >> All the 4 approaches represent different UI models with various >> strengths and weaknesses: > ... > It has options for setting the pop-up type and position. Could this help with > flexibility? May you elaborate what "it" refers to? -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at . Support Org development at , or support my work at