From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.help Subject: How to put default-directory into kill-ring? Date: Tue, 4 Feb 2014 12:07:22 +0100 Organization: WMI UAM Message-ID: <20140204120722.75a765ff@aga-netbook> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1391512064 5060 80.91.229.3 (4 Feb 2014 11:07:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Feb 2014 11:07:44 +0000 (UTC) To: GNU Emacs users list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 04 12:07:52 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WAdr5-0001Ax-Ea for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Feb 2014 12:07:51 +0100 Original-Received: from localhost ([::1]:51822 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAdr5-0007ob-0K for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Feb 2014 06:07:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAdqn-0007kF-SD for help-gnu-emacs@gnu.org; Tue, 04 Feb 2014 06:07:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAdqg-0003rz-Vc for help-gnu-emacs@gnu.org; Tue, 04 Feb 2014 06:07:33 -0500 Original-Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:59528) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAdqg-0003r8-P5 for help-gnu-emacs@gnu.org; Tue, 04 Feb 2014 06:07:26 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 3E17066380 for ; Tue, 4 Feb 2014 12:07:24 +0100 (CET) Original-Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JCaRGd+U0SDw for ; Tue, 4 Feb 2014 12:07:24 +0100 (CET) Original-Received: from aga-netbook (unknown [150.254.74.220]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id 10EEB6556A for ; Tue, 4 Feb 2014 12:07:24 +0100 (CET) X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.20; i686-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:808:114:2::50 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:95896 Archived-At: Hi list, quite often I want to put some full path to some file (usually init.el). It would be quite convenient for M-x pwd (or maybe C-u M-x pwd?) to put its output into the kill ring, which is does not. So: is there any function to do this? (I can easily write it myself, but don't want to reinvent the wheel.) If not, could this be considered a feature request? Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University