all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alexis Praga <alexispraga@mailoo.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs and solarized
Date: Tue, 10 Dec 2013 16:07:47 +0100	[thread overview]
Message-ID: <823c539f20bb51811ef7fb8a801d22ae@mailoo.org> (raw)
In-Reply-To: <87lhzshidw.fsf@motoko.kusanagi>

> Sometimes color themes (of both the old and new varieties) can't fully
> load on --daemon, because --daemon's apparent color depth is that of a
> standard TTY (8 colors, 16 counting bold).  If the theme attempts to 
> set
> things like cursor or mouse color (which cannot be set in a text
> console/terminal environment), this will be a particularly obvious 
> breakage.
> 
> I started to use something like this:
> 
> --8<---------------cut here---------------start------------->8---
> (defun wg/setup-themes (frame)
>   "Kludge themes, e.g. to get things right on emacsclient."
>   (ignore frame)
>   (mapcar 'load-theme custom-enabled-themes))
> 
> 
> (add-hook 'after-make-frame-functions 'wg/setup-themes)
> --8<---------------cut here---------------end--------------->8---

I tried the following :

(defun wg/setup-themes (frame)
     "Kludge themes, e.g. to get things right on emacsclient."
     (ignore frame)
     (color-theme-solarized-dark))

(add-hook 'after-make-frame-functions 'wg/setup-themes)

But to no avail.

Cheers,


---
Alexis Praga
GPG key : 66F9 4BD4 70EC E5D5 2AA4  9097 0673 7CE2 4671 306F





  reply	other threads:[~2013-12-10 15:07 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-29 10:53 Gnus does not see new mail in Maildirs Alexis Praga
2013-11-29 21:09 ` William G. Gardella
2013-11-29 21:41   ` Alexis Praga
2013-11-29 23:26     ` William G. Gardella
2013-11-29 23:48       ` Alexis Praga
2013-11-30  7:25         ` W. Greenhouse
2013-11-30 11:24           ` Alexis Praga
     [not found]   ` <mailman.7507.1385761301.10748.help-gnu-emacs@gnu.org>
2013-11-29 22:22     ` Emanuel Berg
     [not found] ` <mailman.7504.1385759419.10748.help-gnu-emacs@gnu.org>
2013-11-29 21:36   ` Emanuel Berg
2013-11-30  0:03     ` William G. Gardella
     [not found]     ` <mailman.7595.1385769824.10748.help-gnu-emacs@gnu.org>
2013-11-30  0:35       ` Emanuel Berg
2013-12-09  9:13         ` Emacs and solarized Alexis Praga
2013-12-09 10:57           ` Ian van der Neut
2013-12-09 11:25             ` Alexis Praga
2013-12-10  9:51               ` Alexis Praga
2013-12-10 14:48                 ` William G. Gardella
2013-12-10 15:07                   ` Alexis Praga [this message]
2013-12-11  4:38                     ` W. Greenhouse
2013-12-11 10:19                       ` Alexis Praga

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=823c539f20bb51811ef7fb8a801d22ae@mailoo.org \
    --to=alexispraga@mailoo.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.