From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +CH9HzKH+2FvKQAAgWs5BA (envelope-from ) for ; Thu, 03 Feb 2022 08:41:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qMxPHTKH+2FuigAA9RJhRA (envelope-from ) for ; Thu, 03 Feb 2022 08:41:38 +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 F256621D37 for ; Thu, 3 Feb 2022 08:41:37 +0100 (CET) Received: from localhost ([::1]:36382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nFWkL-0003RU-0Y for larch@yhetil.org; Thu, 03 Feb 2022 02:41:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFEY4-0008VF-Mt for emacs-orgmode@gnu.org; Wed, 02 Feb 2022 07:15:51 -0500 Received: from [2a01:c0:2:6:225:90ff:fed2:2b47] (port=49349 helo=mail.oa5.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nFEXE-0002UW-O0 for emacs-orgmode@gnu.org; Wed, 02 Feb 2022 07:15:41 -0500 Received: from dhcp-10-248-222-44.eduroam.wireless.private.cam.ac.uk (assp.oa5.com [89.187.75.252]) hugo@heagren.com (authenticated bits=0) by mail.oa5.com (8.14.4/8.12.11) with ESMTP id 212BuI1u019545 sender hugo@heagren.com for ; Wed, 2 Feb 2022 11:56:19 GMT DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=heagren.com; h= Message-ID:From:Subject:Date:To:MIME-Version:Content-Type; s= 202202; bh=54r3FvanklsmzYdlwiEOq5kqWbk=; b=m9ov9feBC9i1NKGDtRL/N EsbMlyrWA+8QSdrZiZQtEjEjEVeyA9AYibw6P3j37rxFowMpDb2rpfRZG7rz1PUA Sh92tRNX7+Pob3FTUAB6K6TY8Gtk4dmHVFWv34ExOQJyLNzWdoO5NXoZDDD46tBL SBBbJhaNa1/9Tr0tEih4mjyALZVJGOvlZW3MRqv2GBlh+UMZT+0ylFwN1WK/wpri BvuwEFg3iOoEoODxjzb2fmC0Ja1Mz6Yg8I5jlYrpwIA X-Assp-Version: 2.6.5(21218) on ASSP.OA5.COM X-Assp-ID: ASSP.OA5.COM X-Assp-Session: 7F1ADCBAB738 (mail 1) X-Assp-Envelope-From: hugo@heagren.com X-Assp-Intended-For: emacs-orgmode@gnu.org X-Assp-Client-SSL: yes Received: from global-5-156.nat-2.net.cam.ac.uk ([131.111.5.156] helo=dhcp-10-248-222-44.eduroam.wireless.private.cam.ac.uk) by ASSP.OA5.COM with SMTPSA(TLSv1_2 ECDHE-RSA-AES128-GCM-SHA256) (2.6.5); 2 Feb 2022 11:56:18 +0000 Message-ID: <8c364693bf6856e60cdd3e8b63ab0c9284d16733.camel@heagren.com> Subject: Suggestion: convert dispatchers to use transient From: Hugo Heagren To: emacs-orgmode@gnu.org Date: Wed, 02 Feb 2022 11:59:19 +0000 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a01:c0:2:6:225:90ff:fed2:2b47 (failed) Received-SPF: pass client-ip=2a01:c0:2:6:225:90ff:fed2:2b47; envelope-from=hugo@heagren.com; helo=mail.oa5.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, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 03 Feb 2022 02:12:45 -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" 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=1643874098; 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: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=XbAqH4sgz9hycsXckyd4mUJnZP+Jv3MLvA0Gge8AWqA=; b=c6sAF1Ep/Zhq4Djp8/OF1lO1UodL3c63LEN4r3zeQgdZxAX3Mir6IxXr1p7i+pWZIYCG5x RGlWMiWATwKivUyYliYJTOmEc+Rk11DH7VCwdxEaqO8t2qN5ZCmpkBAi5zU2vpxLJ4If82 nsvu/4AEp5rDO8uEh2dnmR6WeGS4/0GQBc8sMT5AnVnMLOzkzvMmrgbZdTyMSfwBM5OokA l3R458SGASy4D4ckwNk3Opdrv9ydRNx7WDnh080EupazM0qnAiHymDH9k4HvvOxIKvK3rJ 0F3CqDU050K0tqWBk6Jzj2jHuGClLpZeaDlWMeMvK68b3TdfiqSY10amLInzXg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643874098; a=rsa-sha256; cv=none; b=G87Cmqsu6blP+ClKZfxfYHH+O6A4H8VOJTz/0uatrGkof+2FecvKKrbH+gWGTExrPYORrR 489NldPC385cdhnzDADxnPWUY0Tul0bv/8S+V13diJakak8bBPusI1OPQKz+zkzVZ9vL4P pw64EGnYtYqGVO5YexktJh9nSUY7CmRiUzHvyPeHEIIqpV66tCm8Yfrkj3uZ6JebG+r3gQ fIKUpnrQoEufASyyS4ErwvYsDfPyMLvkwLR/7M2ndNWYabO95QQqw/ipAcTG0k5ybxgrlp DH9uwFnsADsBs5s0FDhrih0H2l8L4Wbo7IX0EILBzcQxVyNSVZru6W9ZHbXiJg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=heagren.com header.s=202202 header.b=m9ov9feB; dmarc=pass (policy=quarantine) header.from=heagren.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: -9.83 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=heagren.com header.s=202202 header.b=m9ov9feB; dmarc=pass (policy=quarantine) header.from=heagren.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: F256621D37 X-Spam-Score: -9.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: G10guDCHMWVH 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. Blue skies, Hugo