all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Rüdiger Sonderfeld" <ruediger@c-plusplus.de>
Cc: emacs-devel@gnu.org
Subject: Re: [RFC-2] Add tty True Color support.
Date: Thu, 17 Oct 2013 19:56:49 +0300	[thread overview]
Message-ID: <83mwm7omy6.fsf@gnu.org> (raw)
In-Reply-To: <2026164.mh4ZqmuNeq@descartes>

> From: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
> Cc: emacs-devel@gnu.org
> Date: Thu, 17 Oct 2013 00:39:23 +0200
> 
> > I might be missing something, but it looks like you didn't make any
> > changes aimed at having display-color-cells report the correct number
> > of colors for this type of terminal.  If that is true, please add some
> > code to fix that, otherwise various parts in Emacs might behave
> > incorrectly; for starters, defface's that define colors based on how
> > many colors are available will use the wrong colors.
> 
> I changed `tty-display-color-cells' to return the correct number.  See the
> updated patch below.

Thanks.

> Do you have any suggestion how to do the terminal detection?  So far Thomas
> Dickey seems to be reluctant to add support to terminfo.  Maybe there could
> be a lisp function to detect it, which could be easily adjusted by the user.
> But then again `init_tty' can be called very early in the start up process.

Can you do something similar to what terminal-init-xterm does for
xterm?




  reply	other threads:[~2013-10-17 16:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-15 17:24 [RFC] Add tty True Color support Rüdiger Sonderfeld
2013-10-16 19:45 ` Eli Zaretskii
2013-10-16 22:39   ` [RFC-2] " Rüdiger Sonderfeld
2013-10-17 16:56     ` Eli Zaretskii [this message]
2014-01-07 21:02 ` [RFC] " egmont
2014-01-07 23:18   ` Rüdiger Sonderfeld
2015-06-23 11:47     ` Judge_Dredd
2014-07-02 13:38 ` Judge_Dredd

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=83mwm7omy6.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=ruediger@c-plusplus.de \
    /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.