From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Daemon/Client, Multiple Terminals, and `tty-erase-char' Date: Mon, 16 Dec 2019 20:29:53 +0200 Message-ID: <83pngo3yzi.fsf@gnu.org> References: <8962B7D8-DE8B-48C0-A461-DA2C9ACB67C7@gnu.org> <83woaw432r.fsf@gnu.org> <83sglk413q.fsf@gnu.org> <87woawxhho.fsf@igel.home> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="123476"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs@Alexander.Shukaev.name, emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 16 19:30:53 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1igv8u-000Vys-5j for ged-emacs-devel@m.gmane.org; Mon, 16 Dec 2019 19:30:52 +0100 Original-Received: from localhost ([::1]:58588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igv8s-00059r-Sg for ged-emacs-devel@m.gmane.org; Mon, 16 Dec 2019 13:30:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51480) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1igv8E-0004Hd-RS for emacs-devel@gnu.org; Mon, 16 Dec 2019 13:30:11 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1igv8C-0000oq-Ve; Mon, 16 Dec 2019 13:30:09 -0500 Original-Received: from [176.228.60.248] (port=4497 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1igv8C-0005ZH-1Z; Mon, 16 Dec 2019 13:30:08 -0500 In-reply-to: <87woawxhho.fsf@igel.home> (message from Andreas Schwab on Mon, 16 Dec 2019 19:17:23 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:243428 Archived-At: > From: Andreas Schwab > Cc: emacs@Alexander.Shukaev.name, emacs-devel@gnu.org > 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.