* [bug#53442] [PATCH] gnu: Add emacs-setup.
@ 2022-01-22 11:33 jgart via Guix-patches via
2022-01-22 14:36 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: jgart via Guix-patches via @ 2022-01-22 11:33 UTC (permalink / raw)
To: 53442; +Cc: jgart
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [bug#53442] [PATCH] gnu: Add emacs-setup.
2022-01-22 11:33 [bug#53442] [PATCH] gnu: Add emacs-setup jgart via Guix-patches via
@ 2022-01-22 14:36 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2022-01-22 14:36 UTC (permalink / raw)
To: 53442; +Cc: 53442-done, jgart
Hello,
jgart via Guix-patches via <guix-patches@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-22 14:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-22 11:33 [bug#53442] [PATCH] gnu: Add emacs-setup jgart via Guix-patches via
2022-01-22 14:36 ` 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).