GNU bug report logs - #79244
[PATCH] flymake: stop trying to automatically fall back to margins

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Fri, 15 Aug 2025 14:15:01 UTC

Severity: normal

Tags: patch

Full log


Message #8 received at 79244 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Spencer Baugh <sbaugh <at> janestreet.com>
Cc: 79244 <at> debbugs.gnu.org
Subject: Re: bug#79244: [PATCH] flymake: stop trying to automatically fall
 back to margins
Date: Fri, 15 Aug 2025 18:01:49 +0300
> Date: Fri, 15 Aug 2025 10:13:49 -0400
> From:  Spencer Baugh via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> The code to automatically fallback to margins is not correct: it
> relies implicitly on the buffer being displayed in a window
> while flymake-mode is running.  If the buffer is created while
> not displayed, we will always automatically fallback to margins,
> which is incorrect.
> 
> Avoid the regression by simply disabling this code.  I'll try
> again to fall back automatically in the future.

Thanks.

> --- a/doc/misc/flymake.texi
> +++ b/doc/misc/flymake.texi
> @@ -317,9 +317,6 @@ Customizable variables
>  errors or warnings.
>  Depending on your preference, this can either use @code{fringes} or
>  @code{margins} for indicating errors.
> -If set to @code{fringes} (the default), it will automatically fall back
> -to using margins in windows or frames without fringes, such as text
> -terminals.

Text-mode terminals default to margins, so I think the above text
should mention that.

Otherwise, no comments.




This bug report was last modified 2 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.