all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#44796] [PATCH] gnu: Add emacs-undo-fu-session
@ 2020-11-22 13:26 Niklas Eklund
  2020-11-23 19:08 ` bug#44796: " Arun Isaac
  0 siblings, 1 reply; 2+ messages in thread
From: Niklas Eklund @ 2020-11-22 13:26 UTC (permalink / raw)
  To: 44796

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: patch --]
[-- Type: text/x-patch, Size: 1879 bytes --]

From 476d51e409163fdf86f0ec3fe86ca8f870cb8f08 Mon Sep 17 00:00:00 2001
From: Niklas Eklund <niklas.eklund@posteo.net>
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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#44796: [PATCH] gnu: Add emacs-undo-fu-session
  2020-11-22 13:26 [bug#44796] [PATCH] gnu: Add emacs-undo-fu-session Niklas Eklund
@ 2020-11-23 19:08 ` Arun Isaac
  0 siblings, 0 replies; 2+ messages in thread
From: Arun Isaac @ 2020-11-23 19:08 UTC (permalink / raw)
  To: Niklas Eklund, 44796-done


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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-23 19:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-22 13:26 [bug#44796] [PATCH] gnu: Add emacs-undo-fu-session Niklas Eklund
2020-11-23 19:08 ` bug#44796: " Arun Isaac

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.