From: Dan Nicolaescu <dann@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: eric.hanchrow@gmail.com, 22154@debbugs.gnu.org
Subject: bug#22154: 25.0.50; emacsclient -c "breaks" 256-color display in server
Date: Thu, 17 Dec 2015 23:59:08 -0500 [thread overview]
Message-ID: <yxq1takwdwj.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <83h9jj3dfs.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 15 Dec 2015 18:05:11 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Dan Nicolaescu <dann@gnu.org>
>> Cc: eric.hanchrow@gmail.com, 22154@debbugs.gnu.org
>> Date: Tue, 15 Dec 2015 00:46:08 -0500
>>
>> >> 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.
>>
>> Can you describe a behavior that is incorrect?
>
> It was described in the original report of this bug, see
>
> http://lists.gnu.org/archive/html/bug-gnu-emacs/2015-12/msg00420.html
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=22154#5
>
>> > And I don't understand how could what you describe work when there's
>> > only one global value of tty-defined-color-alist. Can you explain how
>> > that worked, given that each terminal's initialization overwrites that
>> > list?
>>
>> Sorry, I don't remember the details, but it did work
>> In fact I just tried on emacs 24.5 with 3 terminals: xterm
>> with TERM=vt100, rxvt -fg black -bg white and rxvt -fg white -bg black.
>> emacsclient -t connected to the same emacs daemon
>
> That's not the same use case. The one you should indeed works,
> because the foreground and background colors are recorded separately
> for each frame. IOW, this is not related to the issue at hand.
OK, great. That is actually a very important use-case, and more in line
with what people normally do. It's good that it still works.
next prev parent reply other threads:[~2015-12-18 4:59 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-12 21:49 bug#22154: 25.0.50; emacsclient -c "breaks" 256-color display in server Eric Hanchrow
2015-12-13 17:30 ` Eli Zaretskii
2015-12-13 18:05 ` Eric Hanchrow
2015-12-13 18:17 ` Eli Zaretskii
2015-12-13 18:37 ` Eli Zaretskii
2015-12-13 18:47 ` Eric Hanchrow
2015-12-13 19:51 ` Eli Zaretskii
2015-12-13 20:26 ` Eric Hanchrow
2015-12-13 20:49 ` Eli Zaretskii
2015-12-14 6:21 ` Dan Nicolaescu
2015-12-14 15:56 ` Eli Zaretskii
2015-12-14 16:39 ` Dan Nicolaescu
2015-12-14 17:02 ` Eli Zaretskii
2015-12-15 5:46 ` Dan Nicolaescu
2015-12-15 16:05 ` Eli Zaretskii
2015-12-15 16:37 ` Eric Hanchrow
2015-12-15 16:40 ` Eli Zaretskii
2015-12-18 4:59 ` Dan Nicolaescu [this message]
2020-09-05 14:50 ` Lars Ingebrigtsen
2020-09-05 15:31 ` Eli Zaretskii
2015-12-14 6:35 ` Dan Nicolaescu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yxq1takwdwj.fsf@fencepost.gnu.org \
--to=dann@gnu.org \
--cc=22154@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=eric.hanchrow@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.