GNU bug report logs - #77783
[PATCH 2/2] gnu: Add emacs-elisp-autofmt.

Previous Next

Package: guix-patches;

Reported by: nomike <nomike <at> nomike.com>

Date: Sun, 13 Apr 2025 15:37:02 UTC

Severity: normal

Tags: patch

Done: Danny Milosavljevic <dannym <at> friendly-machines.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: nomike <nomike <at> nomike.com>
To: guix-patches <at> gnu.org
Cc: nomike <nomike <at> nomike.com>
Subject: [PATCH 2/2] gnu: Add emacs-elisp-autofmt.
Date: Sun, 13 Apr 2025 17:36:32 +0200
    * gnu/packages/emacs-xyz.scm (emacs-elisp-autofmt): New variable.

Change-Id: I5a9a25099e1a4d5e59c4ac3868027fe64bc582bf
Signed-off-by: nomike <nomike <at> nomike.com>
---
 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 b290ab8d29..230dc71506 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -10270,6 +10270,30 @@ (define-public emacs-elastic-modes
 variable-width (i.e., proportional, or variable pitch) fonts.")
       (license license:gpl3+))))
 
+(define-public emacs-elisp-autofmt
+  ;; Use the latest commit since there are no proper releases nor tags, see
+  ;; <https://github.com/prusa3d/libbgcode/issues/31>.
+  (let ((commit "5b1fdc2761a80674123769ebf8a43fe312c0fa3f")
+        (revision "0"))
+    
+    (package
+      (name "emacs-elisp-autofmt")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://codeberg.org/ideasman42/emacs-elisp-autofmt")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "09wxrrqzccq3wv51n0blcln1zggmlm4fzrnj0svv8gir5q5g6l3h"))))
+      (build-system emacs-build-system)
+      (home-page "https://codeberg.org/ideasman42/emacs-elisp-autofmt")
+      (synopsis "Auto-format Emacs lisp")
+      (description "This is a package to auto-format Emacs lisp.")
+      (license license:gpl3+))))
+
 (define-public emacs-elisp-demos
   (package
     (name "emacs-elisp-demos")
-- 
2.49.0





This bug report was last modified 4 days ago.

Previous Next


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