GNU bug report logs - #53516
Buffer display issue with unicode characters on WSL2

Previous Next

Package: emacs;

Reported by: "Green, Marc E." <marcgreen <at> wpi.edu>

Date: Mon, 24 Jan 2022 23:07:01 UTC

Severity: normal

Tags: moreinfo

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Po Lu <luangruo <at> yahoo.com>
To: "Green, Marc E." <marcgreen <at> wpi.edu>
Cc: 53516 <at> debbugs.gnu.org
Subject: bug#53516: Buffer display issue with unicode characters on WSL2
Date: Tue, 25 Jan 2022 08:42:54 +0800
"Green, Marc E." <marcgreen <at> wpi.edu> writes:

> I have a file with a single Unicode character in it: 🕯 (Unicode
> character CANDLE, codepoint 128367, #o372557, #x1f56f).

> When I open this file via `emacs -Q` (with or without `-nw`) and hit
> `C-l`, the buffer display has issues. Namely, the character becomes
> invisible on that line, and instead somehow appears in the menu bar
> line (the top 'File,Edit,etc' menu bar line disappears). It's like the
> whole display gets shifted up 1 line. If I move the cursor left, I can
> see the original character, which is now being displayed 2 times in
> the buffer despite existing in the file only once.

> In practice, this makes it very difficult to edit files that have
> unicode characters in them. For files that have many lines in them,
> this issue results in lines being visually duplicated. Selecting them
> via C-SPACE does fix the display issue, until I start navigating
> around the file again, which triggers the issue.

Does this still happen with Emacs 28 or 29?  The version of Emacs you're
using is very old, and uses Xft, which is known to have display issues
with glyphs that might be provided by color fonts.

Thanks.




This bug report was last modified 3 years and 135 days ago.

Previous Next


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