[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to put default-directory into kill-ring?

From: Michael Heerdegen
Subject: Re: How to put default-directory into kill-ring?
Date: Fri, 14 Feb 2014 13:59:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> We could provide such a feature, of course.  If you have a good UI for
> it, please tell.

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.

My approach for that problem is the following:

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]