[Top][All Lists]

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

Re: next-error use cases

From: Clément Pit-Claudel
Subject: Re: next-error use cases
Date: Sun, 8 Apr 2018 16:26:59 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 2018-04-08 15:56, Juri Linkov wrote:
>>> So the question is how one buffer can provide many next-error functions
>>> by such different major/minor modes (flymake, flyspell) enabled in it
>>> at the same time?
>> Define some kind of priority between them?  And if two or more
>> functions have the same priority, ask the user?
> We could try to define priorities by ‘add-function’.

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.

reply via email to

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