From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#22154: 25.0.50; emacsclient -c "breaks" 256-color display in server Date: Sat, 05 Sep 2020 16:50:29 +0200 Message-ID: <87zh642s7e.fsf@gnus.org> References: <8361025k9u.fsf@gnu.org> <83a8pd3txg.fsf@gnu.org> <834mfl3qvp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29339"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Dan Nicolaescu , eric.hanchrow@gmail.com, 22154@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 05 16:51:19 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 1kEZXD-0007Wn-4V for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Sep 2020 16:51:19 +0200 Original-Received: from localhost ([::1]:56438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEZXC-0005cN-7O for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Sep 2020 10:51:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEZWw-0005cA-Oa for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 10:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60480) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEZWv-0006xK-Qg for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 10:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kEZWv-0001P4-PN for bug-gnu-emacs@gnu.org; Sat, 05 Sep 2020 10:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Sep 2020 14:51: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.15993174425369 (code B ref 22154); Sat, 05 Sep 2020 14:51:01 +0000 Original-Received: (at 22154) by debbugs.gnu.org; 5 Sep 2020 14:50:42 +0000 Original-Received: from localhost ([127.0.0.1]:43793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEZWb-0001OW-SF for submit@debbugs.gnu.org; Sat, 05 Sep 2020 10:50:42 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:34662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEZWZ-0001OH-VG for 22154@debbugs.gnu.org; Sat, 05 Sep 2020 10:50:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=WK5e3vfLyWa5BO97hROvIP2EMaEM8HR2VVmykoVCPGw=; b=U5SxBYEdP65sB7hcNMtuSmT72C qbmTwqpPkTuNhXrYWgc0tOzbeXZl3eGyfNsraM7MoWlfuuwj9HTe0gMT4oJUpGo2xUx6OBQLhd/Bw i1IhHfMt+5dd/fcefUNUw9h3PIVO+Lt1C2fR+ZPISqCvhtCxhjhw6otUURgZHA2vwAGY=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kEZWQ-0004rY-PM; Sat, 05 Sep 2020 16:50:33 +0200 X-Now-Playing: Y Pants's _Beat It Down_: "Lulu" In-Reply-To: <834mfl3qvp.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 14 Dec 2015 19:02:34 +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:187253 Archived-At: 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.) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no