[Top][All Lists]

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

Re: New commands for browsing diffs easily

From: Ted Zlatanov
Subject: Re: New commands for browsing diffs easily
Date: Tue, 11 Apr 2006 16:07:31 -0400
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

On 11 Apr 2006, address@hidden 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.


reply via email to

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