unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eric Hanchrow <eric.hanchrow@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 22154@debbugs.gnu.org
Subject: bug#22154: 25.0.50; emacsclient -c "breaks" 256-color display in server
Date: Sun, 13 Dec 2015 18:47:32 +0000	[thread overview]
Message-ID: <CAHZoxq-59HJQdA=w+XuQzVQqHmPPAKt39JcXhsFxVFFjsqo1aQ@mail.gmail.com> (raw)
In-Reply-To: <83poya42l5.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1577 bytes --]

I assume you meant `tty-color-mode-alist'.  After running `emacs -Q' with
TERM set to `xterm-256color`, I see

tty-color-mode-alist is a variable defined in ‘tty-colors.el’.
Its value is ((never . -1)
 (no . -1)
 (default . 0)
 (auto . 0)
 (ansi8 . 8)
 (always . 8)
 (yes . 8))

After the client frame is created, it's the same.

`terminal-init-xterm` does indeed run when I create the client frame, but
as you can see, it doesn't modify tty-color-mode-alist.


On Sun, Dec 13, 2015 at 10:37 AM Eli Zaretskii <eliz@gnu.org> wrote:

> > Date: Sun, 13 Dec 2015 20:17:11 +0200
> > From: Eli Zaretskii <eliz@gnu.org>
> > Cc: 22154@debbugs.gnu.org
> >
> > > From: Eric Hanchrow <eric.hanchrow@gmail.com>
> > > Date: Sun, 13 Dec 2015 10:05:20 -0800
> > > Cc: 22154@debbugs.gnu.org
> > >
> > >     Does the patch below fix the problem?
> > >
> > > It doesn't seem to make any difference.
> >
> > Strange, it did make a difference on my system.
> >
> > I guess I will then have to ask you to step in a debugger through
> > set_tty_color_mode and tty_setup_colors, and tell what is stored in
> > the default_* members of the tty object during the main Emacs
> > initialization and when the client frame is created.  I have no access
> > to a system with a 256-color xterm.
>
> It could also be tty-color-alist.  Can you tell me what's in it after
> Emacs starts on a 256-color xterm, and after the client frame is
> created?  Also, does xterm.el initialization get called for the client
> frame, and does it modify tty-color-alist?
>
>

[-- Attachment #2: Type: text/html, Size: 2367 bytes --]

  reply	other threads:[~2015-12-13 18:47 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 [this message]
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
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHZoxq-59HJQdA=w+XuQzVQqHmPPAKt39JcXhsFxVFFjsqo1aQ@mail.gmail.com' \
    --to=eric.hanchrow@gmail.com \
    --cc=22154@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).