From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Filipe Silva Newsgroups: gmane.emacs.devel Subject: Re: option for loading up a gui specific emacs daemon Date: Wed, 14 Dec 2016 09:22:35 -0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1147ccc8c3e71e05439c8d3c X-Trace: blaine.gmane.org 1481714632 22501 195.159.176.226 (14 Dec 2016 11:23:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 14 Dec 2016 11:23:52 +0000 (UTC) Cc: Emacs developers To: Kaushal Modi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 14 12:23:48 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cH7f1-000512-Qs for ged-emacs-devel@m.gmane.org; Wed, 14 Dec 2016 12:23:48 +0100 Original-Received: from localhost ([::1]:46859 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cH7f5-0007as-TD for ged-emacs-devel@m.gmane.org; Wed, 14 Dec 2016 06:23:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cH7ev-0007Sv-Nq for emacs-devel@gnu.org; Wed, 14 Dec 2016 06:23:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cH7er-0000BH-0x for emacs-devel@gnu.org; Wed, 14 Dec 2016 06:23:41 -0500 Original-Received: from mail-io0-f175.google.com ([209.85.223.175]:36344) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cH7eq-0000B9-SI for emacs-devel@gnu.org; Wed, 14 Dec 2016 06:23:36 -0500 Original-Received: by mail-io0-f175.google.com with SMTP id 136so34394435iou.3 for ; Wed, 14 Dec 2016 03:23:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=DmmyN+uoKR19MD+kbX7IcnQEdbGsvHtlhpty6WTPZQs=; b=wNNEllx9BeBlMxGp89UbBMIyP7CRE2jP7cc3J2AvGlWQb9fSUs/zBIE0a496+rAG8W BfChUUZpqTFVxu1QHdRYY07gt0HeMo2QBWRqVXLckFWq8flUl5N5b0JqoF7ZbSaLxGio UFQWBG4cpdSLF9ibBJOw++LL84EBzEez0PxY+YgLKkEV0Sgb7tDJAhct7efrAbpjY+Wn U1WzMgV2d4yASmaUXpcpxnP5U7weHcUhTosrSWi8E3Ppc66LtxHgqTmYJntZtQzqDh/N vI5UmcxxXJ/iu3CLZ7Gv2TaFp9TEHMiNx1if2v9JLlxwrTvLNw+/p9GMMwCyFLqlylO0 i1Dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=DmmyN+uoKR19MD+kbX7IcnQEdbGsvHtlhpty6WTPZQs=; b=Ej4mTEjO/rEPIeK5PUpZZAr/wcnM4I2p1WfrYKBcEbSOK9t9JdEufxGDESLB9eP8V/ db/V1wfAHs6r6LXSv06kWCYHJl1bcAHo3cjidksfugvkKC9y+DT6z14V5YSg8YbxIA/h 6GmND6dF3UieWmzale1gB9hKKn0sqAkONXzAW0wAon+F0o9goxfaKEdijx8ohV3RIyeB HpiauxSaTdo9NOxEpbN5sKCkbg886DZjxZ473KxHEII8OYhZhrP2aFjWbXeuBx0joHR2 2XP5zmw/hK84TlrlbqVFOXqORa7FUFCKufrIV488z3Qy99TVf1NE6j5t3ivcjiM5s8iI Q3bQ== X-Gm-Message-State: AKaTC01v6i0gcCxRyXYQMOSmThKC648/BkV4sZ0mFwb+wkNDL1WC/w0+yHn7VooyUV9qjCF+xanp6BwQHf95rQ== X-Received: by 10.36.127.84 with SMTP id r81mr7035277itc.57.1481714555935; Wed, 14 Dec 2016 03:22:35 -0800 (PST) Original-Received: by 10.79.152.10 with HTTP; Wed, 14 Dec 2016 03:22:35 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.223.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:210443 Archived-At: --001a1147ccc8c3e71e05439c8d3c Content-Type: text/plain; charset=UTF-8 Kaushal, the zerodark theme by Nicolas Petton, for example: https://github.com/NicolasPetton/zerodark-theme/blob/master/zerodark-theme.el#L158-L162 It is difficult to write a reproducible procedure because if you don't know the theme, you think that colors are right. But they are not. One would have to install the theme, load up emacs gui normally, and then load up emacs with --daemon and compare the differences. On Tue, Dec 13, 2016 at 10:02 PM, Kaushal Modi wrote: > > > On Wed, Dec 14, 2016, 4:33 AM Filipe Silva wrote: > >> The problem is that various popular packages make extensive use of the >> (display-graphic-p) function/predicate to query frame capabilities. For >> example, a theme package may query (display-graphic-p) and assign gui or >> tty colors accordingly. >> > > Which packages are those, how can one recreate the issue you are seeing in > an emacs -Q session (for the case of emacsclient, I am aware that emacs -Q > does not help, so one would need to temporarily move their ~/.emacs.d/ dir > to something else, and use a minimal config that just starts the server) > after loading those packages? > >> -- > > Kaushal Modi > --001a1147ccc8c3e71e05439c8d3c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Kaushal, the zerodark theme by Nicolas Petton, f= or example:


It is difficult to write a reproducible procedure because if y= ou don't know the theme, you think that colors are right. But they are = not.=C2=A0

One would have to install the theme, load up emacs = gui normally, and then load up emacs with --daemon and compare the differen= ces.=C2=A0


<= br>
On Tue, Dec 13, 2016 at 10:02 PM, Kaushal Mod= i <kaushal.modi@gmail.com> wrote:


On Wed, Dec 14, 2016, 4:33 AM Filipe Silva <filipe.silva@gmail.com> wro= te:
The problem is that various popular packages make extensive u= se of the (display-graphic-p) function/predicate to query frame capabilitie= s. For example, a theme package may query (display-graphic-p) and assign gu= i or tty colors accordingly.=C2=A0

Which packages are those, how can one recreate the = issue you are seeing in an emacs -Q session (for the case of emacsclient, I= am aware that emacs -Q does not help, so one would need to temporarily mov= e their ~/.emacs.d/ dir to something else, and use a minimal config that ju= st starts the server) after loading those packages?
--

Kaushal Modi


--001a1147ccc8c3e71e05439c8d3c--