summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolò Balzarotti <anothersms@gmail.com>2019-03-01 09:07:51 +0100
committerArun Isaac <arunisaac@systemreboot.net>2020-12-11 11:52:04 +0530
commitf3bfeef5406ee39834f97f3f9555a1da68fa460c (patch)
treee6592cc408d4f9cbe9b02cc3989c223405e91591
parente530fb41287f8d048643c74fb349bd602abbf3e5 (diff)
downloadguix-f3bfeef5406ee39834f97f3f9555a1da68fa460c.tar.gz
gnu: Add emacs-smart-hungry-delete.
* gnu/packages/emacs-xyz.scm (emacs-smart-hungry-delete): New variable.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
-rw-r--r--gnu/packages/emacs-xyz.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 33b21f7fe3..24cd0173ce 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -25814,3 +25814,26 @@ anymore.  In this way, it's like a lightweight \"workspace\" manager, allowing
 you to easily restore one or more frames, including their windows, the
 windows' layout, and their buffers.")
     (license license:gpl3+)))
+
+(define-public emacs-smart-hungry-delete
+  (let ((commit "7c1d56a92481594e14d40b5fdf6c48657a0108a0"))
+    (package
+      (name "emacs-smart-hungry-delete")
+      (version "0.1")
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/hrehfeld/emacs-smart-hungry-delete")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "0mxaslx5823s68a8ggbbnmfk1jiswjvip5s4sg7ihfagnci72wni"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/hrehfeld/emacs-smart-hungry-delete")
+      (synopsis "Smart hungry deletion of whitespace")
+      (description "@code{emacs-smart-hungry-delete} hungrily deletes whitespace
+between cursor and next word, parenthesis or delimiter while honoring some
+rules about where space should be left to separate words and parentheses.")
+      (license license:gpl2+))))