From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id OOPQImZgamflDQAAe85BDQ:P1 (envelope-from ) for ; Tue, 24 Dec 2024 07:19:02 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id OOPQImZgamflDQAAe85BDQ (envelope-from ) for ; Tue, 24 Dec 2024 08:19:02 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735024742; 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; bh=qhDTQ1ctepLYR/qFrVHxn6l255E26yc6tZdKjYRRXV0=; b=qQmW/JiWe1R2/HFkoZWYB00Mz8FyoKXLxdlkq3MHE6nYQX4SzkxEuCPFMcAqnHHa9mXbx/ xRmCGukgzd3MXVPUsWOjXDMApJtJb1Vi9Yw+3sNDDmKB8r8M3ddcuZpRano5Rh4NEn7aoP mgCMJnKHN2Szf+MovVq2NDFfgbzbR2zrElnjrYj6H3FVWwwM8MSCwcLpjhZOZ5iZsa/ADL r3b+QioEO2C8au5fh6yz2YuTtY7EipoGa9/+k80ztBFHyR4lgPl+Rv99bZMt9uoTVc3gTW ifTL9cLXzjfSexM0RZqvaq9QcYQKydtUKhfLtR/6jsbRUfa2LCEim1uNQdrC7Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735024742; a=rsa-sha256; cv=none; b=gv1gAKTHAjItPP0BUUM/t88sW8eCC7/3fsnXg33Pb8Ol1npJJDxfs9mpkAVFiwO4B4P0Sp afwwLSXA98NipIcY1XUTtbpswCRE+kl8hTlpglfmtpId00HBJRu9oF08NPvFlwKurQHyhi FUECcuaROxWYJF1HNuXXLgtH4CZDlxqqZCxD3GQnObqrF2H0rvScqKYyzF4IIWtnR7EfZn AB97kiWXMuBOmCKau0SgwszIwWiIstmNWW4J4QK9WnFkvnBMjvwrzgFZDXUhVUIkqNmbqf Ux8adZMjeYsWP0OC0Zq827a1ccYL0bwt/TZOnn0NxM288+C/WBsst4zHz2D/Lg== 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 5E74A9EA4F for ; Tue, 24 Dec 2024 08:19:02 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tPzB2-0003R4-1N; Tue, 24 Dec 2024 02:18:00 -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 1tPzAz-0003P2-Ck; Tue, 24 Dec 2024 02:17:57 -0500 Received: from relay9-d.mail.gandi.net ([2001:4b98:dc4:8::229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tPzAx-0000cI-8V; Tue, 24 Dec 2024 02:17:57 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id BBE95FF804; Tue, 24 Dec 2024 07:17:45 +0000 (UTC) From: Juri Linkov To: Ihor Radchenko Cc: =?iso-8859-1?Q?Tor-bj=F6rn?= Claesson , Jonas Bernoulli , 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: <87h66ult46.fsf@localhost> (Ihor Radchenko's message of "Mon, 23 Dec 2024 08:07:53 +0000") Organization: LINKOV.NET References: <8734m28l9a.fsf@gmail.com> <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> <87frmq6ufj.fsf@mail.linkov.net> <87zfkx1fha.fsf@localhost> <8734io3xyo.fsf@mail.linkov.net> <87ttb3cxk5.fsf@localhost> <87h66ult46.fsf@localhost> Date: Tue, 24 Dec 2024 09:04:50 +0200 Message-ID: <87y105r3bd.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-GND-Sasl: juri@linkov.net Received-SPF: pass client-ip=2001:4b98:dc4:8::229; envelope-from=juri@linkov.net; helo=relay9-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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-Spam-Score: -3.71 X-Spam-Score: -3.71 X-Migadu-Queue-Id: 5E74A9EA4F X-Migadu-Scanner: mx10.migadu.com X-TUID: q2Z4ay5EjBRC > What I am leaning towards now (although, I hope that more ideas can > still surface in this thread), is simply re-using transient menu. Maybe > with a couple of simple extensions (default action, menu UI, and the > !arg macros we introduced). > > Then, we (or third-party packages) can implement code that will take > transient menu definition and convert into what > which-key/context-menu/eglot can understand. Not a problem for context-menu-mode since it's possible to write an adapter context-menu-from-transient like the existing context-menu-toolbar thru context-menu-buffers.