From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22154: 25.0.50; emacsclient -c "breaks" 256-color display in server Date: Sat, 05 Sep 2020 18:31:53 +0300 Message-ID: <838sdop7di.fsf@gnu.org> References: <8361025k9u.fsf@gnu.org> <83a8pd3txg.fsf@gnu.org> <834mfl3qvp.fsf@gnu.org> <87zh642s7e.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13768"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dann@gnu.org, eric.hanchrow@gmail.com, 22154@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 05 17:33:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEaBi-0003St-RI for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Sep 2020 17:33:10 +0200 Original-Received: from localhost ([::1]:56654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEaBh-0005dZ-Qt for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Sep 2020 11:33:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEaBa-0005cu-Ex for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 11:33:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60582) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEaBa-0004hO-0S for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 11:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kEaBZ-0004gf-St for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 11:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Sep 2020 15:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22154 X-GNU-PR-Package: emacs Original-Received: via spool by 22154-submit@debbugs.gnu.org id=B22154.159931993017933 (code B ref 22154); Sat, 05 Sep 2020 15:33:01 +0000 Original-Received: (at 22154) by debbugs.gnu.org; 5 Sep 2020 15:32:10 +0000 Original-Received: from localhost ([127.0.0.1]:43887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEaAk-0004fB-D0 for submit@debbugs.gnu.org; Sat, 05 Sep 2020 11:32:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEaAj-0004ex-Nh for 22154@debbugs.gnu.org; Sat, 05 Sep 2020 11:32:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35355) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEaAe-0004Zw-Dy; Sat, 05 Sep 2020 11:32:04 -0400 Original-Received: from [176.228.60.248] (port=2226 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kEaAc-0000Lr-9c; Sat, 05 Sep 2020 11:32:03 -0400 In-Reply-To: <87zh642s7e.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 05 Sep 2020 16:50:29 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:187265 Archived-At: > From: Lars Ingebrigtsen > Cc: Dan Nicolaescu , eric.hanchrow@gmail.com, > 22154@debbugs.gnu.org > Date: Sat, 05 Sep 2020 16:50:29 +0200 > > Eli Zaretskii writes: > > >> What exactly is the problem that your patch fixes? > > > > The fact that the default escape sequences for turning colors on or > > off are stored in global variables that get overwritten each time > > another tty is initialized. > > I haven't tried to reproduce the bug, but it seems like you never > applied your per-tty colour patch which (from my limited knowledge of > the tty stuff) sounded like a good idea. (It didn't fix the reported > problem, but looks more correct, anyway.) I didn't apply it because it solved only a part of the problem. The solution to this bug needs to solve the rest as well.