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

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

Re: Opening file with is in killring


From: Paul R
Subject: Re: Opening file with is in killring
Date: Fri, 31 Oct 2008 15:40:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Hello Drew,

Drew> Not sure what you're saying, but I think you're referring to
Drew> yanking an absolute file name, or a file name that starts with
Drew> `~', after the default directory name in the minibuffer. If so,
Drew> that is not new but has been an Emacs feature for decades. But it
Drew> only works if the file name you yank is absolute or starts with
Drew> `~'.

I haven't been using emacs for decades yet, so it was just in case.

Drew> If a relative file name (e.g. `foo.el') is in the kill ring, then
Drew> I know of nothing quicker than clearing the minibuffer and then
Drew> yanking.

But in such a case, it would try to expand the relative file name from
default-directory, which is precisely the one printed by default in the
prompt, isn't it ? In this case, why remove the default prompt ? Just
yanking after should yield to the same result with fewer keystrokes.

-- 
  Paul




reply via email to

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