GNU bug report logs -
#47860
28.0.50; Mini buffer resize when lines are truncated regression
Previous Next
Reported by: Aaron Jensen <aaronjensen <at> gmail.com>
Date: Sun, 18 Apr 2021 01:33:02 UTC
Severity: normal
Tags: fixed
Found in version 28.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Mon, 19 Apr 2021 20:40:40 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 47860 <at> debbugs.gnu.org, gregory <at> heytings.org
>
> (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.
I hope I fixed this now on the master branch, please test.
This bug report was last modified 4 years and 27 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.