GNU bug report logs -
#55097
29.0.50; flymake-show-buffer-diagnostics does not enable flymake-mode
Previous Next
Reported by: No Wayman <iarchivedmywholelife <at> gmail.com>
Date: Sun, 24 Apr 2022 18:48:02 UTC
Severity: normal
Found in version 29.0.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 55097 <at> debbugs.gnu.org (full text, mbox):
No Wayman <iarchivedmywholelife <at> 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
This bug report was last modified 3 years and 114 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.