help-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Stefan Monnier
Subject: Re: How to put default-directory into kill-ring?
Date: Wed, 12 Feb 2014 10:14:24 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

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

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

When I need such a thing, I usually use something like C-x C-f
then copy the part I want, then C-g.


        Stefan




reply via email to

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