all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#55152] [PATCH] gnu: Add emacs-soothe-theme.
@ 2022-04-27 13:31 Adam Kandur
  2022-06-27 10:27 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Adam Kandur @ 2022-04-27 13:31 UTC (permalink / raw)
  To: 55152; +Cc: Adam Kandur

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index db1663c..34658e4 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1482,6 +1482,30 @@ (define-public emacs-solidity
 a constant work in progress as the language itself also progresses.")
       (license license:gpl3+))))
 
+(define-public emacs-soothe-theme
+  (let ((commit "0786fe70c6c1b4ddcfb932fdc6862b9611cfc09b")
+        (revision "0"))
+    (package
+      (name "emacs-soothe-theme")
+      (version (git-version "0.1" revision commit))
+      (source
+       (origin
+	 (method git-fetch)
+	 (uri (git-reference
+	       (url "https://github.com/emacsfodder/emacs-soothe-theme.git")
+	       (commit commit)))
+	 (file-name (git-file-name name version))
+	 (sha256
+	  (base32 "10gh1hvxq9gm29r6qzlnva7vjidd7n4kih4z2ihyvbvy9za20xqw"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/emacsfodder/emacs-soothe-theme.git")
+      (synopsis "A colorful, but muted theme for Emacs 24, dark background with light text")
+      (description
+       "An amalgam of muted color tones and highlighted backgrounds.  Builtin support 
+for rainbow-delimiters, org-mode, whitespace-mode, ECB, flyspell, ido, linum, highlight
+indentation, show-paren-mode, further mode support to come.")
+      (license license:gpl3+))))
+
 (define-public emacs-unpackaged-el
   (let ((commit "746801a677ada6cd6fa076e423aa0953779f3fad")
         (revision "3"))
-- 
2.35.1





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

* [bug#55152] [PATCH] gnu: Add emacs-soothe-theme.
  2022-04-27 13:31 [bug#55152] [PATCH] gnu: Add emacs-soothe-theme Adam Kandur
@ 2022-06-27 10:27 ` Nicolas Goaziou
  2022-07-20 13:01   ` bug#55152: " Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2022-06-27 10:27 UTC (permalink / raw)
  To: Adam Kandur; +Cc: 55152

Hello,

Adam Kandur <kefironpremise@gmail.com> writes:

> * gnu/packages/emacs-xyz.scm (emacs-soothe-theme): New variable.

Thank you. Sorry for the delay. Some comments follow.

> +(define-public emacs-soothe-theme
> +  (let ((commit "0786fe70c6c1b4ddcfb932fdc6862b9611cfc09b")
> +        (revision "0"))
> +    (package
> +      (name "emacs-soothe-theme")
> +      (version (git-version "0.1" revision commit))

Where does this "0.1" come from? According to "soothe-theme.el" and
Changelog, version is 20141027.2233.

Also, I suggest to stick to commit hash
0568a61eeec0b074d8911886359a6c5da13d14cb, which is the penultimate
commit, but matches version bump. You don't need to use `git-version'
then.

> +      (source
> +       (origin
> +	 (method git-fetch)
> +	 (uri (git-reference
> +	       (url "https://github.com/emacsfodder/emacs-soothe-theme.git")

You can drop the ".git" suffix from the URL.

> +	       (commit commit)))
> +	 (file-name (git-file-name name version))
> +	 (sha256
> +	  (base32 "10gh1hvxq9gm29r6qzlnva7vjidd7n4kih4z2ihyvbvy9za20xqw"))))
> +      (build-system emacs-build-system)
> +      (home-page "https://github.com/emacsfodder/emacs-soothe-theme.git")
> +      (synopsis "A colorful, but muted theme for Emacs 24, dark background with light text")

Synopsis must not start with an article. I would also remove reference
to Emacs 24, which is unimportant in Guix.

> +      (description
> +       "An amalgam of muted color tones and highlighted backgrounds.  Builtin support 
> +for rainbow-delimiters, org-mode, whitespace-mode, ECB, flyspell, ido, linum, highlight
> +indentation, show-paren-mode, further mode support to come.")

Description must contain complete sentence only. So it should be "Soothe
theme is an amalgam…".

Also (nitpick) major mode are usually capitalized and un-hyphenized at
least in the Emacs manual. So: Rainbom delimiters, Org mode, Whitespace
mode, Flyspell, Ido, Linum…

Since the project hasn't seen any commit in the last 7 years, maybe
"further mode support to come" should be removed.

> +      (license license:gpl3+))))

License seems to be gpl3, not gpl3+.

Could you send an updated patch?

Regards,
-- 
Nicolas Goaziou




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

* bug#55152: [PATCH] gnu: Add emacs-soothe-theme.
  2022-06-27 10:27 ` Nicolas Goaziou
@ 2022-07-20 13:01   ` Nicolas Goaziou
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2022-07-20 13:01 UTC (permalink / raw)
  To: Adam Kandur; +Cc: 55152-done

Hello,

You sent me the updated patch in private. I applied it. Thank you.

Closing,
-- 
Nicolas Goaziou




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

end of thread, other threads:[~2022-07-20 13:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-27 13:31 [bug#55152] [PATCH] gnu: Add emacs-soothe-theme Adam Kandur
2022-06-27 10:27 ` Nicolas Goaziou
2022-07-20 13:01   ` bug#55152: " Nicolas Goaziou

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.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.