From: Tom Levy <tomlevy93@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 38016@debbugs.gnu.org
Subject: bug#38016: 27.0.50; Display issues with delay-warning and side-by-side windows in terminal
Date: Sat, 2 Nov 2019 01:29:22 +1300 [thread overview]
Message-ID: <CAMtU5-hwzZZYMtL3gA5p27ZZT1TLZMyNZnAYL-NCPODK3_DfRw@mail.gmail.com> (raw)
In-Reply-To: <83a79glycp.fsf@gnu.org>
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@gnu.org> 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?
next prev parent reply other threads:[~2019-11-01 12:29 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 [this message]
2019-11-01 13:13 ` Eli Zaretskii
2019-11-01 15:57 ` Eli Zaretskii
[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=CAMtU5-hwzZZYMtL3gA5p27ZZT1TLZMyNZnAYL-NCPODK3_DfRw@mail.gmail.com \
--to=tomlevy93@gmail.com \
--cc=38016@debbugs.gnu.org \
--cc=eliz@gnu.org \
/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.