From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Tor=2Dbj=C3=B6rn_Claesson?= Newsgroups: gmane.emacs.orgmode,gmane.emacs.devel Subject: Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark? Date: Tue, 24 Dec 2024 13:39:53 +0200 Message-ID: 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> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000eb4773062a02929b" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25859"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Ihor Radchenko , Jonas Bernoulli , emacs-devel@gnu.org, emacs-orgmode@gnu.org To: Juri Linkov Original-X-From: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Tue Dec 24 12:41:03 2024 Return-path: Envelope-to: geo-emacs-orgmode@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tQ3Hb-0006cg-KI for geo-emacs-orgmode@m.gmane-mx.org; Tue, 24 Dec 2024 12:41:03 +0100 Original-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 Original-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 Original-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 Original-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) In-Reply-To: <87y105r3bd.fsf@mail.linkov.net> 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+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Original-Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.orgmode:164361 gmane.emacs.devel:326987 Archived-At: --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--