unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#39323] [PATCH] gnu: Add emacs-delight.
@ 2020-01-27 23:52 Amin Bandali
  2020-01-28  7:57 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Amin Bandali @ 2020-01-27 23:52 UTC (permalink / raw)
  To: 39323; +Cc: Amin Bandali

* gnu/packages/emacs-xyz.scm (emacs-delight): New variable.
---
 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 c5214405d0..3c6edbad3f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21125,3 +21125,25 @@ pattern guessed from thing under current cursor position.
 mercury-mode provided by Emacs as a wrapper around prolog-mode.")
       (home-page "https://github.com/ahungry/metal-mercury-mode")
       (license license:gpl3+))))
+
+(define-public emacs-delight
+  (let ((commit "05ef4d7d1a371884defcb47e881904f2a25a40b7")
+        (revision "0"))
+    (package
+      (name "emacs-delight")
+      (version (git-version "1.5" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://git.savannah.gnu.org/git/delight.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0z4p8bl2sac2zdmx2bbzzcb09y7bxbbr1r6x6b68w2swngkm9rac"))))
+      (build-system emacs-build-system)
+      (home-page "https://elpa.gnu.org/packages/delight.html")
+      (synopsis "Dimmer switch for your mode-line lighter text")
+      (description "@code{delight} enables customizing or hiding the
+mode-line text (lighter) of major and minor modes.")
+      (license license:gpl3+))))
-- 
2.25.0

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

* [bug#39323] [PATCH] gnu: Add emacs-delight.
  2020-01-27 23:52 [bug#39323] [PATCH] gnu: Add emacs-delight Amin Bandali
@ 2020-01-28  7:57 ` Nicolas Goaziou
  2020-01-28  8:47   ` Amin Bandali
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2020-01-28  7:57 UTC (permalink / raw)
  To: Amin Bandali; +Cc: 39323

Hello,

Amin Bandali <mab@gnu.org> writes:

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

Thank you.

> +(define-public emacs-delight
> +  (let ((commit "05ef4d7d1a371884defcb47e881904f2a25a40b7")
> +        (revision "0"))
> +    (package
> +      (name "emacs-delight")
> +      (version (git-version "1.5" revision commit))
> +      (source
> +       (origin
> +         (method git-fetch)
> +         (uri (git-reference
> +               (url "https://git.savannah.gnu.org/git/delight.git")
> +               (commit commit)))

Is it possible to stick to the release from GNU ELPA instead? Or is
there any particular reason to use this commit?

Regards,

-- 
Nicolas Goaziou

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

* [bug#39323] [PATCH] gnu: Add emacs-delight.
  2020-01-28  7:57 ` Nicolas Goaziou
@ 2020-01-28  8:47   ` Amin Bandali
  2020-01-28  9:29     ` bug#39323: " Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Amin Bandali @ 2020-01-28  8:47 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 39323


[-- Attachment #1.1: Type: text/plain, Size: 329 bytes --]

Hello,

Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

[...]
>
> Is it possible to stick to the release from GNU ELPA instead? Or is
> there any particular reason to use this commit?
>

No particular reason besides a small docstring fix in the unreleased
commit.  Here’s a v2 using the latest release instead:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-emacs-delight.patch --]
[-- Type: text/x-patch, Size: 1402 bytes --]

From 12addf2253143b796fb9e6d1549a4f538e0e1cda Mon Sep 17 00:00:00 2001
From: Amin Bandali <mab@gnu.org>
Date: Tue, 28 Jan 2020 03:45:35 -0500
Subject: [PATCH v2] gnu: Add emacs-delight.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e6c4bfc459..b71fb577b7 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -21169,3 +21169,21 @@ example code.")
 EBDB.  It is copied more or less intact from @code{company-bbdb}, originally
 by Jan Tatarik.")
     (license license:gpl3+)))
+
+(define-public emacs-delight
+  (package
+    (name "emacs-delight")
+    (version "1.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://elpa.gnu.org/packages/"
+                           "delight-" version ".el"))
+       (sha256
+        (base32 "0kzlvzwmn6zj0874086q2xw0pclyi7wlkq48zh2lkd2796xm8vw7"))))
+    (build-system emacs-build-system)
+    (home-page "https://elpa.gnu.org/packages/delight.html")
+    (synopsis "Dimmer switch for your mode-line lighter text")
+    (description "@code{delight} enables customizing or hiding the
+mode-line text (lighter) of major and minor modes.")
+    (license license:gpl3+)))
-- 
2.25.0


[-- Attachment #1.3: Type: text/plain, Size: 26 bytes --]


>
> Regards,

Best,
amin

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* bug#39323: [PATCH] gnu: Add emacs-delight.
  2020-01-28  8:47   ` Amin Bandali
@ 2020-01-28  9:29     ` Nicolas Goaziou
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2020-01-28  9:29 UTC (permalink / raw)
  To: Amin Bandali; +Cc: 39323-done

Amin Bandali <mab@gnu.org> writes:

> No particular reason besides a small docstring fix in the unreleased
> commit.  Here’s a v2 using the latest release instead:

Applied as 2fe83ce10fcfc50d49cdafe2d6981adaf4a27d9d. Thank you!

Regards,

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

end of thread, other threads:[~2020-01-28  9:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-27 23:52 [bug#39323] [PATCH] gnu: Add emacs-delight Amin Bandali
2020-01-28  7:57 ` Nicolas Goaziou
2020-01-28  8:47   ` Amin Bandali
2020-01-28  9:29     ` bug#39323: " Nicolas Goaziou

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