From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: M-g in dired
Date: Sun, 21 May 2006 07:28:54 +0300 [thread overview]
Message-ID: <87lksw58k1.fsf@jurta.org> (raw)
In-Reply-To: <E1FhcEo-0002fR-KI@fencepost.gnu.org> (Richard Stallman's message of "Sat, 20 May 2006 20:56:06 -0400")
> The quickest way to do this I know is to type C-x d RET, and to find
> the edited file in the (sometimes very long) list of all files
> in the same directory.
>
> I think we want to make it easier to get the full visited file name
> into the minibuffer after C-x d. For instance, putting it into the
> history after the default file name, so that you can get it by typing
> M-n M-n.
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. But when C-x d
accepts a file name, it has the different effect: it produces the dired
buffer with only one file whose name was given for C-x d (all other files
are filtered out by a wildcard).
For me this behavior is useless. I'd like to display the dired buffer
with all files and to move point to the file with the name specified
for C-x d.
> With the global key binding `M-g f' all this is achieved by `M-g f M-n RET'
>
> Now I understand what you want, but it is not the same as the existing
> command dired-goto-file. That only moves point within a dired buffer.
The only difference from the existing dired-goto-file is that when
used as a global key it would create the dired buffer before moving
point to the given file name.
> What you want is not absurd as a command, but I don't think it belongs
> in M-g.
One reason to put it on M-g prefix was mnemonics "Go to File" for `M-g f'.
But perhaps reusing `C-x C-j' from dired-x is a better key.
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2006-05-21 4:28 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <446C7B73.60907@earthlink.net>
2006-05-19 2:04 ` M-g in dired Richard Stallman
2006-05-19 3:04 ` Juri Linkov
2006-05-19 8:16 ` Kim F. Storm
2006-05-19 8:43 ` Miles Bader
2006-05-19 12:37 ` Kim F. Storm
2006-05-20 13:45 ` Juri Linkov
2006-05-20 5:03 ` Richard Stallman
[not found] ` <E1FhJd4-000822-Fe@fencepost.gnu.org>
2006-05-20 13:45 ` Juri Linkov
2006-05-20 15:46 ` Johan Bockgård
2006-05-20 20:03 ` Juri Linkov
2006-05-20 20:41 ` Romain Francoise
2006-05-21 0:56 ` Richard Stallman
2006-05-21 4:28 ` Juri Linkov [this message]
2006-05-22 2:38 ` Richard Stallman
2006-05-22 13:46 ` Juri Linkov
2006-05-22 20:37 ` Richard Stallman
2006-05-23 5:16 ` Juri Linkov
2006-05-19 18:53 ` David Hansen
2006-05-19 19:57 ` Reiner Steib
2006-05-19 20:07 ` Miles Bader
2005-10-15 11:27 Juri Linkov
2005-10-15 19:33 ` Kim F. Storm
2005-10-16 14:40 ` Richard M. Stallman
2005-10-16 14:40 ` Richard M. Stallman
2005-10-31 1:14 ` Richard Stallman
2005-10-31 7:47 ` Juri Linkov
2005-11-01 2:13 ` Richard M. Stallman
2005-11-01 9:16 ` Juri Linkov
2005-11-01 14:09 ` Andreas Schwab
2005-11-01 19:55 ` Juri Linkov
2005-11-02 10:28 ` Richard M. Stallman
2005-11-02 10:27 ` Richard M. Stallman
2005-11-03 7:48 ` Juri Linkov
2005-11-03 15:03 ` Stefan Monnier
2005-11-04 12:06 ` Juri Linkov
2005-11-05 1:37 ` Richard M. Stallman
2005-11-05 7:55 ` Juri Linkov
2005-11-05 23:43 ` Richard M. Stallman
2005-11-07 14:27 ` Juri Linkov
2005-11-07 16:03 ` Stefan Monnier
2005-11-08 12:43 ` Juri Linkov
2005-11-09 2:57 ` Richard M. Stallman
2005-11-07 21:56 ` Richard M. Stallman
2005-11-03 21:41 ` Richard M. Stallman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87lksw58k1.fsf@jurta.org \
--to=juri@jurta.org \
--cc=emacs-devel@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.