bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#32322: 27.0.50; Connect flymake to next-error-function when enabled


From: Lars Ingebrigtsen
Subject: bug#32322: 27.0.50; Connect flymake to next-error-function when enabled
Date: Wed, 18 May 2022 14:14:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Terje Larsen <terlar@gmail.com> writes:

> I know that some other packages utilize the 'next-error-function' to get
> support for 'next-error' and 'previous-error'. I wonder if it would make
> sense to set this up by default when the flymake mode is enabled. I have
> currently enabled it by:
>
>   (setq next-error-function 'flymake-goto-next-error)
>
> And it seems to work flawlessly.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I don't think it would be appropriate for flymake-mode to set that
itself, since that variable is mostly just meant for other
compilation-line major modes to set buffer-locally.  But I can see how
it might be convenient for users that mainly just use flymake and not
the regular `M-x compile', so I've now mentioned this in the
flymake-mode doc string in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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