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

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

bug#55097: 29.0.50; flymake-show-buffer-diagnostics does not enable flym


From: Lars Ingebrigtsen
Subject: bug#55097: 29.0.50; flymake-show-buffer-diagnostics does not enable flymake-mode
Date: Mon, 25 Apr 2022 10:07:27 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

No Wayman <iarchivedmywholelife@gmail.com> writes:

> flymake-show-buffer-diagnostics will display an empty diagnostics
> buffer if flymake-mode is not enabled in that buffer. This is
> confusing, as it makes it appear as if there are no issues, when that
> may not be the case.
> The command should either signal a user-error or (IMO better) enable
> flymake mode in the buffer if it is not already enabled.

Commands tied to certain modes aren't supposed to be used outside of
those modes, and will usually give nonsensical results if you do that.
So this is one of those "well, don't do that, then" situations.

But on the other hand, I can see that this is a command that people
might be calling spuriously, so I've made it error out in these
situations.

-- 
(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]