unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: bind next-error and previous-error in Occur mode?   read-only?
Date: Fri, 26 Jan 2007 10:55:03 -0500	[thread overview]
Message-ID: <g69iretpyug.fsf@dhcp-65-162.kendall.corp.akamai.com> (raw)
In-Reply-To: BDEIJAFNGDOAGCJIPKPBAECMCCAA.drew.adams@oracle.com

On 25 Jan 2007, drew.adams@oracle.com wrote:

> I suppose this is a new-feature suggestion, but it might be considered a bug
> ;-).
>
> Now that `next-error' and `previous-error' work with `occur', why not bind
> them to easy-to-hit keys in Occur mode?

I don't maintain occur-mode, but I did add the next/previous-error
support.  I didn't set default keys because they are (IMO) more useful
from the *other* buffer, not the *occur* buffer itself, so you can
move among matches.  That requires global bindings, probably, and the
feature was too new at the time.  At least that's how I remember it.
Anyhow, yes, that's a good idea and should be a TODO item.

I have more plans for next/previous-error, but RMS asked me to wait
until after the release to discuss and perhaps implement them.

> Also, shouldn't buffer *Occur* be read-only? If it were, we could bind `n'
> and `p' to `next-error-noselect' and `previous-error-noselect', just as in
> buffer *grep*.

I think that's a good TODO item as well.

Ted

  parent reply	other threads:[~2007-01-26 15:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-25 20:59 bind next-error and previous-error in Occur mode? read-only? Drew Adams
2007-01-26  3:09 ` Richard Stallman
2007-01-26  5:36   ` Masatake YAMATO
2007-01-26  9:42     ` Eli Zaretskii
2007-01-26 10:27       ` Masatake YAMATO
2007-01-26 14:43         ` Eli Zaretskii
2007-01-26 15:55 ` Ted Zlatanov [this message]
2007-01-26 16:21   ` Drew Adams
2007-01-26 19:05     ` Ted Zlatanov
2007-01-26 19:15       ` Drew Adams
2007-02-01  2:53     ` Daniel Brockman

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=g69iretpyug.fsf@dhcp-65-162.kendall.corp.akamai.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).