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 mNreHM+damdbQAEAe85BDQ:P1 (envelope-from ) for ; Tue, 24 Dec 2024 11:41:03 +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 mNreHM+damdbQAEAe85BDQ (envelope-from ) for ; Tue, 24 Dec 2024 12:41:03 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=a8d2suLS; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1735040463; 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=u0flbcFh8+P6bMipZYjTHAuDPAJQXHNuTLjtYMyckw8=; b=A8n/WO97XWENNFaYKg+EdJq+H7a1RjZySXybPIJEZKgsbB76HbUTeEg/25z84zvRJj+mDu xZj2ocmzPsLtes1HbjEZ5epwkRUQnsGcwWRCVRojnnjmRjchv4IIJLHopFB48KdF/c07Gd +SlHXKzLO9vZYsijrjY2qdnVFEefiu+YLtz4J854PKpmZygiqMwGeBjeIG/4/xnJs4QBBr RMsC6az9lL8HXJSb/qLkTqiQI4WYIq5DwU26Dl+pR4nPWEdwWOXqzPNabRFNa1VXhpubHt iH6h9UKpt3f4M0pII5fS2SE2v3KkdjRY1MYvZuFb2pM3w6lWP0gQaZZthYP5/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=a8d2suLS; 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=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1735040463; a=rsa-sha256; cv=none; b=XvpYG07OwNj8DO+u1/Y45MnsjbCXdDlJ/t+AZJtkUDuWSeospafXkZWkg7PQkhZRgwd4SB DoXKtI82mf5+URls2dXHvCp98Pn42TLJBG21yTZ55EiteMzEi8/L3yXfaLljd02TM2ZSdW MYzeUvOz32m2mHnX6MXQTcXB0lVUJFGoRrrpAKY0gLo9fvJsXACSqlWrJyD00TzSiDW9qj o1VcG+wsErwuT/g/U9PpOSWud8q6/vXFGc/PL7FCTxjwluF+t+30jG41R5ADMQl46ISmK6 KO3UTOIbTz1woVoO2NlHzPaDTTunY2nOuQkDHRKQ+nCzvJTd81rpj3SRTWCJ9w== 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 4492981566 for ; Tue, 24 Dec 2024 12:41:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQ3Gi-0004uj-UE; Tue, 24 Dec 2024 06:40: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 1tQ3Gh-0004sy-Mm; Tue, 24 Dec 2024 06:40:07 -0500 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tQ3Gg-0007JH-1Y; Tue, 24 Dec 2024 06:40:07 -0500 Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-5d3d0205bd5so6876692a12.3; Tue, 24 Dec 2024 03:40:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735040404; x=1735645204; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=u0flbcFh8+P6bMipZYjTHAuDPAJQXHNuTLjtYMyckw8=; b=a8d2suLSvu94xW7KR+X0KIlGTIV2eNQiNb8ENULoFEc/G4g10XOS7bjnsQuZt3NHep V6LQ9OpaX2uBzCPKjks3IPRa2r5wwLJ5XkJ8OIGGoakYS418ooTnmByRay3UQtUJbVsV 9pmDnjs00r+aS9EAIGhUSGtVu11e9SPtmHT4CMVidOQr3vWJX85EAxX+bJ0xm4Kj2WXU ONx9qdchTzhBfVgzGsp6m5rfbzaDmDBO/GmhvfuMdBfL/bpPuOG8BQD8weBj+HJvKF2q HsauKMR62Ju540R/bzJcVOp7bzRt7COqEPUn7b4ga5lQxbwbzKsm/4Kz7F9vL0q/UOdm 88IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735040404; x=1735645204; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=u0flbcFh8+P6bMipZYjTHAuDPAJQXHNuTLjtYMyckw8=; b=R1xoMhFOzpZBBxqZA6Z4D6vzXPq7ZMuuWfoIejLDIQ2qsJtYdLksBpKZ7HG3IetKHw yttqy7NIYRNem5mE0dcUdF7gm6on/2djGrUid+xbXCMK74Z+T6RluRfrogqHhshrHScP 11w7uJn+BOBRwLnEKtXW932Nn293NR/kJxVXLI/PVGTWKcP2oQ+bT7aSKSfw0XuGtl7K qJA+TauEW4fmVIWPjBcjaLYEeyRbStrixHnc13g59MJeeAVtMBy8VrPoA2iv0pSwp0RF Nn8tWh7dFznx12HAE7jhldSChIWeKarSplk8nOIpdpQa6AoXAFUVeFL8uZB3Ch0KYuOu toCw== X-Forwarded-Encrypted: i=1; AJvYcCWMpq/CvpGpyXfzj7wJ4M4IwoleyDtnBpq49s3S249slWMaw0CPqQS47aglpIXa9BMDKcKavonu3G3IHA==@gnu.org, AJvYcCXQ57JzSSLelSdb/YiTy3TQis4WQUVmBHdcmwCT6GXQtfAVuysK5TtnWI3tui/t/S9O2UDEsfV2qY6RQj1roA==@gnu.org X-Gm-Message-State: AOJu0YztW5jmwjB7dPF+UwwnBnmy5m0MRCK8ealVuPTWVj4C8a5RZm8e S2mTmYJpoFmYb/qv7Xnx7+20DwxjeN+l9uHUDQomHqNjR7SNbXUDz7jYh4hmWdzpp0yNfxuyhSP ywLQGwi6ezq+aQQWSUlmSK4wye681ng== X-Gm-Gg: ASbGnculU93Vx0HmTLxqdYve5KustT7daHCukBiH0amNW8PZk45pstkOtqO4rZuPZal PvtbcSoyMbTBNo4VVxfxOX2S0lzA8hsQDHjhqvA== X-Google-Smtp-Source: AGHT+IHAA6+XjxEJmJXl34fvIzAyQhPTXfYGLQK2tnOXLBxLq1pC+or2sRLl/ayRisJA6ZZSZVEQmgP4Zkbt7b/vvAY= X-Received: by 2002:a05:6402:26c3:b0:5d6:37e9:8a93 with SMTP id 4fb4d7f45d1cf-5d81dd5e95amr14220998a12.2.1735040403455; Tue, 24 Dec 2024 03:40:03 -0800 (PST) MIME-Version: 1.0 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> <87y105r3bd.fsf@mail.linkov.net> In-Reply-To: <87y105r3bd.fsf@mail.linkov.net> From: =?UTF-8?Q?Tor=2Dbj=C3=B6rn_Claesson?= Date: Tue, 24 Dec 2024 13:39:53 +0200 Message-ID: Subject: Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark? To: Juri Linkov Cc: Ihor Radchenko , Jonas Bernoulli , emacs-devel@gnu.org, emacs-orgmode@gnu.org Content-Type: multipart/alternative; boundary="000000000000eb4773062a02929b" Received-SPF: pass client-ip=2a00:1450:4864:20::529; envelope-from=tclaesson@gmail.com; helo=mail-ed1-x529.google.com 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Spam-Score: -8.47 X-Spam-Score: -8.47 X-Migadu-Queue-Id: 4492981566 X-Migadu-Scanner: mx10.migadu.com X-TUID: F+Ym8GTOF3ye --000000000000eb4773062a02929b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Excellent! I'll finish the citation follower prototype, so we know what kind of shape we are aiming for:) Merry christmas! Torbj=C3=B6rn Den tis 24 dec. 2024 09.17Juri Linkov skrev: > > 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. > --000000000000eb4773062a02929b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Excellent! I'll finish the citation follower prototype, = so we know what kind of shape we are aiming for:)

Merry christmas!
Torbj=C3=B6rn


Den tis 24 dec. 2024 09.17Juri Linkov <juri@linkov.net> skrev:
> What I am leaning towards now (although, I hope that mor= e ideas can
> still surface in this thread), is simply re-using transient menu. Mayb= e
> 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.
--000000000000eb4773062a02929b--