emacs-devel
[Top][All Lists]
Advanced

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

Re: Daemon/Client, Multiple Terminals, and `tty-erase-char'


From: Andreas Schwab
Subject: Re: Daemon/Client, Multiple Terminals, and `tty-erase-char'
Date: Mon, 16 Dec 2019 20:19:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

On Dez 16 2019, Eli Zaretskii wrote:

>> From: Andreas Schwab <address@hidden>
>> Cc: address@hidden,  address@hidden
>> Date: Mon, 16 Dec 2019 19:17:23 +0100
>> 
>> On Dez 16 2019, Eli Zaretskii wrote:
>> 
>> > OK, but still, if one calls, say, set-input-meta-mode, tty-erase-char
>> > will be reset as appropriate for the TERMINAL argument, and that is
>> > not necessarily the last-frame value.
>> 
>> It is the last-frame value when a frame was just created on a new
>> terminal, which is why normal-erase-is-backspace-setup-frame works by
>> chance.
>
> I agree, but the "by chance" part worries me.  This whole business
> looks quite fragile.

tty-erase-char should really be a function with a terminal parameter.

Andreas.

-- 
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

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