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 MJWsGp5lXWcJRwEAqHPOHw:P1 (envelope-from ) for ; Sat, 14 Dec 2024 11:01:50 +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 MJWsGp5lXWcJRwEAqHPOHw (envelope-from ) for ; Sat, 14 Dec 2024 12:01:50 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=TmpYrSMO; 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=reject) header.from=disroot.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734174107; 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=dzuXrUvKGLmJ8gPpUz3uUoIdjquRy8zUj0KnfdOVYgw=; b=Brnk6Vpswh9CrPlOLCS25TItHDDiW8lzW7ZXYAeCoROnfdSoMAm3w/qDbGspp12w/jG1jA MRcB5fJiIo3NuJc7RNeUHvrA97P/SCrKAlvlUrs7Tc8I+f8ennk/nqrxqKBISWcuK7jUbW CrRYfEAZMRjcuV/L+xFrXuNfdzPGtmdRFcjyHPGN9CxwWC/2glNAxSsVFj3dkoGTn9TLXU Nhd5gcp1aifrtJsqRIclqtlOdqm56qYZvNLxi9NSn4PWF0EyFOmrTNOKQCJMcRPUpgkVQS WoX1o+Ul1u+wghMHZV+GiSFLrGE1WXLiyNGi6DHrrpFJ/NPoKF2CKfvVY/e+lA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=TmpYrSMO; 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=reject) header.from=disroot.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734174107; a=rsa-sha256; cv=none; b=euZSrOL8xvWkIZTAf8liDMfho9aYAi/3bg8Z6+5Us+0tNBgt7PnVB1652LB3ysvc76DpfC rxndY/ldoQmY7tob1LesBhRof0Pz0qJISUPBnSG7RLsY8+cXkb29hCwLFeLVyYufPMvrmz ez9FytW79+F46+K+I5QrEoPkMl02W2LIWPABbe5UxMv81Qw+hLSvMNEZty0B8H7noFcwy9 176O6lccAZsnqmPnUOWv/IdJE2WnBpYWz/vgCOeTsNaV8Edz9pQ7g9GCOf6u8x4lOnD5x7 1KQ+XiqFsIg+7BjQ5gfoyGjRnIYVQrMPa7juoh9Y3GwkZdusY/DNOdBPA8f9xw== 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 938928B243 for ; Sat, 14 Dec 2024 12:01:47 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMPsy-000847-Ri; Sat, 14 Dec 2024 06:00:36 -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 1tMPsS-0007YT-8x; Sat, 14 Dec 2024 06:00:07 -0500 Received: from layka.disroot.org ([178.21.23.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tMPsP-0000rb-Jm; Sat, 14 Dec 2024 06:00:03 -0500 Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 2488324A97; Sat, 14 Dec 2024 11:59:59 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id Sx9oBPd2jLdz; Sat, 14 Dec 2024 11:59:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1734173994; bh=dzuXrUvKGLmJ8gPpUz3uUoIdjquRy8zUj0KnfdOVYgw=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=TmpYrSMO0DhL33LUSFi+b+5+TFZyyaTemhYCa4HOC2WgIsnBHB0gfE40DLXJKOxut /eXptVCJy8C8CZ6kUYvrXcFeJPvGXojEk5/9aHqNOVHTJ05neb7bS7WCHOfwSZdG3p LrKo+1Q/RvSFOj1aNtRWBO4BRTG92tQ98akFk2V+nvFtiQsleK72Sl/IPewu18Tpb1 YvB5tw+K3l5SHJp13VNX2ZXYqvkMH2ksjErNOrldOPWtCbOzQu4idj0BZru646WeaJ +Zph2KLBaj+idmXHIHk5L8Kj+BJ2wdp/ORWH+cxFIodcEneodAufXdyJjWCpKWhrHa JeSUN0OXS46MQ== From: Gabriel Santos To: Ihor Radchenko 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: <87ed2afuyh.fsf@localhost> (Ihor Radchenko's message of "Sat, 14 Dec 2024 09:57:26 +0000") References: <8734m28l9a.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> <87ed2afuyh.fsf@localhost> Date: Sat, 14 Dec 2024 07:59:50 -0300 Message-ID: <8734iq8r89.fsf@disroot.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=178.21.23.139; envelope-from=gabrielsantosdesouza@disroot.org; helo=layka.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_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: -0.02 X-Spam-Score: -0.02 X-Migadu-Queue-Id: 938928B243 X-TUID: 4H3XCqE4pCHl --=-=-= Content-Type: text/plain Content-Disposition: inline >> 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) Maybe it's some third-party package I'm using, but right-cliking on an Org buffer gives me a lot of options: >> 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. I also agree with this conclusion. Hope others can contribute with suggestions of how to go about 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? Sorry, seems I forgot to clarify. "It" in this context was referring to which-key. It has the following variables for altering (window) display: - which-key-popup-type - which-key-side-window-location --=-=-=--