[Top][All Lists]

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

bug#26396: 25.1; char-displayable-p on a latin1 tty

From: Paul Eggert
Subject: bug#26396: 25.1; char-displayable-p on a latin1 tty
Date: Wed, 12 Apr 2017 23:19:53 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

Eli Zaretskii wrote:
I think the code in
char-displayable-p which looks at the result of internal-char-font
should only accept a non-negative value if the terminal-coding-system
supports the character.  IOW, the Linux console should not be
considered as being able to display a character unless the terminal
encoding can safely encode it.

Wouldn't it be better if Emacs ignored terminal-coding-system when the output device is a Linux console and Emacs therefore knows exactly which characters the console can display? Instead, Emacs could simply display those characters as-is. This would result in a better user experience, surely.

reply via email to

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