emacs-devel
[Top][All Lists]
Advanced

[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: Fri, 19 May 2006 06:04:19 +0300
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

>     In most contexts M-g is a prefix key, but in dired it is bound to
>     dired-goto-file.  I often run the command compile while visiting a
>     dired buffer, but cannot jump to errors with M-g M-n as usual.
>
> This binding is a leftover from a time when M-g had a different global
> meaning.  We should get rid of this binding, and move the command to
> another key.
>
> What would be a good binding for it?
> M-g f and M-g M-f, perhaps?

Currently dired.el defines:

  (define-key dired-mode-map "\M-g" 'dired-goto-file)

and dired-x.el defines:

  (define-key dired-mode-map "\M-g" 'dired-goto-file)
  (define-key dired-mode-map "\M-G" 'dired-goto-subdir)

I recall I proposed two variants for dired-goto-file:
`M-g f' (and `M-g M-f') and `M-g g' (and `M-g M-g').
And you agreed to `M-g f' (and `M-g M-f').  But it's
not clear what to do with \M-G bound to dired-goto-subdir?

I also proposed to make the key binding `M-g f' global,
but this could be implemented ATR (after the release).

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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