GNU bug report logs - #79056
tab-bar-tests-quit-restore-window sometimes fails in *compilation* buffer

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Sat, 19 Jul 2025 22:50:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 79056 <at> debbugs.gnu.org
Subject: bug#79056: tab-bar-tests-quit-restore-window sometimes fails in *compilation* buffer
Date: Sun, 20 Jul 2025 09:56:41 +0300
> This is a timing related bug. To try to reproduce it on Ubuntu 25.04
> x86-64, I start up Emacs, then build Emacs from master (commit
> 291cd2d3419c7be20200db3f0ee5936661ab79f2), then cd to the test
> subdirectory, then run:
>
> M-x compile RET make check LOGFILES=lisp/tab-bar-tests.log RET
>
> Sometimes it works, although it outputs a stray
> "^[[H^[[J^[[H^[[J^[[H^[[J^[[H^[[J" string (sans trailing newline) to
> stdout, where "^[" stands for ESC. This string is a minor bug in the test:
> it shouldn't output junk to stdout.
>
> Sometimes it fails, resulting in the following *compilation* buffer, where
> "^[" again represents an ESC character.
>
> The test always seems to work if I run it in a *shell* window, so
> apparently it has something with whether Emacs has a controlling tty, or
> something like that.

Maybe tuning frame parameters would help here:

  (let* ((frame-params (when noninteractive
                         '((window-system . nil)
                           (tty-type . "linux"))))

I tried different tty-type values such as "ansi", "dumb", "vt100", "xterm"
with different effects.




This bug report was last modified 20 days ago.

Previous Next


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