From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexis Praga Newsgroups: gmane.emacs.help Subject: Re: Emacs and solarized Date: Tue, 10 Dec 2013 16:07:47 +0100 Message-ID: <823c539f20bb51811ef7fb8a801d22ae@mailoo.org> 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> <87lhzshidw.fsf@motoko.kusanagi> Reply-To: alexispraga@mailoo.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1386688097 22533 80.91.229.3 (10 Dec 2013 15:08:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Dec 2013 15:08:17 +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 16:08:23 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 1VqOv8-000319-4v for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Dec 2013 16:08:22 +0100 Original-Received: from localhost ([::1]:49720 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqOv7-0006m4-Hn for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Dec 2013 10:08:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqOuk-0006bC-EB for help-gnu-emacs@gnu.org; Tue, 10 Dec 2013 10:08:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VqOud-0000ss-07 for help-gnu-emacs@gnu.org; Tue, 10 Dec 2013 10:07:58 -0500 Original-Received: from arnold.mailoo.org ([91.121.106.23]:60477 helo=mailoo.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VqOuc-0000sZ-R8 for help-gnu-emacs@gnu.org; Tue, 10 Dec 2013 10:07:50 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by arnold.mailoo.org (Postfix) with ESMTP id 4E5D22011F for ; Tue, 10 Dec 2013 16:07:48 +0100 (CET) Original-Received: from www.mailoo.org (foxnic.zionetrix.net [212.85.154.181]) by arnold.mailoo.org (Postfix) with ESMTPA id 078BB20115 for ; Tue, 10 Dec 2013 16:07:47 +0100 (CET) Mail-Reply-To: alexispraga@mailoo.org In-Reply-To: <87lhzshidw.fsf@motoko.kusanagi> X-Sender: alexispraga@mailoo.org User-Agent: Roundcube Webmail X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 91.121.106.23 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:94927 Archived-At: > 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