emacs-devel
[Top][All Lists]
Advanced

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

Multiple next-error sources


From: Jorgen Schaefer
Subject: Multiple next-error sources
Date: Thu, 6 Nov 2014 18:08:15 +0100

On Thu, 06 Nov 2014 18:00:24 +0100
Helmut Eller <address@hidden> wrote:

> On Thu, Nov 06 2014, Stefan Monnier wrote:
> 
> >> And if find-tag will provide the "multiple occurences" interface on
> >> its own, there won't be a need for the "next tag" command.
> >
> > Good point.  If we don't have a such a global-map "next-tag" command
> > anymore, then I guess it's OK to change M-, to do the job of M-*.
> 
> An idea would be to merge the next-error and next-tag commands. After
> all, they are quite similar.

I'm not sure if they are sufficiently similar, but there are other use
cases for something like this. For example, I recently wanted to extend
`next-error' to find flymake highlights.

An idea I had was to replace/extend `next-error-function' with a hook
where the first non-nil return value is used as the location of the
next error.

Regards,
Jorgen



reply via email to

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