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: Re: How to put default-directory into kill-ring? Date: Wed, 5 Feb 2014 18:03:00 +0100 Organization: WMI UAM Message-ID: <20140205180300.4029b433@aga-netbook> References: <20140204120722.75a765ff@aga-netbook> <87fvnzrtgu.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1391619808 13496 80.91.229.3 (5 Feb 2014 17:03:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Feb 2014 17:03:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 05 18:03:37 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 1WB5su-0006L1-DO for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Feb 2014 18:03:36 +0100 Original-Received: from localhost ([::1]:60374 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WB5st-0005qY-Sn for geh-help-gnu-emacs@m.gmane.org; Wed, 05 Feb 2014 12:03:35 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WB5sV-0005gP-CQ for help-gnu-emacs@gnu.org; Wed, 05 Feb 2014 12:03:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WB5sP-0004oC-Ml for help-gnu-emacs@gnu.org; Wed, 05 Feb 2014 12:03:11 -0500 Original-Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:40915) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WB5sP-0004no-G9 for help-gnu-emacs@gnu.org; Wed, 05 Feb 2014 12:03:05 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 09AC966A0B for ; Wed, 5 Feb 2014 18:03:02 +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 Mq2LqBgqihnP for ; Wed, 5 Feb 2014 18:03:01 +0100 (CET) Original-Received: from aga-netbook (jedenzero6-jeden5osiem.echostar.pl [213.156.106.158]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id CD38466A00 for ; Wed, 5 Feb 2014 18:03:01 +0100 (CET) In-Reply-To: <87fvnzrtgu.fsf@gmail.com> 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:95928 Archived-At: Dnia 2014-02-04, o godz. 12:46:25 Thorsten Jolitz napisa=C5=82(a): > Marcin Borkowski writes: >=20 > Hi Marcin, >=20 > > 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? >=20 > I use this in dired (typing '0 w' with point on a file/dir): Thanks, I didn't know that! Best, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University