From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Jonas Bernoulli Newsgroups: gmane.emacs.devel Subject: [ELPA] New package: transient Date: Tue, 28 Apr 2020 15:01:31 +0200 Message-ID: <87368npxw4.fsf@bernoul.li> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="54765"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 28 15:06:54 2020 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 1jTPws-000E3I-FU for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Apr 2020 15:06:54 +0200 Original-Received: from localhost ([::1]:56540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTPwr-0002bW-7y for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Apr 2020 09:06:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59330) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jTPrz-0006HI-3r for emacs-devel@gnu.org; Tue, 28 Apr 2020 09:04:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jTPrj-0003E4-IV for emacs-devel@gnu.org; Tue, 28 Apr 2020 09:01:50 -0400 Original-Received: from mail.hostpark.net ([212.243.197.30]:56074) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jTPri-00038Q-Td for emacs-devel@gnu.org; Tue, 28 Apr 2020 09:01:35 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id E71AB1666F for ; Tue, 28 Apr 2020 15:01:31 +0200 (CEST) X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Original-Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail0.hostpark.net [127.0.0.1]) (amavisd-new, port 10124) with ESMTP id An6NgLfCfWdX for ; Tue, 28 Apr 2020 15:01:31 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id 7459816634 for ; Tue, 28 Apr 2020 15:01:31 +0200 (CEST) Received-SPF: none client-ip=212.243.197.30; envelope-from=jonas@bernoul.li; helo=mail.hostpark.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/28 08:16:30 X-ACL-Warn: Detected OS = ??? X-Received-From: 212.243.197.30 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:248013 Archived-At: Hello, I would like to add Transient [1] to GNU Elpa. It comes with an Info manual, which you can also read online [2]. 1: https://github.com/magit/transient 2: https://magit.vc/manual/transient The TL;DR is: > Taking inspiration from prefix keys and prefix arguments, Transient > implements a similar abstraction involving a prefix command, infix > arguments and suffix commands. [...] When the user calls a transient > prefix command, then a transient (temporary) keymap is activated, > which binds the transient's infix and suffix commands, [...] The > available suffix and infix commands and their state are shown in a > popup buffer until the transient is exited by invoking a suffix > command. I admit that that is a bit technical and the manual even more so. That obviously needs some work. But that doesn't keep end-users from successfully using these transient commands; Magit users already do. Already a few third-party packages also use Transient. It supersedes Magit-Popup, which Magit previously used and which also has some third- party users. Hydra is another package that is somewhat similar. The manual comes with some comparisons [3]. 3: https://magit.vc/manual/transient/Related-Abstractions-and-Packages.html Yes, this is actually a step towards adding Magit to GNU Elpa, which some of you have asked for before, once or twice. ;D I have already signed copyright assignment for "Emacs". Almost a week ago I contacted assign@gnu.org because my new employer also needs to sign some things. I re-send that message today. Cheers, Jonas