Subject: bug#57773: closed (Re: [bug#57773] [PATCH] gnu: add emacs-transpose-mark)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 18 Sep 2022 09:27:02 +0000

Your bug report

#57773: [PATCH] * gnu/packages/emacs-xyz.scm: Added emacs-transpose-mark

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
57773: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57773
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#57773] [PATCH] gnu: add emacs-transpose-mark
From: Nicolas Goaziou <[email-masked]>
To: Trevor Richards <[email-masked]>
Cc: [email-masked]
Date: Sun, 18 Sep 2022 11:26:47 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Trevor Richards <[email-masked]> writes:

> +(define-public emacs-transpose-mark
> +  (let ((commit "667327602004794de97214cf336ac61650ef75b7")
> +        (revision "0"))

Thank you. I normalized your commit message and applied your patch with
the changes below.

> +    (package
> +      (name "emacs-transpose-mark")
> +      (version (git-version "0.0.1" revision commit))

Base version is actually "0": I couldn't find any tag nor a Version keyord. 

> +         (uri (git-reference
> +               (url "https://github.com/kwrooijen/transpose-mark.git")

I removed the ".git" suffix.

> +      (home-page "https://github.com/kwrooijen/transpose-mark.git")

Ditto.

> +      (synopsis "A small library for transposing lines and regions.")

Synopsis are not expected to start with an article, nor end with a full
stop.

> +      (description "Transpose mark provides some commands that makes
> +transposing lines and regions easier. You can mark a line and transpose it
> +with a line at point, or \"mark\" a region and transpose it with another
> +region a point. The plugin provides visual feedback for marked
> regions.")

I added two spaces between sentences.

> +      (license license:gpl3))))

License is "gpl3+": it contains "or (at your option) any later version"

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] * gnu/packages/emacs-xyz.scm: Added emacs-transpose-mark
From: Trevor Richards <[email-masked]>
To: [email-masked]
Date: Tue, 13 Sep 2022 08:21:37 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

---
 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 19be038746..7b85a0f5ec 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -15771,6 +15771,30 @@ (define-public emacs-transpose-frame
 selected frame.")
     (license license:bsd-2)))
 
+(define-public emacs-transpose-mark
+  (let ((commit "667327602004794de97214cf336ac61650ef75b7")
+        (revision "0"))
+    (package
+      (name "emacs-transpose-mark")
+      (version (git-version "0.0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/kwrooijen/transpose-mark.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "03wc50vn1kmrgnzzhs06pwpap2p2rx84wwzxw0hawsg1f1l35m2x"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/kwrooijen/transpose-mark.git")
+      (synopsis "A small library for transposing lines and regions.")
+      (description "Transpose mark provides some commands that makes
+transposing lines and regions easier. You can mark a line and transpose it
+with a line at point, or \"mark\" a region and transpose it with another
+region a point. The plugin provides visual feedback for marked regions.")
+      (license license:gpl3))))
+
 (define-public emacs-key-chord
   (package
     (name "emacs-key-chord")
-- 
2.37.3