GNU bug report logs - #36016
[PATCH] gnu: Add emacs-reformatter.

Previous Next

Package: guix-patches;

Reported by: "LaFreniere\, Joseph" <joseph <at> lafreniere.xyz>

Date: Thu, 30 May 2019 20:41:02 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36016 in the body.
You can then email your comments to 36016 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#36016; Package guix-patches. (Thu, 30 May 2019 20:41:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "LaFreniere\, Joseph" <joseph <at> lafreniere.xyz>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 30 May 2019 20:41:02 GMT) Full text and rfc822 format available.

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

From: "LaFreniere\, Joseph" <joseph <at> lafreniere.xyz>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add emacs-reformatter.
Date: Thu, 30 May 2019 15:17:53 -0500
[Message part 1 (text/plain, inline)]
* gnu/packages/emacs-xyz.scm (emacs-reformatter): New variable.
---
gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

[emacs-reformatter.patch (text/x-patch, inline)]
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 6f74a2fc45..bdb2d678cb 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -804,6 +804,29 @@ skip set strings, which are arguments to @code{skip-chars-forward} and
 @code{skip-chars-backward}.")
     (license license:gpl3+)))
 
+(define-public emacs-reformatter
+  (package
+    (name "emacs-reformatter")
+    (version "0.4")
+    (source
+     (origin
+      (method git-fetch)
+      (uri (git-reference
+            (url "https://github.com/purcell/reformatter.el.git")
+            (commit version)))
+      (file-name (git-file-name name version))
+      (sha256
+       (base32
+        "0hhy6x1bkwlhdlarsgm06g3am4yh02yqv8qs34szpzgy53x84qah"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/purcell/reformatter.el")
+    (synopsis "Define commands which run reformatters on the current buffer")
+    (description
+     "This library lets elisp authors easily define an idiomatic command to
+reformat the current buffer using a command-line program, together with an
+optional minor mode which can apply this command automatically on save.")
+    (license license:gpl3+)))
+
 (define-public emacs-relint
   (package
     (name "emacs-relint")
[Message part 3 (text/plain, inline)]
--
Joseph LaFreniere

Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Fri, 31 May 2019 08:18:02 GMT) Full text and rfc822 format available.

Notification sent to "LaFreniere\, Joseph" <joseph <at> lafreniere.xyz>:
bug acknowledged by developer. (Fri, 31 May 2019 08:18:02 GMT) Full text and rfc822 format available.

Message #10 received at 36016-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: joseph <at> lafreniere.xyz
Cc: 36016-done <at> debbugs.gnu.org
Subject: Re: [bug#36016] [PATCH] gnu: Add emacs-reformatter.
Date: Fri, 31 May 2019 10:17:10 +0200
Hi Joseph,

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

Thanks!  I pushed this to the master branch with commit 8ae48674ce.

-- 
Ricardo





bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 28 Jun 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 302 days ago.

Previous Next


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