From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: [PATCH 17/17] gnu: Add emacs-solarized-theme. Date: Wed, 13 Jul 2016 21:13:02 +0200 Message-ID: <874m7ttkqp.fsf@elephly.net> References: <20160712210514.21310-1-rekado@elephly.net> <20160712210514.21310-18-rekado@elephly.net> <87inw9tpd4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bNPax-00043q-HI for guix-devel@gnu.org; Wed, 13 Jul 2016 15:13:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bNPav-0006QG-76 for guix-devel@gnu.org; Wed, 13 Jul 2016 15:13:18 -0400 In-reply-to: <87inw9tpd4.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Roel Janssen Cc: guix-devel@gnu.org Roel Janssen writes: > Ricardo Wurmus writes: > >> * gnu/packages/emacs.scm (emacs-solarized-theme): New variable. >> --- >> gnu/packages/emacs.scm | 24 ++++++++++++++++++++++++ >> 1 file changed, 24 insertions(+) >> >> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm >> index 2c92756..4f2d5ca 100644 >> --- a/gnu/packages/emacs.scm >> +++ b/gnu/packages/emacs.scm >> @@ -2086,6 +2086,30 @@ number.") >> It is built on top of the custom theme support in Emacs 24 or later.") >> (license license:gpl3+))) >> >> +(define-public emacs-solarized-theme >> + (package >> + (name "emacs-solarized-theme") >> + (version "1.2.2") >> + (source (origin >> + (method url-fetch) >> + (uri (string-append "https://github.com/bbatsov/solarized-emacs/" >> + "archive/v" version ".tar.gz")) >> + (file-name (string-append name "-" version ".tar.gz")) >> + (sha256 >> + (base32 >> + "1ha3slc6d9wi9ilkhmwrzkvf308n6ph7b0k69pk369s9304awxzx")))) >> + (build-system emacs-build-system) >> + (propagated-inputs >> + `(("emacs-dash" ,emacs-dash) >> + ("emacs-f" ,emacs-f) >> + ("emacs-s" ,emacs-s))) >> + (home-page "http://github.com/bbatsov/solarized-emacs") >> + (synopsis "Port of the Solarized theme for Emacs") >> + (description >> + "Solarized for Emacs is a port of the Solarized theme for Vim. This >> +package provides a light and a dark variant.") >> + (license license:gpl3+))) >> + >> (define-public emacs-smartparens >> (package >> (name "emacs-smartparens") > > After installing this package I tried to `M-x load-theme solarized'. That > resulted in the error: `Undefined Custom theme solarized'. > > However, `solarized-dark' works fine. > > Could you verify that `M-x load-theme solarized' works on your end? I’m using “solarized-light” only. Is “M-x load-theme solarized” even supposed to work? ~~ Ricardo