[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: Thu, 13 Apr 2017 15:18:29 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 04/13/2017 03:07 PM, Richard Stallman wrote:
   > Wouldn't it be better if Emacs ignored terminal-coding-system when the 
   > device is a Linux console and Emacs therefore knows exactly which 
characters the
   > console can display?

Does Emacs always know for certain?
If Emacs is attached directly to a console, yes. There's already some code that does this, by using Linux-specific syscalls.

What if it is talking to that console via ssh?

Then Emacs won't know, and will fall back on generic terminal code. However, the case that prompted this thread is where part of Emacs does know and part does not, and the mismatch causes a problem. I'm proposing that different parts of Emacs treat Linux consoles more consistently.

reply via email to

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