From: Eli Zaretskii <eliz@gnu.org>
To: tomlevy93@gmail.com
Cc: 38016@debbugs.gnu.org
Subject: bug#38016: 27.0.50; Display issues with delay-warning and side-by-side windows in terminal
Date: Fri, 01 Nov 2019 17:57:34 +0200 [thread overview]
Message-ID: <83mudflhch.fsf@gnu.org> (raw)
In-Reply-To: <83zhhfloyr.fsf@gnu.org> (message from Eli Zaretskii on Fri, 01 Nov 2019 15:13:00 +0200)
> Date: Fri, 01 Nov 2019 15:13:00 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 38016@debbugs.gnu.org
>
> > From: Tom Levy <tomlevy93@gmail.com>
> > Date: Sat, 2 Nov 2019 01:29:22 +1300
> > Cc: 38016@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?
next prev parent reply other threads:[~2019-11-01 15:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-01 5:11 bug#38016: 27.0.50; Display issues with delay-warning and side-by-side windows in terminal Tom Levy
2019-11-01 7:06 ` Eli Zaretskii
2019-11-01 7:39 ` Tom Levy
2019-11-01 7:46 ` Eli Zaretskii
2019-11-01 9:50 ` Eli Zaretskii
2019-11-01 12:29 ` Tom Levy
2019-11-01 13:13 ` Eli Zaretskii
2019-11-01 15:57 ` Eli Zaretskii [this message]
[not found] ` <mailman.162.1572592024.13325.bug-gnu-emacs@gnu.org>
2019-11-01 10:20 ` Alan Mackenzie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83mudflhch.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=38016@debbugs.gnu.org \
--cc=tomlevy93@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.