emacs-devel
[Top][All Lists]
Advanced

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

Re: Bind "n" and "p" in occur-mode-map


From: Juri Linkov
Subject: Re: Bind "n" and "p" in occur-mode-map
Date: Fri, 02 Jul 2010 23:54:07 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu)

> JL> There was a plan to converge keybindings of occur and grep/compile.
> JL> So maybe grep/compile should bind "n" and "p" as well?
>
> The underlying functionality (next-error/previous-error) is the same so
> binding `n'/`p' makes sense to me as well.  But next-error also has the
> `C-x `' binding *globally* so maybe it makes sense to think about the
> corresponding global binding for previous-error as well.  At least in my
> experience it's more useful to jump back and forth between interesting
> points in the source buffer than in the adjunct compilation/grep/occur
> buffer.

We already have convenient global keybindings `M-g M-n' for `next-error'
and `M-g M-p' for `previous-error'.

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



reply via email to

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