Subject: bug#57759: closed (Re: [bug#57759] [PATCH] * gnu/packages/emacs-xyz.xcm (emacs-expand-region): Update version)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 13 Sep 2022 12:50:02 +0000

Your bug report

#57759: [PATCH] * gnu/packages/emacs-xyz.xcm (emacs-expand-region): Update version

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].

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

Subject: Re: [bug#57759] [PATCH] * gnu/packages/emacs-xyz.xcm (emacs-expand-region): Update version
From: Nicolas Goaziou <[email-masked]>
To: Trevor Richards <[email-masked]>
Cc: [email-masked]
Date: Tue, 13 Sep 2022 14:49:39 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Trevor Richards <[email-masked]> writes:

> Expand region has continued to evolve outside of tagged releases.
> The current git version has patches and helper functions that the
> last point release does not.

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

Regards,
-- 
Nicolas Goaziou

Subject: [PATCH] * gnu/packages/emacs-xyz.xcm (emacs-expand-region): Update version
From: Trevor Richards <[email-masked]>
To: [email-masked]
Date: Mon, 12 Sep 2022 15:25:20 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

Expand region has continued to evolve outside of tagged releases.
The current git version has patches and helper functions that the
last point release does not.

---
 gnu/packages/emacs-xyz.scm | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 19be038746..7c94aed02d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -5045,18 +5045,20 @@ (define-public emacs-es-mode
     (license license:gpl3+)))
 
 (define-public emacs-expand-region
-  (package
+  (let ((commit "c5c4362741deebb0985a8a29f9b8b0e25160764a")
+        (revision "1"))
+    (package
     (name "emacs-expand-region")
-    (version "0.11.0")
+    (version (git-version "0.11.0" revision commit))
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/magnars/expand-region.el")
-             (commit version)))
+             (commit commit)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0h40dhc3kn8fq86xnwi5lz7ql8my8737y7wkqr897p15y90swr35"))))
+        (base32 "17h58v5mnggbrwrp61cwkqx8hzazkdqyz9p6s1hl9g2hys7zkb00"))))
     (build-system emacs-build-system)
     (home-page "https://github.com/magnars/expand-region.el")
     (synopsis "Increase selected region by semantic units")
@@ -5064,7 +5066,7 @@ (define-public emacs-expand-region
      "Expand region increases the selected region by semantic units.  Just
 keep pressing the key until it selects what you want.  There's also
 @code{er/contract-region} if you expand too far.")
-    (license license:gpl3+)))
+    (license license:gpl3+))))
 
 (define-public emacs-explain-pause-mode
   (let ((commit "2356c8c3639cbeeb9751744dbe737267849b4b51")
-- 
2.37.3