From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gabriel Newsgroups: gmane.emacs.devel Subject: Re: On the adoption of transient.el Date: Mon, 05 Jul 2021 13:09:22 -0300 Message-ID: References: <877di4on3d.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32211"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jul 05 18:24:58 2021 Return-path: Envelope-to: ged-emacs-devel@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 1m0ROz-00083F-6P for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Jul 2021 18:24:57 +0200 Original-Received: from localhost ([::1]:56058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0ROy-0001aS-61 for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Jul 2021 12:24:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0RI4-0006TA-LB for emacs-devel@gnu.org; Mon, 05 Jul 2021 12:17:48 -0400 Original-Received: from mail-mw2nam10olkn20802.outbound.protection.outlook.com ([2a01:111:f400:7e89::802]:54715 helo=NAM10-MW2-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0RHy-0005CH-Dm for emacs-devel@gnu.org; Mon, 05 Jul 2021 12:17:48 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bm0ZfmjMZh1Las5UTxQIcbvv/Hv9H3tOGaX+2TzwYq+FdlQ2Qiz/xtTEkdOYJU/mJsL+aUkcV7fxSznh3uIEWYLLMAD8wQNchYvKBjlTOl5+uAUCZU28XvOcmcEE5s98ytwETTiMnT8T1E49FDelqNZuIdRZ61dP26q08SxW9Mnd3H9mZ9LYxPms5203JJj16PRpH1pSK/WKHSRD/bsWsNS7BCjDCm3MoUE+tc63bDd/WTXehmE/cYu+UabyIjYMkEwKS2nTwpGuLJ5Y9rYTLlEUSUn3c06KtAH/2na+oR2D4y1fNeS19fFaCC7LCWGXvbdky7Dg2RpPnLOhQpRScA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=w6achStMB7cIDVawaf6f2/KSD6qnEk+s+Lsxiy5qL/c=; b=U6OQSB+JlIgwoVaRJEnfOyWck8r9dc/ppzLb42hIWfrpMo6NVXKgPqo5LWUmlyWKf/MkuZpJJFFs0Hf7VEeUjIzPrjEnPoDXdw0u0Ez6zTApm2//m32zpspekApTGikBZaOtrNLP0sQTvhjVYwL0anHjdp1rdVIDjf4sdv8hoHbhv1vDVRJ5Wl9Pmtq2AcvrqLQIrAQWIS3K011QiBXEc9e/wUAg8okMqPkxOiXobXNQcOkqAdlzz9PiXtuHYC2yhyzYDL/yLt8IVxw30WboMTsiikTUNYFXgk9ZDN0b3TIjkP/YaU3Uf1sUECWFArvPFZiEGlS1MNpZI9GB8spmKA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=w6achStMB7cIDVawaf6f2/KSD6qnEk+s+Lsxiy5qL/c=; b=NlOFPUqhW4kJyLa5mY8Ze+oHscHvaaskDHAT3TiyTBnN3PPCo3b9yT+M9VKJsdrwv4bGKmxj1HhZMRhEh3/MC/XaQOtzfMwTqHGr73H9j/CEEj5P5vyyyQAyMWex+pOfeK4VqvyQwWM/Dh1C4RUH8CLuN6qSdLZj/hgWO5i5oLniqIuEmGEADJxVeR5PSI05vdYbrYksEMJK8WkKKPmUk0kKYLd5BY290CmNPWr+Ebja7vsKwVbR3KtodRjRLdbdIiJ+9Sc9Bk/aMahPfbLJ6WDPC1Kjuf+cm5V59jpSMYFPSUmmX9Q4CZrL0PQMeFsD87F/BOzk0DMUxvIaD+kkSw== Original-Received: from MW2NAM10FT009.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e87::4d) by MW2NAM10HT139.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e87::331) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.22; Mon, 5 Jul 2021 16:12:36 +0000 Original-Received: from CH2PR01MB5879.prod.exchangelabs.com (2a01:111:e400:7e87::46) by MW2NAM10FT009.mail.protection.outlook.com (2a01:111:e400:7e87::215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.22 via Frontend Transport; Mon, 5 Jul 2021 16:12:36 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:899BB37BDEBDC5F58113EFC5C73898631FB62AFA6F50A19EBB096E12C187F400; UpperCasedChecksum:66F1CFEDCAC1289A9735F66F4B98881AD2C86D2956FD27D6C9CB976C023C7182; SizeAsReceived:7455; Count:45 Original-Received: from CH2PR01MB5879.prod.exchangelabs.com ([fe80::5c64:1750:c3c7:c182]) by CH2PR01MB5879.prod.exchangelabs.com ([fe80::5c64:1750:c3c7:c182%2]) with mapi id 15.20.4287.033; Mon, 5 Jul 2021 16:12:35 +0000 In-Reply-To: <877di4on3d.fsf@posteo.net> (Philip Kaludercic's message of "Mon, 05 Jul 2021 14:24:22 +0000") X-TMN: [Fccpw2Rz82IetYI02ypmSuFoNv2YJKu77E17ZaVPaNkBQiVg3l7YjPoA0mDhuGrI] X-ClientProxiedBy: CP2PR80CA0042.lamprd80.prod.outlook.com (2603:10d6:102::28) To CH2PR01MB5879.prod.exchangelabs.com (2603:10b6:610:3c::12) X-Microsoft-Original-Message-ID: <87zgv0spxp.fsf@hotmail.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from desktop (2804:431:c7f2:3723:2e97:3346:1d59:b110) by CP2PR80CA0042.lamprd80.prod.outlook.com (2603:10d6:102::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.23 via Frontend Transport; Mon, 5 Jul 2021 16:12:34 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 45 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: 74941432-0baf-4339-619b-08d93fcfb396 X-MS-TrafficTypeDiagnostic: MW2NAM10HT139: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4QLawPZERLyuxzyuYtPvGVz/suurOM2C2LOFq+dv+y3iZQPORYUj79lY3jRlEE3MtAfMRh2VOmksJUPDzagJqceq1o9H0GjezlmWJpZMpw8DLw/3cR81ItOfQzDzTk/q6G7JpfH5lerzl2/qW7GujN3bIP1WcughHMeNOJ8e1+/mC+7x8bzb0+swtl/oPrTN910yftTOa39QEXUq0Y+gz+RXtjS2a8hzCYyEFsBJYmWHmSXbJOdYMmTy5rbTGUaPJNa6oNYi65bVyQwPs5gEo4m16XNMzktZJgElWIv/vy3hcpfhdivxtyW+0IS104u3NmpkyXrwR05du4jzM/f1kY4AGL0lQme0AUlZmhpp07syPQUzfRw5dL/9kL+fp/mXJBBDjCFfJ5wZo8pdFZDsUk9QiINEYHkOdGWb195olQns89zcoLUzwoDnj+NWAoZM X-MS-Exchange-AntiSpam-MessageData: 1FhWfv0nGptAww2cCwC2jZyuJHw2iDYb77tZChN/GfukCiffBZEZSuWuDThnFvegamhI5WGqExYtxSSpfMLz5j2rTWpYe334WYrlWmkLrndHB0ZbLQtBAhLvfAjs4dKvGwZSlJ7xBr89Dhmbt84ppatEFbTCUzdk/FqlLDgaj6tCSPZwGNqiSRoY7kv8gaW4xPZP2mDwcRO7v2qRnaDvjA== X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-Network-Message-Id: 74941432-0baf-4339-619b-08d93fcfb396 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2021 16:12:35.8460 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: MW2NAM10FT009.eop-nam10.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2NAM10HT139 Received-SPF: pass client-ip=2a01:111:f400:7e89::802; envelope-from=gabriel376@hotmail.com; helo=NAM10-MW2-obe.outbound.protection.outlook.com X-Spam_score_int: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) BAYES_40=-0.001, 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_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:271133 Archived-At: Philip Kaludercic writes: > > Do you have any concrete examples where it could be used? > Well, there are many examples, the possibilities are endless, although I don't think it's a silver bullet that should be used everywhere. A concrete example is isearch, where a transient menu could be used to toggle case fold, toggle regexp, toggle lax whitespace, run query-replace etc. Emacs has the wonderful vc.el that could leverage transient.el too. A transient menu could be also used as an alternative to list the bindings of a keymap, similar to the package 'which-key'. So instead of typing ' C-h' when the user don't know a specific binding in some keymap, a transient menu could present the bindings and dispatch the request command. If 'help-for-help' was not too large, perhaps it could also use a transient menu. Or could split each section using transient prefixes. In project.el, 'project-switch-project' could also use a transient menu for its options rather than the current implementation with 'project-switch-commands'. When using 'C-u C-x p g', the user is asked three questions, which could be replaced with a nice transient menu. This is definitely not an exhaustive list. Some other area of Emacs that may leverage transient.el are: Gnus, Dired, Ispell, GDB, Registers, Tab Bar, Ediff. Regards, Gabriel