From: Eli Zaretskii <eliz@gnu.org>
To: aaronjensen@gmail.com
Cc: 47860@debbugs.gnu.org, gregory@heytings.org
Subject: bug#47860: 28.0.50; Mini buffer resize when lines are truncated regression
Date: Mon, 19 Apr 2021 20:40:40 +0300 [thread overview]
Message-ID: <835z0irx47.fsf@gnu.org> (raw)
In-Reply-To: <838s5eryak.fsf@gnu.org> (message from Eli Zaretskii on Mon, 19 Apr 2021 20:15:15 +0300)
> Date: Mon, 19 Apr 2021 20:15:15 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 47860@debbugs.gnu.org, gregory@heytings.org
>
> So the root cause is in window-text-pixel-size when this crazy mix of
> overlays is used. Will take a look when I have time.
And here's a much simpler recipe:
(progn
(with-current-buffer (get-buffer-create "foo")
(insert "test: ")
(overlay-put (make-overlay (point-max) (point-max))
'after-string "
\naaa\nbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\ncccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc")
(setq-local truncate-lines t))
(switch-to-buffer "foo")
(window-text-pixel-size))
The result indicates that the buffer has only 4 screen lines, whereas
it actually has 5.
next prev parent reply other threads:[~2021-04-19 17:40 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-18 1:31 bug#47860: 28.0.50; Mini buffer resize when lines are truncated regression Aaron Jensen
2021-04-18 6:57 ` Eli Zaretskii
2021-04-18 17:45 ` Aaron Jensen
2021-04-18 18:03 ` Eli Zaretskii
2021-04-19 0:15 ` Aaron Jensen
2021-04-19 12:40 ` Gregory Heytings
2021-04-19 13:10 ` Eli Zaretskii
2021-04-19 14:02 ` Aaron Jensen
2021-04-19 14:24 ` Aaron Jensen
2021-04-19 14:43 ` Eli Zaretskii
2021-04-19 14:48 ` Eli Zaretskii
2021-04-19 15:13 ` Aaron Jensen
2021-04-19 16:19 ` Aaron Jensen
2021-04-19 17:15 ` Eli Zaretskii
2021-04-19 17:40 ` Eli Zaretskii [this message]
2021-04-22 11:07 ` Eli Zaretskii
2021-04-22 16:00 ` Aaron Jensen
2021-04-22 16:50 ` Eli Zaretskii
2021-04-19 14:48 ` Gregory Heytings
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=835z0irx47.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=47860@debbugs.gnu.org \
--cc=aaronjensen@gmail.com \
--cc=gregory@heytings.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.