unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add emacs-ahungry-theme.
@ 2016-08-25  6:04 Alex Vong
  2016-08-26  8:00 ` Alex Kost
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Vong @ 2016-08-25  6:04 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 209 bytes --]

Hi,

This patch adds ahungry theme from elpa, which I am currently using. I
test the patch by `./pre-inst-env guix install emacs-ahungry-theme' and
launching emacs. It works fine on my machine.

Cheers,
Alex


[-- Attachment #2: 0001-gnu-Add-emacs-ahungry-theme.patch --]
[-- Type: text/x-diff, Size: 1926 bytes --]

From ce1481926e96728327bd7e517d8d2bdfa990b989 Mon Sep 17 00:00:00 2001
From: Alex Vong <alexvong1995@gmail.com>
Date: Thu, 25 Aug 2016 13:49:31 +0800
Subject: [PATCH] gnu: Add emacs-ahungry-theme.

* gnu/packages/emacs.scm (emacs-ahungry-theme): New variable.
---
 gnu/packages/emacs.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index dfe5ce7..d072141 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -15,6 +15,7 @@
 ;;; Copyright © 2016 ng0 <ng0@we.make.ritual.n0.is>
 ;;; Copyright © 2016 Alex Griffin <a@ajgrf.com>
 ;;; Copyright © 2016 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2016 Alex Vong <alexvong1995@gmail.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2981,3 +2982,23 @@ lists, and project planning with a fast and effective plain-text system.  It
 also is an authoring system with unique support for literate programming and
 reproducible research.")
     (license license:gpl3+)))
+
+(define-public emacs-ahungry-theme
+  (package
+    (name "emacs-ahungry-theme")
+    (version "1.3.0")
+    (source
+     (origin (method url-fetch)
+             (uri (string-append "http://elpa.gnu.org/packages/ahungry-theme-"
+                                 version ".tar"))
+             (sha256
+              (base32 "1p2zaq0s4bbl5cx6wyab24wamw7m0mysb0v47dqjmnvfc25z84rq"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/ahungry/color-theme-ahungry")
+    (synopsis
+     "Ahungry color theme for Emacs.  Make sure to (load-theme 'ahungry).")
+    (description "Bright and bold color theme for GNU Emacs.
+
+If you load it from a terminal, you will be able to make use of the transparent
+background.  If you load it from a GUI, it will default to a dark background.")
+    (license license:gpl3+)))
-- 
2.9.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] gnu: Add emacs-ahungry-theme.
  2016-08-25  6:04 [PATCH] gnu: Add emacs-ahungry-theme Alex Vong
@ 2016-08-26  8:00 ` Alex Kost
  2016-08-26  9:49   ` Alex Vong
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Kost @ 2016-08-26  8:00 UTC (permalink / raw)
  To: Alex Vong; +Cc: guix-devel

Alex Vong (2016-08-25 09:04 +0300) wrote:

> Hi,
>
> This patch adds ahungry theme from elpa, which I am currently using. I
> test the patch by `./pre-inst-env guix install emacs-ahungry-theme' and
> launching emacs. It works fine on my machine.

I placed it right after zenburn and solarized themes, and applied as
e7761186c3, thanks!

> +(define-public emacs-ahungry-theme
> +  (package
> +    (name "emacs-ahungry-theme")
> +    (version "1.3.0")
> +    (source
> +     (origin (method url-fetch)
> +             (uri (string-append "http://elpa.gnu.org/packages/ahungry-theme-"
> +                                 version ".tar"))
> +             (sha256
> +              (base32 "1p2zaq0s4bbl5cx6wyab24wamw7m0mysb0v47dqjmnvfc25z84rq"))))
> +    (build-system emacs-build-system)
> +    (home-page "https://github.com/ahungry/color-theme-ahungry")
> +    (synopsis
> +     "Ahungry color theme for Emacs.  Make sure to (load-theme 'ahungry).")

The second sentence is not needed (especially in synopsis), I removed it.

> +    (description "Bright and bold color theme for GNU Emacs.
> +
> +If you load it from a terminal, you will be able to make use of the transparent
> +background.  If you load it from a GUI, it will default to a dark background.")

I rephrased the description a bit.

-- 
Alex

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] gnu: Add emacs-ahungry-theme.
  2016-08-26  8:00 ` Alex Kost
@ 2016-08-26  9:49   ` Alex Vong
  0 siblings, 0 replies; 3+ messages in thread
From: Alex Vong @ 2016-08-26  9:49 UTC (permalink / raw)
  To: Alex Kost; +Cc: guix-devel

Alex Kost <alezost@gmail.com> writes:

> Alex Vong (2016-08-25 09:04 +0300) wrote:
>
>> Hi,
>>
>> This patch adds ahungry theme from elpa, which I am currently using. I
>> test the patch by `./pre-inst-env guix install emacs-ahungry-theme' and
>> launching emacs. It works fine on my machine.
>
> I placed it right after zenburn and solarized themes, and applied as
> e7761186c3, thanks!
>
>> +(define-public emacs-ahungry-theme
>> +  (package
>> +    (name "emacs-ahungry-theme")
>> +    (version "1.3.0")
>> +    (source
>> +     (origin (method url-fetch)
>> + (uri (string-append "http://elpa.gnu.org/packages/ahungry-theme-"
>> +                                 version ".tar"))
>> +             (sha256
>> + (base32 "1p2zaq0s4bbl5cx6wyab24wamw7m0mysb0v47dqjmnvfc25z84rq"))))
>> +    (build-system emacs-build-system)
>> +    (home-page "https://github.com/ahungry/color-theme-ahungry")
>> +    (synopsis
>> +     "Ahungry color theme for Emacs.  Make sure to (load-theme 'ahungry).")
>
> The second sentence is not needed (especially in synopsis), I removed it.
>
>> +    (description "Bright and bold color theme for GNU Emacs.
>> +
>> +If you load it from a terminal, you will be able to make use of the
>> transparent
>> +background.  If you load it from a GUI, it will default to a dark
>> background.")
>
> I rephrased the description a bit.

Thank you!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-08-26  9:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-25  6:04 [PATCH] gnu: Add emacs-ahungry-theme Alex Vong
2016-08-26  8:00 ` Alex Kost
2016-08-26  9:49   ` Alex Vong

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).