all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#55097: 29.0.50; flymake-show-buffer-diagnostics does not enable flymake-mode
@ 2022-04-24 18:45 No Wayman
  2022-04-25  8:07 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: No Wayman @ 2022-04-24 18:45 UTC (permalink / raw)
  To: 55097


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.

In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 
3.24.33, cairo version 1.17.6)
 of 2022-04-20 built on arch
Repository revision: f98c3f4426fecf794f47f27aebe1f3b854fb1bfd
Repository branch: master
System Description: Arch Linux





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#55097: 29.0.50; flymake-show-buffer-diagnostics does not enable flymake-mode
  2022-04-24 18:45 bug#55097: 29.0.50; flymake-show-buffer-diagnostics does not enable flymake-mode No Wayman
@ 2022-04-25  8:07 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2022-04-25  8:07 UTC (permalink / raw)
  To: No Wayman; +Cc: 55097

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-25  8:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-24 18:45 bug#55097: 29.0.50; flymake-show-buffer-diagnostics does not enable flymake-mode No Wayman
2022-04-25  8:07 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.