From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "T.V Raman" Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: transient Date: Fri, 01 May 2020 19:30:34 -0700 Message-ID: References: <87368npxw4.fsf@bernoul.li> <5f46b6999109bbc7b6bb28fff988e0b2@webmail.orcon.net.nz> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="17151"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Phil Sainty , jonas@bernoul.li, emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 02 04:34:38 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 1jUhzB-0004L4-On for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 04:34:37 +0200 Original-Received: from localhost ([::1]:52658 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUhzA-0004n6-S0 for ged-emacs-devel@m.gmane-mx.org; Fri, 01 May 2020 22:34:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUhyZ-0004Fg-O7 for emacs-devel@gnu.org; Fri, 01 May 2020 22:34:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUhvL-0006jf-4D for emacs-devel@gnu.org; Fri, 01 May 2020 22:33:59 -0400 Original-Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]:53327) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jUhvK-0006hL-KT for emacs-devel@gnu.org; Fri, 01 May 2020 22:30:38 -0400 Original-Received: by mail-pj1-x1043.google.com with SMTP id hi11so699833pjb.3 for ; Fri, 01 May 2020 19:30:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=0skMCrtI6Vufn7UbyIgyEBC6MmV05xI2/zo3Le1s+yE=; b=pxPHRRvqE8s5fl/cg/LLhoXZOnGzUcWNMBsSLV5piB1H6SW13RejkFIoGFZegFhspK 44i64UgqPulwOGsOq1p6VStaOBYqhG5FXqhbQyk1r81K60SWtlJLCIPaUQzEX7SKzbAh DWwFYiiqxLCyCVmZNhKcmjsfNq3CuoyXUJYAUHL0Whui2Y3exnumLSGR1xhcwSdUxjXY sAE7FBd7vGXD5LNFHDqkyJftEJSSZDU42NOqDLt/BL6qx3NQ/m1kvUuGglmqrPUuXRYI VZtWWZRV+3IDqFT2nwCZ5Yuyys+G1zMeAROanVQXgsB3MXfGT8/4eXM7wu0zYjqJayQs y+KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=0skMCrtI6Vufn7UbyIgyEBC6MmV05xI2/zo3Le1s+yE=; b=EKMofwFUMf5JZNB3ACm/fUJpD0mjgWdRgCTiUVIBFH/HJRqDtQKmo5CBPA6yGUosjb kJDBDc6+SX7y1MphrATWAF+Wg2kwdS9+cXRJGq3OWoNU17gk7RG56oqv0ks/G0UuhiY3 4mdzUvQGj/xx2vH00PegjldpaznRgCRK0N26N9xpmZb/mGXwpGdyNj7xG4qNELRwfk7T g3rHgnOg4QfPs0qMy94+lbH2YCFUItBtKPRDx8conS6j8P5RPRqHpdltmfOQfOs2u/an pe8j6Jy0mYvdkuCNbNbmeN79WzXCnFpMCwIT/IcDm7gOroI9LuplpQyopFiMnQWqIMYC q4YA== X-Gm-Message-State: AGi0PuYDyIuJME0QBuE0vIr1t+KoL1K6qdoEKEhphywEJEu2kL9RB9yN uR5NvCIFW5zB3pUUw1C2IA22mvlWimY4xQ== X-Google-Smtp-Source: APiQypKnn0iSl6LB/Yu0g9d3szUAHw4xzjGvaPFUZInbdnUJOnD+VNHxyZ3pec9hEoePB1LtH7eW3w== X-Received: by 2002:a17:90a:68cb:: with SMTP id q11mr3242415pjj.15.1588386636290; Fri, 01 May 2020 19:30:36 -0700 (PDT) Original-Received: from raman-glaptop.localdomain (c-24-4-174-65.hsd1.ca.comcast.net. [24.4.174.65]) by smtp.gmail.com with ESMTPSA id q11sm3304468pfl.97.2020.05.01.19.30.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 May 2020 19:30:35 -0700 (PDT) Original-Received: by raman-glaptop.localdomain (Postfix, from userid 13930) id 32E68C210B2; Fri, 1 May 2020 19:30:34 -0700 (PDT) In-Reply-To: (Richard Stallman's message of "Fri, 01 May 2020 22:25:23 -0400") Received-SPF: pass client-ip=2607:f8b0:4864:20::1043; envelope-from=raman@google.com; helo=mail-pj1-x1043.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2607:f8b0:4864:20::1043 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:248375 Archived-At: Richard Stallman writes: 1+ on both. I learnt transient by using magit and in that context, I recognized the "arguments" as git command-line options, but I can see how I would have been confused if I hadn't learnt transient in that specific context.> [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > The "Arguments" list at the top shows key sequences beginning with "-" > > (-a, -e, -v, -n, -R, -A, -s, -C), and typing any of those will configure > > an argument for the command. So in a Magit buffer, typing "c -s -e s" > > would open this Transient window, then enable the "--signoff" argument, > > then enable the "--allow-empty" option, and finally close the window > > and invoke the Magit command for creating a git squash commit using the > > selected arguments. > > Now I understand, and it makes sense. I like it. > > Those "arguments" are comparable to what we call options, in shell > commands -- not to the arguments. It seems to me that calling them > "options" would increase overall coherence. What do you think of > this? > > It occurs to me that this might be a good way to present menu bar menus. > Also, M-! could use this to select options for shell commands. > What do you think of this? --