emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New feature: displaying ligature characters in the buffer


From: Richard Stallman
Subject: New feature: displaying ligature characters in the buffer
Date: Mon, 24 Jan 2022 23:16:33 -0500

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

When the buffer contains a ligature character, it would be a good thing for
Emacs to determine that the terminal doesn't support ligatures, and in
that case to arrange to display those ligature characters using two letters.
This should happen by default.

Other pre-composed characters could likewise be displayed in two columns
using non-composed characters.

Emacs needs to know which compositions the terminal can display.  I
expect it will handle a fairly limited set.  So a new TERMINFO field
could specify which characters work, and Emacs could convert that into
a binary array for quick lookup.  TERM=linux could have a TERMINFO
field to say that ligatures don't work.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]