unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Re: How to put default-directory into kill-ring?
@ 2014-02-12 14:44 Barry OReilly
  2014-02-12 15:14 ` Stefan Monnier
  0 siblings, 1 reply; 17+ messages in thread
From: Barry OReilly @ 2014-02-12 14:44 UTC (permalink / raw)
  To: mbork, help-gnu-emacs

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

I usually go to buffer-menu and copy the buffer name, path, whatever.
I bind buffer-menu to 'f' in an Evil keymap because of how often I use
it. So in this setup, the typed keys for copying the absolute
directory path containing the current file would be: f$?/ then RET
then vBy .


^ permalink raw reply	[flat|nested] 17+ messages in thread
* How to put default-directory into kill-ring?
@ 2014-02-04 11:07 Marcin Borkowski
  2014-02-04 11:46 ` Thorsten Jolitz
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Marcin Borkowski @ 2014-02-04 11:07 UTC (permalink / raw)
  To: GNU Emacs users list

Hi list,

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?

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2014-02-14 21:31 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-12 14:44 How to put default-directory into kill-ring? Barry OReilly
2014-02-12 15:14 ` Stefan Monnier
2014-02-14 12:41   ` Marcin Borkowski
2014-02-14 13:24     ` Stefan Monnier
2014-02-14 13:40       ` Nicolas Richard
2014-02-14 16:32         ` Stefan Monnier
2014-02-14 18:41         ` Marcin Borkowski
2014-02-14 21:31           ` Nicolas Richard
2014-02-14 18:42       ` Marcin Borkowski
2014-02-14 12:59   ` Michael Heerdegen
2014-02-14 18:40     ` Marcin Borkowski
  -- strict thread matches above, loose matches on Subject: below --
2014-02-04 11:07 Marcin Borkowski
2014-02-04 11:46 ` Thorsten Jolitz
2014-02-05 17:03   ` Marcin Borkowski
2014-02-04 14:01 ` Drew Adams
2014-02-05 17:03   ` Marcin Borkowski
2014-02-04 17:34 ` Leo Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).