all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: Bind "n" and "p" in occur-mode-map
Date: Wed, 30 Jun 2010 13:45:04 -0500	[thread overview]
Message-ID: <8739w49x73.fsf@lifelogs.com> (raw)
In-Reply-To: 87aaqin92n.fsf@mail.jurta.org

On Fri, 25 Jun 2010 23:36:32 +0300 Juri Linkov <juri@jurta.org> 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




  reply	other threads:[~2010-06-30 18:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-24 23:20 Bind "n" and "p" in occur-mode-map Deniz Dogan
2010-06-25 20:36 ` Juri Linkov
2010-06-30 18:45   ` Ted Zlatanov [this message]
2010-07-02 20:54     ` Juri Linkov

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=8739w49x73.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --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.