Can not display Emacs's font lock correctly #18076

Closed
opened 2026-01-31 06:02:59 +00:00 by claunia · 2 comments
Owner

Originally created by @ygohko on GitHub (Aug 1, 2022).

Windows Terminal version

1.14.1963.0

Windows build number

10.0.22000.795

Other Software

GNU Emacs 27.1 (inside WSL)

Steps to reproduce

Install GNU Emacs 27.1 in WSL and launch it with attached .emacs file. Then load a attached TestFontLock.c file.

dot_emacs.txt
TestFontLock.c.txt

Expected Behavior

Displaying result in legacy cmd window is below.

LegacyCmd

Actual Behavior

Displaying result in Windows Terminal is below. Font locking for tab characters is not shown correctly, and menu bar is also strange.

Terminal

This issue may be occurred in latest version because I have found it in these days.

Originally created by @ygohko on GitHub (Aug 1, 2022). ### Windows Terminal version 1.14.1963.0 ### Windows build number 10.0.22000.795 ### Other Software GNU Emacs 27.1 (inside WSL) ### Steps to reproduce Install GNU Emacs 27.1 in WSL and launch it with attached .emacs file. Then load a attached TestFontLock.c file. [dot_emacs.txt](https://github.com/microsoft/terminal/files/9232367/dot_emacs.txt) [TestFontLock.c.txt](https://github.com/microsoft/terminal/files/9232369/TestFontLock.c.txt) ### Expected Behavior Displaying result in legacy cmd window is below. ![LegacyCmd](https://user-images.githubusercontent.com/4392059/182110972-57a0d1b8-8b09-4e94-8351-5ef660040355.png) ### Actual Behavior Displaying result in Windows Terminal is below. Font locking for tab characters is not shown correctly, and menu bar is also strange. ![Terminal](https://user-images.githubusercontent.com/4392059/182111677-75fdcbc9-ab8f-48f9-a4a7-200b464bd83c.png) This issue may be occurred in latest version because I have found it in these days.
claunia added the Issue-BugResolution-Duplicate labels 2026-01-31 06:02:59 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Aug 1, 2022):

/dup #13229

@zadjii-msft commented on GitHub (Aug 1, 2022): /dup #13229
Author
Owner

@ghost commented on GitHub (Aug 1, 2022):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Aug 1, 2022): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18076