unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#63691] [PATCH] Add emacs-prism package
@ 2023-05-24 16:53 Maciej Kalandyk
  2023-05-25  2:15 ` [bug#63691] [PATCH vREVISION] " Maciej Kalandyk
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Maciej Kalandyk @ 2023-05-24 16:53 UTC (permalink / raw)
  To: 63691; +Cc: Maciej Kalandyk

---
 gnu/packages/emacs-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0ea9732bfa..1747e62433 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1161,6 +1161,27 @@ (define-public emacs-spongebob
 buffer.")
       (license license:gpl3+))))
 
+(define-public emacs-prism
+  (package
+    (name "emacs-prism")
+    (version "0.3.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/alphapapa/prism.el.git")
+                    (commit version)))
+              (sha256
+               (base32
+                "1750s161ck83lcl36rm2jbkssbgpa9hfx1gbv2r582381q1p4kwp"))))
+    (build-system emacs-build-system)
+    (inputs (list emacs-dash))
+    (home-page "https://github.com/alphapapa/prism.el")
+    (synopsis
+     "Disperses lisp forms (and other languages) into a spectrum of color >
+    (description
+     "prism is an \"rainbow-blocks\" like mode for Emacs, but it respects >
+    (license license:gpl3+)))
+
 (define-public emacs-project
   (package
     (name "emacs-project")

base-commit: 297ba5c15a32845ab8514aeb6f405ebd4290142d
-- 
2.40.1





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

* [bug#63691] [PATCH vREVISION] Add emacs-prism package
  2023-05-24 16:53 [bug#63691] [PATCH] Add emacs-prism package Maciej Kalandyk
@ 2023-05-25  2:15 ` Maciej Kalandyk
  2023-05-25 10:49   ` Nicolas Goaziou
  2023-05-25 12:54 ` [bug#63691] [PATCH v3] " Maciej Kalandyk
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Maciej Kalandyk @ 2023-05-25  2:15 UTC (permalink / raw)
  To: 63691; +Cc: Maciej Kalandyk

---
 gnu/packages/emacs-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0ea9732bfa..95d476b12b 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1161,6 +1161,27 @@ (define-public emacs-spongebob
 buffer.")
       (license license:gpl3+))))
 
+(define-public emacs-prism
+  (package
+    (name "emacs-prism")
+    (version "0.3.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+		    (url "https://github.com/alphapapa/prism.el.git")
+		    (commit version)))
+              (sha256
+               (base32
+                "1750s161ck83lcl36rm2jbkssbgpa9hfx1gbv2r582381q1p4kwp"))))
+    (build-system emacs-build-system)
+    (inputs (list emacs-dash))
+    (home-page "https://github.com/alphapapa/prism.el")
+    (synopsis
+     "Disperses lisp forms (and other languages) into a spectrum of color by depth")
+    (description
+     "prism is an \"rainbow-blocks\" like mode for Emacs, but it respects existing non-color face properties, and allows flexible configuration of faces and colors.")
+    (license license:gpl3+)))
+
 (define-public emacs-project
   (package
     (name "emacs-project")

base-commit: 297ba5c15a32845ab8514aeb6f405ebd4290142d
prerequisite-patch-id: bde021d358061ddf7418cf9007728e29b0a484e7
prerequisite-patch-id: d036219d9808390a95ce79eab308394a35fb11f4
prerequisite-patch-id: b5a5ddc30aa4c6eab627e90bfea924b549e72f65
prerequisite-patch-id: d60f368cd1bc31306ecd174a426dadd7d8c99c30
prerequisite-patch-id: dc5475a7173f78da07abee9e12f678be9c130324
prerequisite-patch-id: 32c40bb389b4fe60717a74f0e1d4f85027b6c536
prerequisite-patch-id: 1399adfffe1dc58ddfd8c576de8a35dc0cba686c
prerequisite-patch-id: a98d8fd12f3f0e29cacff0e635627bef17e7b340
prerequisite-patch-id: 51a5ae56b1f2adfb2c32863fae668575eabd0459
prerequisite-patch-id: 33981018a5333b547be6e792f8254d53e60c6528
prerequisite-patch-id: 21b2102fe7004d64c33c560042d806c65b54c85d
prerequisite-patch-id: 3b4fb2c60fe043b041d76aee56c3979439fbdc3e
prerequisite-patch-id: c12d40b1babc901b613d731a2f1769ed1fd44fb4
prerequisite-patch-id: 17bb1afa675ba8929ae6b35138432aa176bec594
prerequisite-patch-id: 7181cbce5bb938f93e539a54f1b062cb40a84e50
prerequisite-patch-id: 5ddd2c15a8b6972d71bf23868fdb7e403b02f1a1
prerequisite-patch-id: a1557107aaaa0ea314daced5dddac5432573fb8e
prerequisite-patch-id: 1bb4ff40995d453529bcf08bf04e96a2251e0e67
prerequisite-patch-id: a58b350e2933ca918441512081bd86f07c0e7689
prerequisite-patch-id: e5e4b5078457272c40136083ada87084b7cf789c
prerequisite-patch-id: 04959264b838474b05ccfe8459daa74ea0b60345
prerequisite-patch-id: 48fad5111c84540939ce092d05894c2a7b7043d9
prerequisite-patch-id: 913efa97fcf5f87a8ea36987321fb2a4789f8456
prerequisite-patch-id: 8c7d814de0854f22e3b492f7eef9e59a586485a0
prerequisite-patch-id: 126e8575449ac1e62ec7ce8c229939caa7a8b9c4
prerequisite-patch-id: f3b43fe639f8d4bff9d019244592f9ffb48b07ff
prerequisite-patch-id: 70f1a13fc509ab6b2af92c8deef537154b8f430c
prerequisite-patch-id: 5544eab70ffc2eb4521bec1d9ee6b74c71f3844c
prerequisite-patch-id: de4c46d605075aa3223b6aaed403ece4d66fba8e
prerequisite-patch-id: 592de527a3e0f924732b7727c4b853cadce3cd9e
prerequisite-patch-id: 5b6e0e030c6b1c973d747f1ca27368d1537392de
prerequisite-patch-id: 33950bd38744331ed6fee227923ae2a096e6464b
prerequisite-patch-id: 053f0b22e7bcaf2b55a2dfd7a77aab1fb217d083
prerequisite-patch-id: 2357c7b9b15fa3d96be0045f5f52451027fc6252
prerequisite-patch-id: 14a012c5d972452eef7a5645239b386c7d5e8c31
prerequisite-patch-id: 48b4936aca8407e6777ae731017bbec2935cc1a9
prerequisite-patch-id: aca9740b2ee2c511494b07683934a1de89e7d86f
prerequisite-patch-id: 099c86a514fe01cb2a2032e7dad8f320399b8601
-- 
2.40.1





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

* [bug#63691] [PATCH vREVISION] Add emacs-prism package
  2023-05-25  2:15 ` [bug#63691] [PATCH vREVISION] " Maciej Kalandyk
@ 2023-05-25 10:49   ` Nicolas Goaziou
  0 siblings, 0 replies; 7+ messages in thread
From: Nicolas Goaziou @ 2023-05-25 10:49 UTC (permalink / raw)
  To: Maciej Kalandyk; +Cc: 63691

Hello,

Maciej Kalandyk <m.kalandyk@outlook.com> writes:

> +(define-public emacs-prism

Thank you.

You need to add a proper commit message with your patch. For a new
variable, it is pretty much normalized:

  gnu: Add emacs-prism.

  * gnu/packages/emacs-xyz.scm (emacs-prism): New variable.

> +  (package
> +    (name "emacs-prism")
> +    (version "0.3.1")

Version 0.3.2 was released yesterday, you may want to provide it
instead.

> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +		    (url "https://github.com/alphapapa/prism.el.git")

There's a habit of dropping ".git" suffix in URL, so the above should be:

  (url "https://github.com/alphapapa/prism.el")

> +		    (commit version)))
> +              (sha256
> +               (base32
> +                "1750s161ck83lcl36rm2jbkssbgpa9hfx1gbv2r582381q1p4kwp"))))
> +    (build-system emacs-build-system)
> +    (inputs (list emacs-dash))
> +    (home-page "https://github.com/alphapapa/prism.el")
> +    (synopsis
> +     "Disperses lisp forms (and other languages) into a spectrum of color by depth")

I suggest:

  Disperse Lisp forms...

> +    (description
> +     "prism is an \"rainbow-blocks\" like mode for Emacs, but it
> respects existing non-color face properties, and allows flexible
> configuration of faces and colors.")

I suggest:

  Prism is a Rainbow Blocks-like mode for Emacs.  It preserves non-color
  face properties and allows configuration of faces and colors.

Also mind keeping line lengths below 80 columns.

Could you send an updated patch? (note it should be -v3 in the git
command line)?

Regards,
-- 
Nicolas Goaziou




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

* [bug#63691] [PATCH v3] Add emacs-prism package
  2023-05-24 16:53 [bug#63691] [PATCH] Add emacs-prism package Maciej Kalandyk
  2023-05-25  2:15 ` [bug#63691] [PATCH vREVISION] " Maciej Kalandyk
@ 2023-05-25 12:54 ` Maciej Kalandyk
  2023-05-25 18:29 ` [bug#63691] [PATCH v4] gnu: Add emacs-prism Maciej Kalandyk
  2023-05-25 18:32 ` [bug#63691] Maciej Kalandyk
  3 siblings, 0 replies; 7+ messages in thread
From: Maciej Kalandyk @ 2023-05-25 12:54 UTC (permalink / raw)
  To: 63691; +Cc: Maciej Kalandyk

---
 gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0ea9732bfa..356a7f2199 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1161,6 +1161,28 @@ (define-public emacs-spongebob
 buffer.")
       (license license:gpl3+))))
 
+(define-public emacs-prism
+  (package
+    (name "emacs-prism")
+    (version "0.3.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+		    (url "https://github.com/alphapapa/prism.el")
+		    (commit version)))
+              (sha256
+               (base32
+                "0n2gf7302hqdnhsax1y3ahksfmmpd8cmiv1zgb7rjg8qhcs0iqp2"))))
+    (build-system emacs-build-system)
+    (inputs (list emacs-dash))
+    (home-page "https://github.com/alphapapa/prism.el")
+    (synopsis
+     "Disperses Lisp forms (and other languages) into a spectrum of color by depth")
+    (description
+     "Prism is a Rainbow Blocks-like mode for Emacs. It preserves non-color
+face properties and allows configuration of faces and colors.")
+    (license license:gpl3+)))
+
 (define-public emacs-project
   (package
     (name "emacs-project")

base-commit: 1be6baed2b58a75868cdcc9f51b78624c2fefc4f
-- 
2.40.1





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

* [bug#63691] [PATCH v4] gnu: Add emacs-prism.
  2023-05-24 16:53 [bug#63691] [PATCH] Add emacs-prism package Maciej Kalandyk
  2023-05-25  2:15 ` [bug#63691] [PATCH vREVISION] " Maciej Kalandyk
  2023-05-25 12:54 ` [bug#63691] [PATCH v3] " Maciej Kalandyk
@ 2023-05-25 18:29 ` Maciej Kalandyk
  2023-05-25 20:22   ` bug#63691: " Nicolas Goaziou
  2023-05-25 18:32 ` [bug#63691] Maciej Kalandyk
  3 siblings, 1 reply; 7+ messages in thread
From: Maciej Kalandyk @ 2023-05-25 18:29 UTC (permalink / raw)
  To: 63691; +Cc: Maciej Kalandyk

---
 gnu/packages/emacs-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0ea9732bfa..356a7f2199 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1161,6 +1161,28 @@ (define-public emacs-spongebob
 buffer.")
       (license license:gpl3+))))
 
+(define-public emacs-prism
+  (package
+    (name "emacs-prism")
+    (version "0.3.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+		    (url "https://github.com/alphapapa/prism.el")
+		    (commit version)))
+              (sha256
+               (base32
+                "0n2gf7302hqdnhsax1y3ahksfmmpd8cmiv1zgb7rjg8qhcs0iqp2"))))
+    (build-system emacs-build-system)
+    (inputs (list emacs-dash))
+    (home-page "https://github.com/alphapapa/prism.el")
+    (synopsis
+     "Disperses Lisp forms (and other languages) into a spectrum of color by depth")
+    (description
+     "Prism is a Rainbow Blocks-like mode for Emacs. It preserves non-color
+face properties and allows configuration of faces and colors.")
+    (license license:gpl3+)))
+
 (define-public emacs-project
   (package
     (name "emacs-project")
-- 
2.40.1





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

* [bug#63691]
  2023-05-24 16:53 [bug#63691] [PATCH] Add emacs-prism package Maciej Kalandyk
                   ` (2 preceding siblings ...)
  2023-05-25 18:29 ` [bug#63691] [PATCH v4] gnu: Add emacs-prism Maciej Kalandyk
@ 2023-05-25 18:32 ` Maciej Kalandyk
  3 siblings, 0 replies; 7+ messages in thread
From: Maciej Kalandyk @ 2023-05-25 18:32 UTC (permalink / raw)
  To: 63691@debbugs.gnu.org

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

Hello
I believe I have accounted for requested changes.
Sorry for late reply, i am bit new to using mailing lists...

[-- Attachment #2: Type: text/html, Size: 776 bytes --]

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

* bug#63691: [PATCH v4] gnu: Add emacs-prism.
  2023-05-25 18:29 ` [bug#63691] [PATCH v4] gnu: Add emacs-prism Maciej Kalandyk
@ 2023-05-25 20:22   ` Nicolas Goaziou
  0 siblings, 0 replies; 7+ messages in thread
From: Nicolas Goaziou @ 2023-05-25 20:22 UTC (permalink / raw)
  To: Maciej Kalandyk; +Cc: 63691-done

Hello,

Maciej Kalandyk <m.kalandyk@outlook.com> writes:

> +(define-public emacs-prism

I added a commit message and applied your patch. Thank you.

> +    (description
> +     "Prism is a Rainbow Blocks-like mode for Emacs. It preserves non-color
> +face properties and allows configuration of faces and colors.")

I added two spaces between sentences.

Regards,
-- 
Nicolas Goaziou




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

end of thread, other threads:[~2023-05-25 20:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-24 16:53 [bug#63691] [PATCH] Add emacs-prism package Maciej Kalandyk
2023-05-25  2:15 ` [bug#63691] [PATCH vREVISION] " Maciej Kalandyk
2023-05-25 10:49   ` Nicolas Goaziou
2023-05-25 12:54 ` [bug#63691] [PATCH v3] " Maciej Kalandyk
2023-05-25 18:29 ` [bug#63691] [PATCH v4] gnu: Add emacs-prism Maciej Kalandyk
2023-05-25 20:22   ` bug#63691: " Nicolas Goaziou
2023-05-25 18:32 ` [bug#63691] Maciej Kalandyk

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).