GNU bug report logs - #53442
[PATCH] gnu: Add emacs-setup.

Previous Next

Package: guix-patches;

Reported by: jgart <jgart <at> dismail.de>

Date: Sat, 22 Jan 2022 11:38:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#53442: closed ([PATCH] gnu: Add emacs-setup.)
Date: Sat, 22 Jan 2022 14:37:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 22 Jan 2022 15:36:46 +0100
with message-id <87czkjrg5d.fsf <at> nicolasgoaziou.fr>
and subject line Re: [bug#53442] [PATCH] gnu: Add emacs-setup.
has caused the debbugs.gnu.org bug report #53442,
regarding [PATCH] gnu: Add emacs-setup.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
53442: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=53442
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: jgart <jgart <at> dismail.de>
To: guix-patches <at> gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [PATCH] gnu: Add emacs-setup.
Date: Sat, 22 Jan 2022 06:33:30 -0500
* gnu/packages/emacs-xyz.scm (emacs-setup): New variable.
---

Hi Guixers,

Just sending this one over from guixrus.

all best,

jgart

https://whereiseveryone.srht.site/
gemini://whereiseveryone.srht.site/

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 9432a3f637..bd6e389e31 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -29798,6 +29798,29 @@ (define-public emacs-global-tags
 project.el and xref.el.")
       (license license:gpl3+))))
 
+(define-public emacs-setup
+  (package
+    (name "emacs-setup")
+    (version "1.2.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "https://elpa.gnu.org/packages/setup-"
+                            version ".tar"))
+        (sha256
+          (base32 "1fyzkm42gsvsjpk3vahfb7asfldarixm0wsw3g66q3ad0r7cbjnz"))))
+    (build-system emacs-build-system)
+    (home-page "https://git.sr.ht/~pkal/setup")
+    (synopsis "Helpful Configuration Macro")
+    (description
+"The @code{setup} macro simplifies repetitive configuration patterns, by
+providing context-sensitive local macros in @code{setup} bodies.  These macros
+can be mixed with regular elisp code without any issues, allowing for
+flexible and terse configurations.  The list of local macros can be
+extended by the user via @code{setup-define}.  A list of currently known
+local macros are documented in the docstring for @code{setup}.")
+    (license license:gpl3+)))
+
 (define-public emacs-fennel-mode
   (package
     (name "emacs-fennel-mode")
-- 
2.34.1



[Message part 3 (message/rfc822, inline)]
From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: jgart via Guix-patches via <guix-patches <at> gnu.org>
Cc: 53442-done <at> debbugs.gnu.org, jgart <jgart <at> dismail.de>
Subject: Re: [bug#53442] [PATCH] gnu: Add emacs-setup.
Date: Sat, 22 Jan 2022 15:36:46 +0100
Hello,

jgart via Guix-patches via <guix-patches <at> gnu.org> writes:

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

Thank you.
> +    (synopsis "Helpful Configuration Macro")

I removed unnecessary capitalization and pushed.

Regards,
-- 
Nicolas Goaziou


This bug report was last modified 3 years and 212 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.