emacs-devel
[Top][All Lists]
Advanced

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

Re: next-error use cases


From: Juri Linkov
Subject: Re: next-error use cases
Date: Wed, 20 May 2020 01:12:38 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

> I have to say it's a solid improvement over the previous related change.
>
> And one peculiarity: if I'm not mistaken, the value of next-error-buffer
> itself is never used in the current code, there's only the check 
> (local-variable-p 'next-error-buffer) that references it, effectively
> turning it into a buffer-local boolean.
>
> But it could probably still be used in custom values of
> next-error-find-buffer-function.
>
> Too bad it didn't solve the flymake+next-error-function problem, but that
> seems more difficult.
>
> Some rough idea: pick some similar keybinding in flymake-supported buffers
> ('C-c C-c'? wouldn't it be too presumptuous to take over?)... and make it,

And bind it to next-error-select-buffer.

> I don't know, echo the error text? Or (!) show the diagnostics buffer, for
> which there's no default key binding still. And in the end, call
> next-error-found.

Indeed, using the diagnostics buffer is a good idea (even without showing it).



reply via email to

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