From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id UF64NLAsXWc53wAAqHPOHw:P1 (envelope-from ) for ; Sat, 14 Dec 2024 06:58:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id UF64NLAsXWc53wAAqHPOHw (envelope-from ) for ; Sat, 14 Dec 2024 07:58:56 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=AWq9e6YG; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734159536; a=rsa-sha256; cv=none; b=dZFMQmL7PBrn3AZ74nYS86M8wI5glGPOrVsvxzwqmwJpN1c/HwgcYjkDvchAmYO2SIqqC5 XfJiVIuofDHCEx7eOa49+zuQfbKdT/Qr6lmp8opxyXAIYq5r3p4sw3+hORc/u1n63XgA8A pe2TUWAb5aagHtXwRLG586OfUHwcxeNFkbdAK5VNc1fp3TF+i3TQLQhdUr10eOIh6gtn/U lBIj7ee42Z6a89GPIso0ZbZAhctBni9ssRPc7X+gzgwzF+zUkLQyaE6itCBtz1kftEwq5q 0hPDFsdzJVsxy4GImIRMyo8DgMIroh9wBs4ni8Ekyh1Nl0U5eyME9V9RsfKZOw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=AWq9e6YG; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734159536; 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=deklWq7epzFtx0oIXqgL4JB303p8pytGN2XoBt4dg2A=; b=c4uHr52mcR9xClYEm4iHe3NSQ+7Yw+DJfMbNnoelY6n6YLDczQ+mDIRpaJfNrza5fi2sp3 MiwoIG+IOxet7C4T5AqNFZ9uVu09NYopEjI5fZyNAGOKR/9cMtHfzb0Ol0sHTDmHRbtPWf oHkmtouBWTLpkE5SageP0jelU67geTes5d7dX+csquT+bMp47SzgxRwPEG9BwXN8BNR8D5 oEptCevl5MJyHfJFv/Rp9TWHnZfX+xnzMN5rvygC29KJ0jm3kx1SezJQUKdDeWLNNC8GQY ojFVmmkiowkrvxMvtv/4SsFsxNYd4zMrwChaq9UOTsl1N+yaejLQU4wuj+brzw== 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 999DD824BE for ; Sat, 14 Dec 2024 07:58:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMM6Q-0007lY-Bu; Sat, 14 Dec 2024 01:58:14 -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 1tMEbc-0003Tq-3u; Fri, 13 Dec 2024 17:57:56 -0500 Received: from mail-qk1-x742.google.com ([2607:f8b0:4864:20::742]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tMEba-0001gN-Ll; Fri, 13 Dec 2024 17:57:55 -0500 Received: by mail-qk1-x742.google.com with SMTP id af79cd13be357-7b6ef047e9bso208806485a.1; Fri, 13 Dec 2024 14:57:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734130673; x=1734735473; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=deklWq7epzFtx0oIXqgL4JB303p8pytGN2XoBt4dg2A=; b=AWq9e6YGoVKqROEAGWFx5KiklUc6qN8ZpogGxP8VZ3Qfqb2+YPRFlWA+m0jNv+MqUz 79lyDxZfSUeBUcHY+OyzPz+Gq9FtHtqaN8lVYjBH1Z2pYXsYWZLsYP0EOkWJYh7XZJDG lWubgrBl+0DRamy0VVsPji2yRTRdb7rvGoj/TmxaXjo3vjc7ilzBIfwyzZ27ZLKtQH6h CyybbTbCxsjPQfZ/Tq5RMAUcNEJV6KHxCOjLMNm1rksPRFQDkjReVipCX8iuH0qDhEOU KdkkumdBxQARRdbBlwjoOWksuduZE9QhoP6uHJ4Ni2zLA08+3OygdE6raPr2e9l+MY5e fZaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734130673; x=1734735473; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=deklWq7epzFtx0oIXqgL4JB303p8pytGN2XoBt4dg2A=; b=N8s+diNewOMWl816ybBgRUlNY3bZ45KAaaHQmIeFi1cjd43tEuRMgA0DmGEyehzBnM PX8yQm6dMVK0XZeP5T5rqs8Qk2hchk81ysoFhzhiNMpk2GF8lhDfjG1xNCE22WoFTSng JiuULPLt7ZpzXyq9Acdysp0sA4AHcoEYddUKdEnTmfpjS/Sd7cWiDxpGBC0ntSMZXdEA vS+oZDCPZffOHpCS1XxyvWsHj8ts3uE5SjS2/jQX8nUSVvwIF2FxXjCgyavO7Lh553cI zf8Zc3vvrDdq9x225QrHBFlEjggTwjOEKWPLiiGcYwt+S634ArK5ySkDpq/Dz9EGP7cz XAbw== X-Forwarded-Encrypted: i=1; AJvYcCU6AHwqEFAziTYjpCPMCjLHRj7/2EX2mMG2kHWJmwJ4PQyIYaWVKVbjDDYbWS1B3m9dTIRUrIGHaPoE5Q==@gnu.org, AJvYcCW6R3oJ1KinDMgz7agCU5aSYL7c8p5Kugblu79lQNUhEHMqttd7j5TDN9i4OzK880K+egSifuH1L3Nm/KvxGQ==@gnu.org X-Gm-Message-State: AOJu0YyXltJ8Xz3DrvBakXuxDOuDegsXKgtGrCPfp2yLqXkTHz90bqLp 6jQ7zpk80zk2S+4MFwgk4wDTWPoKyCqO+Bxo6Wc4xPCQe9aFeiEY X-Gm-Gg: ASbGncvrYuo0+9bertr33fp3eycryXQCpLBL3YzHJBBNIrdX6wIEwCrbpOrD0TmWdRf DOj+fOY72DeUru+jYndmFQ2yrkYbf0OfeFIgHUic0PgF6BHuREhdpV1qPxR5/qiewIbJeGgTnXU X+ADqNu3VdWu64HMirYHtO9ngiVe7bX2yfGcYQ9ycYVnZ1t0T5Q798N/x4KOzXRLdF0WaJ0yKtF f+W3Bhp2UQ7t1D2hxUY8OoCB3yDBlAyrWgMEfr+/5yECZG1ctZp/mhnb2YLtBiEFB8np3ceoKGi YKNlBkg/1DIZD9uo1g== X-Google-Smtp-Source: AGHT+IGSppoh3atzFTnadbkc7TNck8dSKbbqWBIy8DPr5kM5BgUJWS4KcyK8FxP9lYbNSr1V1+dyWA== X-Received: by 2002:a05:620a:4554:b0:7b6:da9d:d810 with SMTP id af79cd13be357-7b6f8db7447mr984532285a.24.1734130672836; Fri, 13 Dec 2024 14:57:52 -0800 (PST) Received: from gnus (mtrlpq0776w-70-26-179-129.dsl.bell.ca. [70.26.179.129]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b7048bb9c7sm22478285a.93.2024.12.13.14.57.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Dec 2024 14:57:52 -0800 (PST) From: Suhail Singh To: Ihor Radchenko Cc: =?utf-8?Q?Tor-bj=C3=B6rn?= Claesson , emacs-devel@gnu.org, emacs-orgmode@gnu.org, Philip Kaludercic , Omar =?utf-8?Q?Antol=C3=ADn?= Camarena , Jonas Bernoulli , Juri Linkov , karthikchikmagalur@gmail.com, Visuwesh , charles.choi@yummymelon.com, Justin Burkett Subject: Re: [RFC] The best way to choose an "action" at point: context-menu-mode, transient, which-key or embark? In-Reply-To: <87msgzh1dh.fsf@localhost> (Ihor Radchenko's message of "Fri, 13 Dec 2024 18:41:14 +0000") References: <8734m28l9a.fsf@gmail.com> <871pzte929.fsf@localhost> <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> Date: Fri, 13 Dec 2024 17:57:48 -0500 Message-ID: <8734irb383.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::742; envelope-from=suhailsingh247@gmail.com; helo=mail-qk1-x742.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=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-Mailman-Approved-At: Sat, 14 Dec 2024 01:58:06 -0500 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.40 X-Spam-Score: -4.40 X-Migadu-Queue-Id: 999DD824BE X-Migadu-Scanner: mx12.migadu.com X-TUID: fhZtdfPTRkoH Ihor Radchenko writes: > Tentatively, I am thinking about the following: > > For a given Emacs "prefix" command (e.g. org-open-at-point), we define a > set of customizations: > > 1. List of possible actions: ((name1 . action1 props) (name2 . action2 ...) ...) > PROPS is a plist defining extra properties like key-binding, display > string, maybe something else to be used in the future. > 2. Menu interface to use (transient, context-menu, embark, which-key) > 3. Layout settings for the specific interfaces. For example, transient > layout definition. > > WDYT? By "display string" do you mean a description of the action? Or would that be additional? Hopefully, the description of each action will be a first-class member of the "List of possible actions". Or is the intent that the description be taken from the form representing an action (e.g. a defun, a lambda etc). -- Suhail