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: Fri, 14 Feb 2014 19:40:17 +0100 Organization: WMI UAM Message-ID: <20140214194017.05fdf65c@aga-netbook> References: <87y51dj1et.fsf@web.de> 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 1392403259 1376 80.91.229.3 (14 Feb 2014 18:40:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Feb 2014 18:40:59 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 14 19:41:08 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 1WENh9-0001Sr-Qb for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Feb 2014 19:41:03 +0100 Original-Received: from localhost ([::1]:53337 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WENh9-0000QM-7U for geh-help-gnu-emacs@m.gmane.org; Fri, 14 Feb 2014 13:41:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WENgY-0008Up-KG for help-gnu-emacs@gnu.org; Fri, 14 Feb 2014 13:40:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WENgU-0001x1-0i for help-gnu-emacs@gnu.org; Fri, 14 Feb 2014 13:40:26 -0500 Original-Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:35932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WENgT-0001vy-R0 for help-gnu-emacs@gnu.org; Fri, 14 Feb 2014 13:40:21 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id D96A342066 for ; Fri, 14 Feb 2014 19:40:19 +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 b0MPfbmpsku5 for ; Fri, 14 Feb 2014 19:40:19 +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 B13C642061 for ; Fri, 14 Feb 2014 19:40:19 +0100 (CET) In-Reply-To: <87y51dj1et.fsf@web.de> 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:96086 Archived-At: Dnia 2014-02-14, o godz. 13:59:06 Michael Heerdegen napisa=C5=82(a): > Stefan Monnier writes: >=20 > > We could provide such a feature, of course. If you have a good UI > > for it, please tell. >=20 > FWIW, my two cents: There are surely different use cases. Another > scenario, which is probably different from Marcin's: Getting paths to > other window system applications. That can even be another Emacs > instance where you want to try and load a file you edited in the first > instance. But most often, I need the path of a file or directory to > be pasted into another application, e.g. for opening or save-to > dialogues. >=20 > My approach for that problem is the following: >=20 > Double clicking on the buffer name in the mode-line pushes its path > into the kill-ring and into the primary selection. Double clicking > on a file in dired does the same. Using the mouse for this is quite > convenient, because you can continue switching to the other > application and paste the path there without switching input device. Interesting. I hate using the mouse (even for switching applications), so definitely not for me. Best, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Adam Mickiewicz University