From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0Hz0HZmr+2GfCQEAgWs5BA (envelope-from ) for ; Thu, 03 Feb 2022 11:16:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id aFDHFpmr+2E/aAAAG6o9tA (envelope-from ) for ; Thu, 03 Feb 2022 11:16:57 +0100 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 F262D17204 for ; Thu, 3 Feb 2022 11:16:56 +0100 (CET) Received: from localhost ([::1]:51322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFZAc-0001Cd-Kn for larch@yhetil.org; Thu, 03 Feb 2022 05:16:55 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFZAD-0001CS-TQ for emacs-orgmode@gnu.org; Thu, 03 Feb 2022 05:16:29 -0500 Received: from [2607:f8b0:4864:20::530] (port=35367 helo=mail-pg1-x530.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nFZAC-0004cT-4p for emacs-orgmode@gnu.org; Thu, 03 Feb 2022 05:16:29 -0500 Received: by mail-pg1-x530.google.com with SMTP id p125so1908220pga.2 for ; Thu, 03 Feb 2022 02:16:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=9mWv0XMrcg0GHNlQ2qsSazGRNQtplajPp3NTDGSKz/U=; b=qqlSZYsLyOMDaNN5SlinX/zT909G0nXV33FI3c9qnInkkuCTBNvTgtBu3WRMKa2yWY Xh6JCHHud2YSbFXJ9oyImVLp/GtG+vrHEnmkugObdCxInFiAQq4V4bh3GDdzzfdJ43rJ mmK2SfQUiC1V3h+edlNb68CZX18nRMJ4ThXQJ+V5Qm9F9xxCtl0Co+F0OpLZTot4/QeJ DAPbJzOOv3BzNb2kXA7sQNpBZaYrRGom0TBd6/L2wwrdZVTwaLGitZsgNdJ3C3ODAPiH xJUEhCTEclZWI7EdGWgSnkLbL24G5MxbDvpcmNUGNByFSerVSLKObzYZxWDqE6z/PWK0 +sFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=9mWv0XMrcg0GHNlQ2qsSazGRNQtplajPp3NTDGSKz/U=; b=tmTanmthyasKwnWZV8qMOw4iinWTcGS0xUTHYOkfMu+Nu00EeyrRM9wfTbblkeIjHk 9t0NbPnXWXSWmVWi/IyBQNIAoWDR1lkEHhqm8b5VkUgUY2N45BDXsi6poE4ytQXCyJy2 qfFEfbj806EOq66Ye4AyVlxuOf1cLcw3KPAB6exxTl6GqAdAfBJ7IeQhdlZ+03kYA0id 9kTKdzMsTcgWifkEV2Dx1aW8SJ0AotVROTxDu4uRdBA6GrBdQPkkhU4TGfGgQx4ceqxb h2qiI+nb+mmCHEms+C4kMuymOULyLqWps7kWK8UOFM92aJFZQvck2z7jAiZKn6ZwRXJ5 R9bQ== X-Gm-Message-State: AOAM533zvKWafIpVvDHgCDF3z3Kex+WG3r+VKgT2eu1UHr7Ky1VcBt7u oCpkUpJs85FMGAIuN9UUsQsFeFeVpQs= X-Google-Smtp-Source: ABdhPJyZTvRNPSpg1GAOnlElzVeTlgMcsy4ru90XKEuvKV28OuFD8eO+UdlESjuuJh7j83hQymXvfw== X-Received: by 2002:a05:6a00:2183:: with SMTP id h3mr33649437pfi.12.1643883386241; Thu, 03 Feb 2022 02:16:26 -0800 (PST) Received: from dingbat (2001-44b8-31f2-bb00-4952-46aa-f282-25fb.static.ipv6.internode.on.net. [2001:44b8:31f2:bb00:4952:46aa:f282:25fb]) by smtp.gmail.com with ESMTPSA id e17sm27699821pfj.168.2022.02.03.02.16.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Feb 2022 02:16:25 -0800 (PST) References: <8c364693bf6856e60cdd3e8b63ab0c9284d16733.camel@heagren.com> User-agent: mu4e 1.7.6; emacs 28.0.91 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: Suggestion: convert dispatchers to use transient Date: Thu, 03 Feb 2022 21:07:25 +1100 In-reply-to: <8c364693bf6856e60cdd3e8b63ab0c9284d16733.camel@heagren.com> Message-ID: <87ee4ks1ah.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::530 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::530; envelope-from=theophilusx@gmail.com; helo=mail-pg1-x530.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1643883417; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=9mWv0XMrcg0GHNlQ2qsSazGRNQtplajPp3NTDGSKz/U=; b=F2PaA2o0+xmd2Tj5onBoLmLTcrcYgLRi4hXWKv+qI+z2trVim2NklW46nq+NkYOQv7l8kN J7PDAkfjECV/0Sgj7YFpxQISUl+1HJUqtNfpZ5VeY6XWVYIi2yoYRLNPCSU94tBW6r9PyB ZCHonfxY7RWxRM+/fT6WvQwRUYpjJt8kh6g7hEZLegAoSU5yyUsGJQbgnD9NfnH5SVv2MT cC6HQA+jpDhfYoo84K1eiobi5FzdG6yqa8z0MeOf1xOmcw8edlWfURDfkTXmGYvvHN+COD esZ+dPidUxUPEAzqVTRuP1WxWdVZTNFyMw4y4LtKxIMMG9DLTvRkeniOd9/NJw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643883417; a=rsa-sha256; cv=none; b=nf5UWMYns/GNzQm9CkZg+covjwhoFmGAXG4sTYy7ZuvXBW2PhDwNvpMUBcEPCVe46etbLh rBdA1jgqcO5ssUKU4JL7KrONbWFMZJqu13ynPcBqhLtDwIc+Bb1wnzIBeM4IyiC0VrOauv K+F6JTkUxZ336+x/KzZd5/DzA31oBp5zUbvXd0rXxlXD2NaKZ1vHbzzoBbD03/8dwsP9dL KvbeQCMJE7EVWpvLJqCCcD88Z3n6GmOu/JEFq/oTdNGAN2lyw2mvktLQrRUHJsik31Pq82 l9Q/GnYdH0KKpS5pfpc9dOZ/E/59l+CcgRiMv3hWz/JRQU0AWFIT2FqWKeyiXw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qqlSZYsL; 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" X-Migadu-Spam-Score: -4.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qqlSZYsL; 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" X-Migadu-Queue-Id: F262D17204 X-Spam-Score: -4.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: 54WZ2ABN+jzI Hugo Heagren writes: > Org uses various dispatchers, where invoking a command gives the user a > choice of different sub-commands, chosen by pressing a relevant key, > from a list displayed on the screen. Some of these dispatchers include > options which can affect the command chosen. Examples include org- > capture, org-beamer-select-environment and org-export-dispatch. > > These desptachers are idiosyncratic, written for purpose, and each > behave differently. They have varying levels of customisability, and > this is reached in different ways for each. Overall, I think the user- > experience could be more consistent and more easily customisable. > > Luckily, recent versions of emacs ship with transient.el, a powerful > way of building such interfaces in a consistent and easily extensible > way. > > So, I propose to rewrite the current dispatchers as transients. What > does the community think? I would be happy to work on this unless > others strongly object, but I don't know everything about org, so if > others could help me with a list of other dispatchers which could also > be converted that would be helpful. > This has been discussed previously and I believe the overall consensus was that moving to transient is the right direction to take. However, the stumbling point at this time is that org needs to retain backwards compatibility with at least 2 previous Emacs releases. The current release is 27.2, so we need to maintain compatibility with 26.x and 25.x. Emacs 28 is at 'release candidate' status, so we can expect it will be released within the next 6 months or so. I expect the next org release will also occur about then. We would then only need compatibility with 26.x, 27.2 in addition to 28.0 After 28.0 is released, if transient is a GNU ELPA package, we can probably just make it an org dependency and Emacs 26.x and 27.x should be able to install and run it (would need to be verified).