From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: A patch for `pwd' - copying the current directory to the kill ring Date: Fri, 02 Feb 2018 12:29:53 -0500 Message-ID: References: <871sieozdg.fsf@mbork.pl> <87vafg1kln.fsf@mbork.pl> <83372jepv6.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1517595277 851 195.159.176.226 (2 Feb 2018 18:14:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 2 Feb 2018 18:14:37 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 02 19:14:32 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehfqi-00072d-Cv for ged-emacs-devel@m.gmane.org; Fri, 02 Feb 2018 19:14:08 +0100 Original-Received: from localhost ([::1]:46164 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehfsj-0003Zl-HW for ged-emacs-devel@m.gmane.org; Fri, 02 Feb 2018 13:16:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehfBI-0004Pn-Me for emacs-devel@gnu.org; Fri, 02 Feb 2018 12:32:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ehfA6-0006pL-CA for emacs-devel@gnu.org; Fri, 02 Feb 2018 12:31:12 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:50005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehfA5-0006bT-Nk; Fri, 02 Feb 2018 12:30:06 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w12HTsho014645; Fri, 2 Feb 2018 12:29:55 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id E5913604C6; Fri, 2 Feb 2018 12:29:53 -0500 (EST) In-Reply-To: <83372jepv6.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 02 Feb 2018 10:51:25 +0200") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6214=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6214> : inlines <6359> : streams <1777830> : uri <2585182> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:222424 Archived-At: >> > Could you give more examples of commands that would benefit from that? >> Several commands use C-u for similar purposes >> (e.g. describe-key-briefly and eval-expression come to mind). > Not to forget M-! and M-|. Tho these don't put their result in the echo area, so they won't work with my current copy-next-command-output prefix-command. This said, it might make sense to add some hook to copy-next-command-output such that the subsequent command can explain where the output can be found. Stefan