From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: A different way to interactively pass options to commands Date: Fri, 19 Feb 2021 00:41:54 -0500 Message-ID: References: Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32016"; mail-complaints-to="usenet@ciao.gmane.io" Cc: clemera@posteo.net, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 19 06:43:08 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 1lCyZH-0008Ed-Qp for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Feb 2021 06:43:07 +0100 Original-Received: from localhost ([::1]:47934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCyZG-0005i6-Qx for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Feb 2021 00:43:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lCyY9-0004re-3Q for emacs-devel@gnu.org; Fri, 19 Feb 2021 00:41:58 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56870) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCyY8-0002SG-Qc; Fri, 19 Feb 2021 00:41:56 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1lCyY6-0006FV-QZ; Fri, 19 Feb 2021 00:41:55 -0500 In-Reply-To: (message from Stefan Monnier on Wed, 17 Feb 2021 15:07:39 -0500) 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:265208 Archived-At: [[[ 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. ]]] > (defun copy-next-command-output () > "Prefix command to add the output of the next command to the `kill-ring`." It looks useful, but wouldn't copy-previous-command-output be better? With that, you could make the decision after running the other command and seeing its output. -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)