[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: Marcin Borkowski
Subject: Re: How to put default-directory into kill-ring?
Date: Fri, 14 Feb 2014 19:40:17 +0100

Dnia 2014-02-14, o godz. 13:59:06
Michael Heerdegen <address@hidden> napisaƂ(a):

> 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.

Interesting.  I hate using the mouse (even for switching applications),
so definitely not for me.


Marcin Borkowski
Adam Mickiewicz University

reply via email to

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