guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#34699] [PATCH] gnu: add emacs-smart-hungry-delete.


From: Nicolò Balzarotti
Subject: [bug#34699] [PATCH] gnu: add emacs-smart-hungry-delete.
Date: Fri, 1 Mar 2019 09:07:51 +0100

---
 gnu/packages/emacs-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index decab4f292..4f645dc695 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1231,7 +1231,39 @@ or XEmacs.")
 a set of simplified face specifications and a user-supplied color palette")
     (license license:gpl3+)))
 
+(define-public emacs-smart-hungry-delete
+  (package
+    (name "emacs-smart-hungry-delete")
+    (version "20170412.1343")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://melpa.org/packages/smart-hungry-delete-";
+             version
+             ".el"))
+       (sha256
+        (base32
+         "0x1jbzs54fcngj0ldhqsnjdn91mfywhm83dl4y9547lm1js6diy5"))))
+    (build-system emacs-build-system)
+    (home-page
+     "https://github.com/hrehfeld/emacs-smart-hungry-delete";)
+    (synopsis "smart hungry deletion of whitespace")
+    (description
+     "Hungrily deletes whitespace between cursor and next word, paren or
+delimiter while honoring some rules about where space should be
+left to separate words and parentheses.
+
+Usage:
+
+with use-package:
+
+(use-package smart-hungry-delete
+  :bind ((\"<backspace>\" . smart-hungry-delete-backward-char)
+\t\t (\"C-d\" . smart-hungry-delete-forward-char)))
+")
+    (license license:gpl2+)))
+
 (define-public emacs-howm
   (package
     (name "emacs-howm")
--
2.20.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]