GNU bug report logs - #79317
31.0.50; Garbled text in corner case

Previous Next

Package: emacs;

Reported by: OGAWA Hirofumi <hirofumi <at> mail.parknet.co.jp>

Date: Tue, 26 Aug 2025 08:05:02 UTC

Severity: normal

Merged with 79311, 79314

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Full log


Message #14 received at 79317 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: OGAWA Hirofumi <hirofumi <at> mail.parknet.co.jp>
Cc: 79317 <at> debbugs.gnu.org
Subject: Re: bug#79317: 31.0.50; Garbled text in corner case
Date: Tue, 26 Aug 2025 18:50:41 +0300
> From: OGAWA Hirofumi <hirofumi <at> mail.parknet.co.jp>
> Cc: 79317 <at> debbugs.gnu.org
> Date: Tue, 26 Aug 2025 23:46:57 +0900
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> From: OGAWA Hirofumi <hirofumi <at> mail.parknet.co.jp>
> >> Date: Tue, 26 Aug 2025 17:03:26 +0900
> >> 
> >> 
> >> In current emacs, in corner case, the displayed text is garbled.
> >> Simplified reproducible code is the following,
> >> 
> >> (with-temp-buffer
> >>   (dotimes (_ 3)
> >>     (insert "😀😀😀\n"))
> >>   (add-to-invisibility-spec '(gnus-sum . t))
> >>   (goto-char (point-min))
> >>   (let ((starteol (line-end-position)))
> >>     (forward-line 2)
> >>   (search-backward "\n")
> >>   (let ((ol (make-overlay starteol (point) nil t nil)))
> >>     (overlay-put ol 'invisible 'gnus-sum)
> >>     ;; here
> >>     )))
> >> 
> >> At ";; here" position, first line uses proper font and text, but send
> >> line is garbled text.  And if comment out the
> >> `add-to-invisibility-spec', no garbled text.
> >
> > Thanks for a simple and concise test case.  This should be fixed now
> > on the master branch.
> 
> Thanks. Looks like working for me.

Thanks for testing the fix.




This bug report was last modified 8 days ago.

Previous Next


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