From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: properly setting up ~/.emacs.d for daemon usage
Date: Mon, 12 Dec 2016 21:29:01 +0200 [thread overview]
Message-ID: <83zik1aqv6.fsf@gnu.org> (raw)
In-Reply-To: <CAP_d_8VxthbshgcMHPVOq1sj23JN8KLVZrT_u0U1Jb=yZE-hzA@mail.gmail.com> (message from Yuri Khan on Mon, 12 Dec 2016 23:46:47 +0700)
> From: Yuri Khan <yuri.v.khan@gmail.com>
> Date: Mon, 12 Dec 2016 23:46:47 +0700
> Cc: Óscar Fuentes <ofv@wanadoo.es>,
> "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
>
> On Mon, Dec 12, 2016 at 9:10 PM, Filipe Silva <filipe.silva@gmail.com> wrote:
>
> (defun true-color-p ()
> "Return non-nil on displays that support 256 colors."
> (or
> (display-graphic-p)
> (= (tty-display-color-cells) 16777216)))
Why not just look at the value returned by display-color-cells? It
supports the various terminal types internally.
next prev parent reply other threads:[~2016-12-12 19:29 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-11 13:10 properly setting up ~/.emacs.d for daemon usage Filipe Silva
2016-12-11 21:47 ` Óscar Fuentes
2016-12-12 14:10 ` Filipe Silva
2016-12-12 15:34 ` Óscar Fuentes
2016-12-12 18:47 ` Filipe Silva
2016-12-12 19:48 ` Óscar Fuentes
2016-12-13 11:07 ` Yuri Khan
2016-12-13 21:31 ` Filipe Silva
2016-12-13 21:51 ` Óscar Fuentes
2016-12-13 23:49 ` Kaushal Modi
2016-12-14 11:26 ` Filipe Silva
2016-12-13 22:53 ` Filipe Silva
2016-12-13 23:14 ` Óscar Fuentes
2016-12-12 16:46 ` Yuri Khan
2016-12-12 19:29 ` Eli Zaretskii [this message]
2016-12-11 23:17 ` Stefan Monnier
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=83zik1aqv6.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@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 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.