[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bind "n" and "p" in occur-mode-map
From: |
Ted Zlatanov |
Subject: |
Re: Bind "n" and "p" in occur-mode-map |
Date: |
Wed, 30 Jun 2010 13:45:04 -0500 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
On Fri, 25 Jun 2010 23:36:32 +0300 Juri Linkov <address@hidden> wrote:
>> I was thrown off when I realized that occur-mode-map doesn't do
>> anything useful with "n" and "p" so I figured they could be bound to
>> occur-next and occur-prev respectively. Currently M-n and M-p are
>> bound to these functions. Attached is a patch.
>>
>> Any comments?
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.
Ted