Subject: bug#44796: closed (Re: [bug#44796] [PATCH] gnu: Add emacs-undo-fu-session)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 23 Nov 2020 19:09:02 +0000

Your bug report

#44796: [PATCH] gnu: Add emacs-undo-fu-session

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

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

Subject: Re: [bug#44796] [PATCH] gnu: Add emacs-undo-fu-session
From: Arun Isaac <[email-masked]>
To: Niklas Eklund <[email-masked]>, [email-masked]
Date: Tue, 24 Nov 2020 00:38:36 +0530
List-Id: <debbugs-submit.debbugs.gnu.org>

Thanks for the patch! I added tests and pushed to master.

Subject: [PATCH] gnu: Add emacs-undo-fu-session
From: Niklas Eklund <[email-masked]>
To: [email-masked]
Date: Sun, 22 Nov 2020 14:26:40 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

>From 476d51e409163fdf86f0ec3fe86ca8f870cb8f08 Mon Sep 17 00:00:00 2001
From: Niklas Eklund <[email-masked]>
Date: Sun, 22 Nov 2020 14:15:57 +0100
Subject: [PATCH] gnu: Add emacs-undo-fu-session.

* gnu/packages/emacs-xyz.scm (emacs-undo-fu-session): New variable.
---
 gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 885487bf17..2316d86081 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3074,6 +3074,31 @@ adding convenient undo/redo without losing access to the full undo history,
 allowing you to visit all previous states of the document if you need.")
       (license license:gpl3+))))
 
+(define-public emacs-undo-fu-session
+  ;; There are no tagged releases upstream on gitlab, instead we are using
+  ;; the most recent commit.
+  (let ((commit "56cdd3538a058c6916bdf2d9010c2179f2505829")
+        (revision "0"))
+    (package
+      (name "emacs-undo-fu-session")
+      (version (git-version "0.2" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://gitlab.com/ideasman42/emacs-undo-fu-session")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "04wq1alrzzlidcb4mjb5j7pg68pks1vgv7kvvmi6dzb3l602mb2a"))))
+      (build-system emacs-build-system)
+      (home-page "https://gitlab.com/ideasman42/emacs-undo-fu-session")
+      (synopsis "Save & recover undo steps between Emacs sessions")
+      (description
+       "This package writes undo/redo information upon file save which is restored
+where possible when the file is loaded again.")
+      (license license:gpl3+))))
+
 (define-public emacs-s
   (package
     (name "emacs-s")
-- 
2.28.0