Subject: Re: bug#77039: 31.0.50; Flickering on macOS

From: "Aaron Jensen" <[email-masked]>
Date: Sun, 23 Mar 2025 08:16:18 +0000

On Sun, Mar 23, 2025 at 12:59 AM, Eli Zaretskii < [email-masked] > wrote:

> 
> 
>> 
>> 
>> 
>> 
>> 
>> From: Aaron Jensen < aaronjensen@ gmail. com ( [email-masked] ) >
>> 
>> Date: Sat , 22 Mar 2025 17:38:01 -0400
>> 
>> Cc: Eli Zaretskii < eliz@ gnu. org ( [email-masked] ) >, alan@ idiocy. org (
>> [email-masked] ) , 77039@ debbugs. gnu. org ( [email-masked] )
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> It's global-display-line-numbers-mode.
>> 
>> 
>> 
>> 
>> Repro from emacs -Q:
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> (defun foo ()
>> 
>> (Interactive)
>> 
>> (global-display-line-numbers-mode)
>> 
>> (term "/usr/bin/yes")
>> 
>> (switch-to-buffer "*scratch*"))
>> 
>> 
>> 
>> 
>> 
>> 
>> 
> 
> 
> 
> If you set display-line-numbers-mode to 'visual globally, does the problem
> go away?
> 
> 
> 
> 

No, nor does disabling blink cursor mode or commenting out the lines you referenced.

I'm using this, please double check I'm not doing something wrong.

(defun foo ()

(interactive)

(blink-cursor-mode -1)

(global-display-line-numbers-mode)

(setq-default display-line-numbers-mode 'visual)

(term "/usr/bin/yes")

(switch-to-buffer "*scratch*"))