unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
Subject: Re: New commands for browsing diffs easily
Date: Tue, 11 Apr 2006 16:07:31 -0400	[thread overview]
Message-ID: <4nwtdvub98.fsf@asimov.bwh.harvard.edu> (raw)
In-Reply-To: 87slok54ds.fsf-monnier+emacs@gnu.org

On 11 Apr 2006, monnier@iro.umontreal.ca wrote:

>> I think next-error and previous-error (used in occur-mode, compilation
>> modes, grep, and others right now) would be perfect.  Look at the
>> definition of next-error in simple.el, you just need to bind
>> next-error-function.
>
> They're alredy used to jump from hukn to hunk in the source buffer.

Oops :)  Sorry I was not thinking!

I've given thought to this actually, despite being obtuse above...
Where next-error and previous-error deal with "go to the next/previous
item" it might make sense to have a "meta-next" and "meta-previous"
which go to the next/previous container of items.  In Lars' example,
it would be a set of diffs for example, as he specified.  In
compilation mode, perhaps it would go to the next bunch of errors
relevant to the current compilation but in a different file.  Kind of
like next-paragraph, if next-error is like next-line.

Ted

  reply	other threads:[~2006-04-11 20:07 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-11  8:16 New commands for browsing diffs easily Lars Magne Ingebrigtsen
2006-04-11  8:43 ` Nick Roberts
2006-04-11  8:47   ` Lars Magne Ingebrigtsen
2006-04-11  8:58     ` Miles Bader
2006-04-11  9:06       ` Lars Magne Ingebrigtsen
2006-04-11  9:17         ` David Kastrup
2006-04-11  9:21           ` Lars Magne Ingebrigtsen
2006-04-11 14:33       ` Stefan Monnier
2006-04-11 14:45         ` Romain Francoise
2006-04-11 14:51           ` Lars Magne Ingebrigtsen
2006-04-11 15:39             ` Stefan Monnier
2006-04-11 15:44               ` Lars Magne Ingebrigtsen
2006-04-11 15:43             ` Romain Francoise
2006-04-11 18:24 ` Ted Zlatanov
2006-04-11 18:56   ` Stefan Monnier
2006-04-11 20:07     ` Ted Zlatanov [this message]
2006-04-11 20:20       ` Stefan Monnier
2006-04-12 14:54         ` meta-{next, previous}-error (was: New commands for browsing diffs easily) Ted Zlatanov
2006-04-12 16:25           ` meta-{next, previous}-error Lars Magne Ingebrigtsen
2006-04-13 18:53             ` Ted Zlatanov
2006-04-13 19:27               ` Romain Francoise
2006-04-14 16:15                 ` Richard Stallman
2006-04-18 15:04                   ` Ted Zlatanov

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=4nwtdvub98.fsf@asimov.bwh.harvard.edu \
    --to=tzz@lifelogs.com \
    /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).