unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Marcin Borkowski <mbork@wmi.amu.edu.pl>
To: help-gnu-emacs@gnu.org
Subject: Re: How to put default-directory into kill-ring?
Date: Fri, 14 Feb 2014 19:40:17 +0100	[thread overview]
Message-ID: <20140214194017.05fdf65c@aga-netbook> (raw)
In-Reply-To: <87y51dj1et.fsf@web.de>

Dnia 2014-02-14, o godz. 13:59:06
Michael Heerdegen <michael_heerdegen@web.de> napisał(a):

> Stefan Monnier <monnier@iro.umontreal.ca> 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.

Best,

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



  reply	other threads:[~2014-02-14 18:40 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
  -- 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140214194017.05fdf65c@aga-netbook \
    --to=mbork@wmi.amu.edu.pl \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).