From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "William G. Gardella" Newsgroups: gmane.emacs.help Subject: Re: Emacs and solarized Date: Tue, 10 Dec 2013 14:48:11 +0000 Message-ID: <87lhzshidw.fsf@motoko.kusanagi> References: <5b6911644bf8063cf44102cc440f08fd@mailoo.org> <871u1yki02.fsf@nl106-137-194.student.uu.se> <87k3fqiv4a.fsf@nl106-137-194.student.uu.se> <3a2ebf5f4d4b967d5be561faae9e58aa@mailoo.org> <5e88ed97b300b98c507198cb9d5eb75a@mailoo.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1386687375 13877 80.91.229.3 (10 Dec 2013 14:56:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Dec 2013 14:56:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 10 15:56:21 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VqOjT-0001mJ-Q1 for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Dec 2013 15:56:19 +0100 Original-Received: from localhost ([::1]:49570 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqOjS-0008OG-GS for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Dec 2013 09:56:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqObv-0006Aj-1N for help-gnu-emacs@gnu.org; Tue, 10 Dec 2013 09:48:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VqObo-0002GC-Od for help-gnu-emacs@gnu.org; Tue, 10 Dec 2013 09:48:30 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:59008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqObo-0002G6-Ho for help-gnu-emacs@gnu.org; Tue, 10 Dec 2013 09:48:24 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VqObn-0003oF-KI for help-gnu-emacs@gnu.org; Tue, 10 Dec 2013 15:48:23 +0100 Original-Received: from rainbowwarrior.torservers.net ([77.247.181.164]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Dec 2013 15:48:23 +0100 Original-Received: from wgg2 by rainbowwarrior.torservers.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Dec 2013 15:48:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: rainbowwarrior.torservers.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:j2I4eHwQXQqTWoyKsOV6qOCP+xs= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94926 Archived-At: Alexis Praga writes: > Update : emacs --daemon does not load the solarized theme but > emacsclient does. > If it doesn't, it only needs to be done once with M-x > color-theme-solarized-dark. 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---