GNU logs - #38016, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38016: 27.0.50; Display issues with delay-warning and side-by-side windows in terminal
Resent-From: Tom Levy <tomlevy93@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 01 Nov 2019 05:29:01 +0000
Resent-Message-ID: <handler.38016.B.15725861093484 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 38016
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 38016 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.15725861093484
          (code B ref -1); Fri, 01 Nov 2019 05:29:01 +0000
Received: (at submit) by debbugs.gnu.org; 1 Nov 2019 05:28:29 +0000
Received: from localhost ([127.0.0.1]:54927 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iQPU4-0000u8-Sx
	for submit <at> debbugs.gnu.org; Fri, 01 Nov 2019 01:28:29 -0400
Received: from lists.gnu.org ([209.51.188.17]:56155)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tom@HIDDEN>)
 id 1iQPU3-0000u0-7R
 for submit <at> debbugs.gnu.org; Fri, 01 Nov 2019 01:28:27 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:56600)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <tom@HIDDEN>)
 id 1iQPU1-0004iu-SJ
 for bug-gnu-emacs@HIDDEN; Fri, 01 Nov 2019 01:28:27 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: ***
X-Spam-Status: No, score=3.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 RDNS_DYNAMIC,SPOOFED_FREEMAIL autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <tom@HIDDEN>)
 id 1iQPU0-00039S-B4
 for bug-gnu-emacs@HIDDEN; Fri, 01 Nov 2019 01:28:25 -0400
Received: from clyde.resnet.cms.waikato.ac.nz ([130.217.221.53]:50168)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <tom@HIDDEN>)
 id 1iQPTz-00037o-Qs
 for bug-gnu-emacs@HIDDEN; Fri, 01 Nov 2019 01:28:24 -0400
Received: from tom by clyde.resnet.cms.waikato.ac.nz with local (Exim 4.92)
 (envelope-from <tom@HIDDEN>)
 id 1iQPDw-0003Sq-Bf; Fri, 01 Nov 2019 18:11:48 +1300
From: Tom Levy <tomlevy93@HIDDEN>
Date: Fri, 01 Nov 2019 18:11:45 +1300
Message-ID: <87bltw5gfi.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 130.217.221.53
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.0 (--)

Steps:
Maximize a terminal window to make Emacs use a side-by-side window split.
Run: emacs -Q -nw --eval '(delay-warning :debug "line 1\nline 2")'
The *scratch* and *Warnings* buffers should be displayed side by side.
Press M-< C-e RET DEL (in the *scratch* buffer).
Line 2 in the *Warnings* buffer disappears (!)

Variation: run Emacs as before, but press M-< C-e a RET
Line 2 in the *Warnings* buffer moves down (!)

Happens in master (27.0.50) and 24.5.1, with both gnome-terminal and
xterm.



In GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.5)
 of 2019-11-01 built on localhost
Repository revision: 9d209c90345df6c39310912ba04ca02473a24bed
Repository branch: master
System Description: Debian GNU/Linux 10 (buster)

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD PDUMPER
LCMS2 GMP

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg
epg-config gnus-util rmail rmail-loaddefs text-property-search time-date
subr-x seq mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils warnings term/xterm xterm
byte-opt gv bytecomp byte-compile cconv tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms
cp51932 hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese composite charscript charprop case-table epa-hook
jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads dbusbind inotify lcms2 dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty make-network-process emacs)

Memory information:
((conses 16 48787 4146)
 (symbols 48 6105 1)
 (strings 32 15685 1644)
 (string-bytes 1 503280)
 (vectors 16 7236)
 (vector-slots 8 77463 6914)
 (floats 8 23 379)
 (intervals 56 182 0)
 (buffers 1000 12))




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Tom Levy <tomlevy93@HIDDEN>
Subject: bug#38016: Acknowledgement (27.0.50; Display issues with
 delay-warning and side-by-side windows in terminal)
Message-ID: <handler.38016.B.15725861093484.ack <at> debbugs.gnu.org>
References: <87bltw5gfi.fsf@HIDDEN>
X-Gnu-PR-Message: ack 38016
X-Gnu-PR-Package: emacs
Reply-To: 38016 <at> debbugs.gnu.org
Date: Fri, 01 Nov 2019 05:29:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 38016 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
38016: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D38016
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38016: 27.0.50; Display issues with delay-warning and side-by-side windows in terminal
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 01 Nov 2019 07:07:01 +0000
Resent-Message-ID: <handler.38016.B38016.157259201113463 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38016
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Tom Levy <tomlevy93@HIDDEN>
Cc: 38016 <at> debbugs.gnu.org
Received: via spool by 38016-submit <at> debbugs.gnu.org id=B38016.157259201113463
          (code B ref 38016); Fri, 01 Nov 2019 07:07:01 +0000
Received: (at 38016) by debbugs.gnu.org; 1 Nov 2019 07:06:51 +0000
Received: from localhost ([127.0.0.1]:54956 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iQR1G-0003V5-Jp
	for submit <at> debbugs.gnu.org; Fri, 01 Nov 2019 03:06:50 -0400
Received: from eggs.gnu.org ([209.51.188.92]:58885)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1iQR1F-0003Uo-35
 for 38016 <at> debbugs.gnu.org; Fri, 01 Nov 2019 03:06:49 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:40750)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1iQR19-00038E-Kh; Fri, 01 Nov 2019 03:06:43 -0400
Received: from [176.228.60.248] (port=3341 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1iQR17-0008Jw-ON; Fri, 01 Nov 2019 03:06:43 -0400
Date: Fri, 01 Nov 2019 09:06:45 +0200
Message-Id: <83pnicm5x6.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <87bltw5gfi.fsf@HIDDEN> (message from Tom
 Levy on Fri, 01 Nov 2019 18:11:45 +1300)
References: <87bltw5gfi.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Tom Levy <tomlevy93@HIDDEN>
> Date: Fri, 01 Nov 2019 18:11:45 +1300
> 
> Maximize a terminal window to make Emacs use a side-by-side window split.
> Run: emacs -Q -nw --eval '(delay-warning :debug "line 1\nline 2")'
> The *scratch* and *Warnings* buffers should be displayed side by side.
> Press M-< C-e RET DEL (in the *scratch* buffer).
> Line 2 in the *Warnings* buffer disappears (!)
> 
> Variation: run Emacs as before, but press M-< C-e a RET
> Line 2 in the *Warnings* buffer moves down (!)
> 
> Happens in master (27.0.50) and 24.5.1, with both gnome-terminal and
> xterm.

I couldn't reproduce this, neither on GNU/Linux nor on MS-Windows.
Can anyone else reproduce this?

Does the "disappearing" and "moving" text really disappear and move?
What happens if you invoke "M-x redraw-display RET" after your recipe:
does the display return to be as expected?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38016: 27.0.50; Display issues with delay-warning and side-by-side windows in terminal
Resent-From: Tom Levy <tomlevy93@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 01 Nov 2019 07:41:01 +0000
Resent-Message-ID: <handler.38016.B38016.157259401416749 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38016
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 38016 <at> debbugs.gnu.org
Received: via spool by 38016-submit <at> debbugs.gnu.org id=B38016.157259401416749
          (code B ref 38016); Fri, 01 Nov 2019 07:41:01 +0000
Received: (at 38016) by debbugs.gnu.org; 1 Nov 2019 07:40:14 +0000
Received: from localhost ([127.0.0.1]:54970 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iQRXZ-0004M4-JO
	for submit <at> debbugs.gnu.org; Fri, 01 Nov 2019 03:40:13 -0400
Received: from mail-wr1-f49.google.com ([209.85.221.49]:37204)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tomlevy93@HIDDEN>) id 1iQRXX-0004Ll-Cz
 for 38016 <at> debbugs.gnu.org; Fri, 01 Nov 2019 03:40:11 -0400
Received: by mail-wr1-f49.google.com with SMTP id t1so2866003wrv.4
 for <38016 <at> debbugs.gnu.org>; Fri, 01 Nov 2019 00:40:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=GSRIOkIGLPL1cy1/YRZMME+zvfn2mN19dSSCH9IWvv0=;
 b=Zz4xEvbNS4FgM2GaRpBnqbm+g6OpNWQb6V21woo7lrRq235lJsgrCxocTG54puoOr9
 gFlfMr5mT037i8OYLwg/ZV5plWM/YEaWPW/tUAfebQa/vOyU8gL6V1IqVQvr6PQcfdhU
 gIAX3T7VPGzNafbNSnbTL3Zb85euOF1r9qbSzgiWTUkmTx0YoFr8Akcwx7Zf0T2IHX3z
 ZgXajaVAf+ySp7gPCh4bOVhJynppt6qjxJEmyHVufq5/b4Q+fCfdywx5Yw1WRHCqf9LA
 iUGd6vsS9nNqE/B5nZWLlzcsRxeaIUbeN8cPgGXThZe1TpJ7AfOgrfjUIf2fvWFC+Vzo
 K1sQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=GSRIOkIGLPL1cy1/YRZMME+zvfn2mN19dSSCH9IWvv0=;
 b=p5Yj177ru5Rjj+lutYK1JSAs/tKEeg8hm08R92OefhAbdFOwtmMLi54jZ5TIkIWEZ3
 4MVqatF8jXNgIsdSylJxKEil41L/KkWGSjb3pV2AqUXQ7EGcwB5ddIZJVdd6Jr5VyPLy
 qQVxpN0aHDTa7ZLTk3ztCv8byJs4tl17Hxx3NsayHN1TofO/I+vx31ZOR+HsvY2Ech/O
 O1iFgW1j6bmbop/zyy49l3ZmyduXtx/TT2MfqB4LiML4Z29b2BjA8j21HIVBndBfsZre
 6RehZ1MYnaUe7wkY7gKOkgYrymRGwG/01DTz83VpaT2CHzZChst9Qs9KnmdrO7cCHnNF
 Gm3Q==
X-Gm-Message-State: APjAAAWXpaDBgHXDEZpLBju+EuWwu783a5WxMiPRWoPlXJwd2+2w3r3L
 QQs5bqEUTSdrNhxKJsL0Azdr179U9FmhGNGYfrQ=
X-Google-Smtp-Source: APXvYqyy8pdeRSskk0uUL1ULDh5pzI/8HuSz03aV97nszl4IDAJk3ucP4TiJmXRsvy32qQvyU/pXQLHztqdQW5aTKCA=
X-Received: by 2002:adf:db42:: with SMTP id f2mr1981545wrj.287.1572594005150; 
 Fri, 01 Nov 2019 00:40:05 -0700 (PDT)
MIME-Version: 1.0
References: <87bltw5gfi.fsf@HIDDEN>
 <83pnicm5x6.fsf@HIDDEN>
In-Reply-To: <83pnicm5x6.fsf@HIDDEN>
From: Tom Levy <tomlevy93@HIDDEN>
Date: Fri, 1 Nov 2019 20:39:38 +1300
Message-ID: <CAMtU5-j=9i8GZT9btGMu4-zBs_2QCrJrx=efXHv1HerwT0XNuw@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Thanks for taking a look. The lines don't really change, "M-x
redraw-display RET" returns the display to the expected state.*

It happens for me on Debian 9.11 and 10 (in a clean VM), should I try
another OS?


* Just pressing "M-x" changes the display. With the first variation
(i.e. ... C-e RET DEL M-x) it returns the display to the expected state.
With the second variation (i.e. ... C-e a RET M-x) it correctly displays
"line 2" on the second line, but doesn't clear the third line; when I
continue with "redraw-display RET" the third line is cleared, returning
the display to the expected state.

On Fri, 1 Nov 2019 at 20:06, Eli Zaretskii <eliz@HIDDEN> wrote:
>
> > From: Tom Levy <tomlevy93@HIDDEN>
> > Date: Fri, 01 Nov 2019 18:11:45 +1300
> >
> > Maximize a terminal window to make Emacs use a side-by-side window split.
> > Run: emacs -Q -nw --eval '(delay-warning :debug "line 1\nline 2")'
> > The *scratch* and *Warnings* buffers should be displayed side by side.
> > Press M-< C-e RET DEL (in the *scratch* buffer).
> > Line 2 in the *Warnings* buffer disappears (!)
> >
> > Variation: run Emacs as before, but press M-< C-e a RET
> > Line 2 in the *Warnings* buffer moves down (!)
> >
> > Happens in master (27.0.50) and 24.5.1, with both gnome-terminal and
> > xterm.
>
> I couldn't reproduce this, neither on GNU/Linux nor on MS-Windows.
> Can anyone else reproduce this?
>
> Does the "disappearing" and "moving" text really disappear and move?
> What happens if you invoke "M-x redraw-display RET" after your recipe:
> does the display return to be as expected?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38016: 27.0.50; Display issues with delay-warning and side-by-side windows in terminal
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 01 Nov 2019 07:48:02 +0000
Resent-Message-ID: <handler.38016.B38016.157259442517457 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38016
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Tom Levy <tomlevy93@HIDDEN>
Cc: 38016 <at> debbugs.gnu.org
Received: via spool by 38016-submit <at> debbugs.gnu.org id=B38016.157259442517457
          (code B ref 38016); Fri, 01 Nov 2019 07:48:02 +0000
Received: (at 38016) by debbugs.gnu.org; 1 Nov 2019 07:47:05 +0000
Received: from localhost ([127.0.0.1]:54979 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iQReC-0004XV-ST
	for submit <at> debbugs.gnu.org; Fri, 01 Nov 2019 03:47:05 -0400
Received: from eggs.gnu.org ([209.51.188.92]:36708)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1iQReA-0004X1-Qz
 for 38016 <at> debbugs.gnu.org; Fri, 01 Nov 2019 03:47:03 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:41099)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1iQRe5-0001kO-Ey; Fri, 01 Nov 2019 03:46:57 -0400
Received: from [176.228.60.248] (port=1926 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1iQRe4-0007RJ-Oi; Fri, 01 Nov 2019 03:46:57 -0400
Date: Fri, 01 Nov 2019 09:46:59 +0200
Message-Id: <83mudgm424.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <CAMtU5-j=9i8GZT9btGMu4-zBs_2QCrJrx=efXHv1HerwT0XNuw@HIDDEN>
 (message from Tom Levy on Fri, 1 Nov 2019 20:39:38 +1300)
References: <87bltw5gfi.fsf@HIDDEN>
 <83pnicm5x6.fsf@HIDDEN>
 <CAMtU5-j=9i8GZT9btGMu4-zBs_2QCrJrx=efXHv1HerwT0XNuw@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Tom Levy <tomlevy93@HIDDEN>
> Date: Fri, 1 Nov 2019 20:39:38 +1300
> Cc: 38016 <at> debbugs.gnu.org
> 
> Thanks for taking a look. The lines don't really change, "M-x
> redraw-display RET" returns the display to the expected state.*
> 
> It happens for me on Debian 9.11 and 10 (in a clean VM), should I try
> another OS?
> 
> 
> * Just pressing "M-x" changes the display. With the first variation
> (i.e. ... C-e RET DEL M-x) it returns the display to the expected state.
> With the second variation (i.e. ... C-e a RET M-x) it correctly displays
> "line 2" on the second line, but doesn't clear the third line; when I
> continue with "redraw-display RET" the third line is cleared, returning
> the display to the expected state.

Let's see if someone else can reproduce this.  It could be related to
the terminal emulator, not to the OS.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38016: 27.0.50; Display issues with delay-warning and side-by-side windows in terminal
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 01 Nov 2019 09:51:02 +0000
Resent-Message-ID: <handler.38016.B38016.15726018224992 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38016
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: tomlevy93@HIDDEN
Cc: 38016 <at> debbugs.gnu.org
Received: via spool by 38016-submit <at> debbugs.gnu.org id=B38016.15726018224992
          (code B ref 38016); Fri, 01 Nov 2019 09:51:02 +0000
Received: (at 38016) by debbugs.gnu.org; 1 Nov 2019 09:50:22 +0000
Received: from localhost ([127.0.0.1]:55054 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iQTZW-0001IS-Jj
	for submit <at> debbugs.gnu.org; Fri, 01 Nov 2019 05:50:22 -0400
Received: from eggs.gnu.org ([209.51.188.92]:57826)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1iQTZU-0001IE-Gh
 for 38016 <at> debbugs.gnu.org; Fri, 01 Nov 2019 05:50:21 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:45666)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1iQTZP-0003Co-AC; Fri, 01 Nov 2019 05:50:15 -0400
Received: from [176.228.60.248] (port=1508 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1iQTZO-0004OK-AA; Fri, 01 Nov 2019 05:50:14 -0400
Date: Fri, 01 Nov 2019 11:50:14 +0200
Message-Id: <83a79glycp.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <83mudgm424.fsf@HIDDEN> (message from Eli Zaretskii on Fri, 01
 Nov 2019 09:46:59 +0200)
References: <87bltw5gfi.fsf@HIDDEN>
 <83pnicm5x6.fsf@HIDDEN>
 <CAMtU5-j=9i8GZT9btGMu4-zBs_2QCrJrx=efXHv1HerwT0XNuw@HIDDEN>
 <83mudgm424.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Btw, if you do NOT make the terminal full-screen, and instead modify
the Emacs invocation command like this:

  emacs -Q -nw --eval '(progn (setq split-height-threshold 80) (setq split-width-threshold 20) (display-warning :debug "lin 1\nline 2"))'

do you still see the problem?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38016: 27.0.50; Display issues with delay-warning and side-by-side windows in terminal
In-Reply-To: <87bltw5gfi.fsf@HIDDEN>
Resent-From: Alan Mackenzie <acm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 01 Nov 2019 10:21:02 +0000
Resent-Message-ID: <handler.38016.B.15726036228074 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38016
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: gnu-emacs-bug@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.15726036228074
          (code B ref -1); Fri, 01 Nov 2019 10:21:02 +0000
Received: (at submit) by debbugs.gnu.org; 1 Nov 2019 10:20:22 +0000
Received: from localhost ([127.0.0.1]:55069 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iQU2X-00026A-Jp
	for submit <at> debbugs.gnu.org; Fri, 01 Nov 2019 06:20:21 -0400
Received: from lists.gnu.org ([209.51.188.17]:45997)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <news@HIDDEN>) id 1iQU2W-000261-3l
 for submit <at> debbugs.gnu.org; Fri, 01 Nov 2019 06:20:20 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:43577)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <news@HIDDEN>) id 1iQU2U-0002FB-SG
 for bug-gnu-emacs@HIDDEN; Fri, 01 Nov 2019 06:20:19 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <news@HIDDEN>) id 1iQU2T-0006bZ-FW
 for bug-gnu-emacs@HIDDEN; Fri, 01 Nov 2019 06:20:18 -0400
Received: from mod-relay-1.kamens.us ([198.58.96.67]:60840)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <news@HIDDEN>)
 id 1iQU2T-0006ZE-B7
 for bug-gnu-emacs@HIDDEN; Fri, 01 Nov 2019 06:20:17 -0400
Received: by mod-relay-1.kamens.us (Postfix)
 id DE4155DC50; Fri,  1 Nov 2019 10:20:14 +0000 (UTC)
Delivered-To: gnu-emacs-bug@HIDDEN
Received: from mail.muc.de (colin.muc.de [193.149.48.1])
 by mod-relay-1.kamens.us (Postfix) with SMTP id 6C8CD5DC4A
 for <gnu-emacs-bug@HIDDEN>; Fri,  1 Nov 2019 10:20:14 +0000 (UTC)
Received: (qmail 94349 invoked by uid 8); 1 Nov 2019 10:20:12 -0000
Path: not-for-mail
From: Alan Mackenzie <acm@HIDDEN>
Newsgroups: gnu.emacs.bug
Date: Fri, 1 Nov 2019 10:20:12 -0000 (UTC)
Organization: muc.de e.V.
Message-ID: <qph0ss$2hnr$1@HIDDEN>
References: <87bltw5gfi.fsf@HIDDEN>
 <83pnicm5x6.fsf@HIDDEN> <mailman.162.1572592024.13325.bug-gnu-emacs@HIDDEN>
User-Agent: tin/2.4.2-20171224 ("Lochhead") (UNIX) (FreeBSD/11.3-RELEASE-p3
 (amd64))
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 198.58.96.67
X-Spam-Score: -1.6 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

Eli Zaretskii <eliz@HIDDEN> wrote:
>> From: Tom Levy <tomlevy93@HIDDEN>
>> Date: Fri, 01 Nov 2019 18:11:45 +1300

>> Maximize a terminal window to make Emacs use a side-by-side window split.
>> Run: emacs -Q -nw --eval '(delay-warning :debug "line 1\nline 2")'
>> The *scratch* and *Warnings* buffers should be displayed side by side.
>> Press M-< C-e RET DEL (in the *scratch* buffer).
>> Line 2 in the *Warnings* buffer disappears (!)

>> Variation: run Emacs as before, but press M-< C-e a RET
>> Line 2 in the *Warnings* buffer moves down (!)

>> Happens in master (27.0.50) and 24.5.1, with both gnome-terminal and
>> xterm.

> I couldn't reproduce this, neither on GNU/Linux nor on MS-Windows.
> Can anyone else reproduce this?

I see this on a Linux tty (started without the -nw argument).

> Does the "disappearing" and "moving" text really disappear and move?
> What happens if you invoke "M-x redraw-display RET" after your recipe:
> does the display return to be as expected?

Well, from the *scratch* buffer I did C-x o to move to the *warnings*
buffer, and Line 2 reappeared.

On M-x redraw-display (immediately after the DEL), Line 2 reappears
instantly after M-x.  Completing the redraw-display doesn't further
change what is displayed.

I'm running on Emacs master, though it's been a few days since I updated
it.

-- 
Alan Mackenzie (Nuremberg, Germany).





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38016: 27.0.50; Display issues with delay-warning and side-by-side windows in terminal
Resent-From: Tom Levy <tomlevy93@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 01 Nov 2019 12:30:02 +0000
Resent-Message-ID: <handler.38016.B38016.15726113964840 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38016
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 38016 <at> debbugs.gnu.org
Received: via spool by 38016-submit <at> debbugs.gnu.org id=B38016.15726113964840
          (code B ref 38016); Fri, 01 Nov 2019 12:30:02 +0000
Received: (at 38016) by debbugs.gnu.org; 1 Nov 2019 12:29:56 +0000
Received: from localhost ([127.0.0.1]:55131 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iQW3w-0001Fz-63
	for submit <at> debbugs.gnu.org; Fri, 01 Nov 2019 08:29:56 -0400
Received: from mail-wr1-f52.google.com ([209.85.221.52]:41874)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tomlevy93@HIDDEN>) id 1iQW3u-0001Fk-CN
 for 38016 <at> debbugs.gnu.org; Fri, 01 Nov 2019 08:29:54 -0400
Received: by mail-wr1-f52.google.com with SMTP id p4so9498030wrm.8
 for <38016 <at> debbugs.gnu.org>; Fri, 01 Nov 2019 05:29:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=3APr8Oq9qQCT+9uPWdffvZG9hFwVRWdRsfXgfeJqCOU=;
 b=U7J1mj2TVYy3XBnOs419nFJaVKun2pCWuAeD/riNHEPqaKsqBbmcf0TNdkrXpHYFnZ
 33XFANgM89/Y8GPqrUExoy0adhQv3ezzWaHIIEQb2hFA2Jl1+QU386yROpT4Ef3KVGA4
 2cRWjViM1+/1WqYphzbcjZvNBzUyrM+9LvaYireHyK/UzCffcxRF1U15X8ltL1Pt6/hE
 ZEAK7+EjaRWRsh1nt1hcrkov46ClGLiIS7NwXebrFYidYIObQbWKqSBBXQn2NuvwxjVS
 p6gdp9scjro7VesAVr19pisLIz6VjoFuV6Npjg5W97fSkspikpvfnAG3NWiYaN/+6zUx
 cmgQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=3APr8Oq9qQCT+9uPWdffvZG9hFwVRWdRsfXgfeJqCOU=;
 b=AVEUXsCDwTyAGoaxnUymLBSNliVKovav1PWNqm9ZgbKjVIFHIWvgvYvGjo83rcOwGk
 zcu6kQOfSAMGPVNvlrtYAgZNhKK2S1Ght2ugxsTsulL9S7jLLwpoiQ+MrLejq9Sh8seO
 ZZFms4+UuNOyJPPbwwwnDVAYriOztZiTjsGx11KzaymGRAZVRPqxrLQfDEdPXepExe+0
 j8bxcBAGvOGpUlvAvie4/hQN9sITmkF8Fds7iclQK3sBZCT1M3++dDKmgzoFVk3pQU2q
 R//6PdeK4ZzOcbSleC5sAdfUcPBnVK7peXVkRee5kSBcOhABtS28k0yYgpmA9Es+f+To
 Z2lQ==
X-Gm-Message-State: APjAAAU4hwkOSnWyQ7fvKnrOQuEZBSuM2zdJXRtB0NxWygxkiNm0ibGZ
 f88+2lcZetQ6GIuuqEZS5zqPt4e0gEhexwzxtxM=
X-Google-Smtp-Source: APXvYqy2m5//GCa0IeZfMO+AmTUGS9P/lYNYFKoJ4SwGFfsI+dEeJ1fMDkDYuaxtGPPkesEByXII7SOBx36rV6gDTC8=
X-Received: by 2002:adf:ea88:: with SMTP id s8mr10643610wrm.120.1572611388400; 
 Fri, 01 Nov 2019 05:29:48 -0700 (PDT)
MIME-Version: 1.0
References: <87bltw5gfi.fsf@HIDDEN>
 <83pnicm5x6.fsf@HIDDEN>
 <CAMtU5-j=9i8GZT9btGMu4-zBs_2QCrJrx=efXHv1HerwT0XNuw@HIDDEN>
 <83mudgm424.fsf@HIDDEN> <83a79glycp.fsf@HIDDEN>
In-Reply-To: <83a79glycp.fsf@HIDDEN>
From: Tom Levy <tomlevy93@HIDDEN>
Date: Sat, 2 Nov 2019 01:29:22 +1300
Message-ID: <CAMtU5-hwzZZYMtL3gA5p27ZZT1TLZMyNZnAYL-NCPODK3_DfRw@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Note: the problem occurs with DELAY-warning, not display-warning.

The results of

  emacs -Q -nw --eval '(progn (setq split-height-threshold 80) (setq
split-width-threshold 20) (delay-warning :debug "line 1\nline 2"))'

depend on the terminal size. There is a definite pattern where the
glitch occurs in the larger sizes, but the precise rule is not obvious.

With the default size (LINES=24, COLUMNS=80) the glitch does not occur.
But truncate-partial-width-windows is in effect. Also, from experiments
it makes a difference if the lines in the *scratch* buffer are wrapped.

To reduce complexity from line wrapping, I used the following command:

  emacs -Q -nw --eval '(progn
    (setq truncate-partial-width-windows nil)
    (setq initial-scratch-message ";; short\n;; message\n\n")
    (setq split-height-threshold 80)
    (setq split-width-threshold 20)
    (delay-warning :debug "line 1\nline 2"))'

Results:

    $LINES  first value of $COLUMNS with glitch
    18      155
    19      149
    24      129
    37      99
    48      89

So for example when LINES=24, the glitch occurs if COLUMNS >= 129 and
does not occur if COLUMNS <= 128. (I haven't actually tried all the
values, but the rule works for all those that I did try.)

On Fri, 1 Nov 2019 at 22:50, Eli Zaretskii <eliz@HIDDEN> wrote:
>
> Btw, if you do NOT make the terminal full-screen, and instead modify
> the Emacs invocation command like this:
>
>   emacs -Q -nw --eval '(progn (setq split-height-threshold 80) (setq split-width-threshold 20) (display-warning :debug "lin 1\nline 2"))'
>
> do you still see the problem?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38016: 27.0.50; Display issues with delay-warning and side-by-side windows in terminal
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 01 Nov 2019 13:14:03 +0000
Resent-Message-ID: <handler.38016.B38016.157261398917127 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38016
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Tom Levy <tomlevy93@HIDDEN>
Cc: 38016 <at> debbugs.gnu.org
Received: via spool by 38016-submit <at> debbugs.gnu.org id=B38016.157261398917127
          (code B ref 38016); Fri, 01 Nov 2019 13:14:03 +0000
Received: (at 38016) by debbugs.gnu.org; 1 Nov 2019 13:13:09 +0000
Received: from localhost ([127.0.0.1]:55170 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iQWjk-0004SA-NI
	for submit <at> debbugs.gnu.org; Fri, 01 Nov 2019 09:13:09 -0400
Received: from eggs.gnu.org ([209.51.188.92]:40131)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1iQWjf-0004RZ-JK
 for 38016 <at> debbugs.gnu.org; Fri, 01 Nov 2019 09:13:04 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:57904)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1iQWja-0005YA-D5; Fri, 01 Nov 2019 09:12:58 -0400
Received: from [176.228.60.248] (port=1969 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1iQWjZ-0005if-Lk; Fri, 01 Nov 2019 09:12:58 -0400
Date: Fri, 01 Nov 2019 15:13:00 +0200
Message-Id: <83zhhfloyr.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <CAMtU5-hwzZZYMtL3gA5p27ZZT1TLZMyNZnAYL-NCPODK3_DfRw@HIDDEN>
 (message from Tom Levy on Sat, 2 Nov 2019 01:29:22 +1300)
References: <87bltw5gfi.fsf@HIDDEN>
 <83pnicm5x6.fsf@HIDDEN>
 <CAMtU5-j=9i8GZT9btGMu4-zBs_2QCrJrx=efXHv1HerwT0XNuw@HIDDEN>
 <83mudgm424.fsf@HIDDEN> <83a79glycp.fsf@HIDDEN>
 <CAMtU5-hwzZZYMtL3gA5p27ZZT1TLZMyNZnAYL-NCPODK3_DfRw@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Tom Levy <tomlevy93@HIDDEN>
> Date: Sat, 2 Nov 2019 01:29:22 +1300
> Cc: 38016 <at> debbugs.gnu.org
> 
>   emacs -Q -nw --eval '(progn
>     (setq truncate-partial-width-windows nil)
>     (setq initial-scratch-message ";; short\n;; message\n\n")
>     (setq split-height-threshold 80)
>     (setq split-width-threshold 20)
>     (delay-warning :debug "line 1\nline 2"))'
> 
> Results:
> 
>     $LINES  first value of $COLUMNS with glitch
>     18      155
>     19      149
>     24      129
>     37      99
>     48      89

Thanks, now I see this and will look into it when I have time.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#38016: 27.0.50; Display issues with delay-warning and side-by-side windows in terminal
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 01 Nov 2019 15:58:01 +0000
Resent-Message-ID: <handler.38016.B38016.15726238602138 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 38016
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: tomlevy93@HIDDEN
Cc: 38016 <at> debbugs.gnu.org
Received: via spool by 38016-submit <at> debbugs.gnu.org id=B38016.15726238602138
          (code B ref 38016); Fri, 01 Nov 2019 15:58:01 +0000
Received: (at 38016) by debbugs.gnu.org; 1 Nov 2019 15:57:40 +0000
Received: from localhost ([127.0.0.1]:56859 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iQZIy-0000YP-22
	for submit <at> debbugs.gnu.org; Fri, 01 Nov 2019 11:57:40 -0400
Received: from eggs.gnu.org ([209.51.188.92]:47265)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1iQZIw-0000YB-38
 for 38016 <at> debbugs.gnu.org; Fri, 01 Nov 2019 11:57:38 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:60823)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1iQZIq-0006ha-Oo; Fri, 01 Nov 2019 11:57:32 -0400
Received: from [176.228.60.248] (port=4153 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1iQZIo-00056M-JX; Fri, 01 Nov 2019 11:57:31 -0400
Date: Fri, 01 Nov 2019 17:57:34 +0200
Message-Id: <83mudflhch.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <83zhhfloyr.fsf@HIDDEN> (message from Eli Zaretskii on Fri, 01
 Nov 2019 15:13:00 +0200)
References: <87bltw5gfi.fsf@HIDDEN>
 <83pnicm5x6.fsf@HIDDEN>
 <CAMtU5-j=9i8GZT9btGMu4-zBs_2QCrJrx=efXHv1HerwT0XNuw@HIDDEN>
 <83mudgm424.fsf@HIDDEN> <83a79glycp.fsf@HIDDEN>
 <CAMtU5-hwzZZYMtL3gA5p27ZZT1TLZMyNZnAYL-NCPODK3_DfRw@HIDDEN>
 <83zhhfloyr.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Fri, 01 Nov 2019 15:13:00 +0200
> From: Eli Zaretskii <eliz@HIDDEN>
> Cc: 38016 <at> debbugs.gnu.org
> 
> > From: Tom Levy <tomlevy93@HIDDEN>
> > Date: Sat, 2 Nov 2019 01:29:22 +1300
> > Cc: 38016 <at> debbugs.gnu.org
> > 
> >   emacs -Q -nw --eval '(progn
> >     (setq truncate-partial-width-windows nil)
> >     (setq initial-scratch-message ";; short\n;; message\n\n")
> >     (setq split-height-threshold 80)
> >     (setq split-width-threshold 20)
> >     (delay-warning :debug "line 1\nline 2"))'
> > 
> > Results:
> > 
> >     $LINES  first value of $COLUMNS with glitch
> >     18      155
> >     19      149
> >     24      129
> >     37      99
> >     48      89
> 
> Thanks, now I see this and will look into it when I have time.

Looks like some weird problem with cursor motion commands Emacs emits
on a TTY.  As screen dimension change, Emacs tries to optimize the
commands it sends, and changes the commands it emits to put the cursor
at given display coordinates, see cm.c:cmgoto.  Probably related to
bug#24124 (which remains unresolved).

The way to record the commands Emacs sends to the terminal is to
invoke open-termscript.  The commands will be in the file this
function gets as its 2nd argument.

We need a terminfo expert to find out what's wrong here.  Anyone?





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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