[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M-g in dired
From: |
Juri Linkov |
Subject: |
Re: M-g in dired |
Date: |
Mon, 22 May 2006 16:46:11 +0300 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
> C-x d already puts the file name of the current buffer into the default
> value of the minibuffer accessible by the single M-n.
>
> Strange, it didn't work that way when I tried it. It doesn't work for
> me now. Looking at the code, I see that dired-read-dir-and-switches,
> when it calls read-file-name, passes default-directory as the default
> file name.
>
> Can you investigate how does this work when you try it?
Oops, this default was inserted by ffap. When ffap-read-file-or-url
reads a directory/file name it uses the current buffer's file name as
default. dired could do the same.
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: M-g in dired, (continued)
- Re: M-g in dired, Kim F. Storm, 2006/05/19
- Re: M-g in dired, Juri Linkov, 2006/05/20
- Re: M-g in dired, Richard Stallman, 2006/05/20
- Message not available
- Re: M-g in dired, Juri Linkov, 2006/05/20
- Re: M-g in dired, Johan Bockgård, 2006/05/20
- Re: M-g in dired, Juri Linkov, 2006/05/20
- Re: M-g in dired, Romain Francoise, 2006/05/20
- Re: M-g in dired, Richard Stallman, 2006/05/20
- Re: M-g in dired, Juri Linkov, 2006/05/21
- Re: M-g in dired, Richard Stallman, 2006/05/21
- Re: M-g in dired,
Juri Linkov <=
- Re: M-g in dired, Richard Stallman, 2006/05/22
- Re: M-g in dired, Juri Linkov, 2006/05/23
Re: M-g in dired, David Hansen, 2006/05/19