emacs-devel
[Top][All Lists]
Advanced

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

Re: next-error use cases


From: Stephen Leake
Subject: Re: next-error use cases
Date: Mon, 09 Apr 2018 23:19:39 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (windows-nt)

Dmitry Gutov <address@hidden> writes:

> On 4/8/18 11:26 PM, Clément Pit-Claudel wrote:
>
>> Or we could query all backends and go to the closest location. It
>> would match with what the user sees on the screen: if I have a
>> flyspell underline followed by a FlyCheck error, it would visit one
>> then the other.
>
> I'm afraid that won't match the user's intention: if I just run Grep,
> I probably want to jump between its results, and not between Flyspell
> markers.

+1. I often have several compilation-mode buffers active (one from a
compile, one from a cross-reference tool, one from grep), and I expect
next-error to use the one I last chose.

I chose one by visiting the buffer, and using <ret> to go to an error.

So just be sure the user has a way to indicate which buffer/location
list is "current".

-- 
-- Stephe



reply via email to

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