From f3bfeef5406ee39834f97f3f9555a1da68fa460c Mon Sep 17 00:00:00 2001 From: Nicolò Balzarotti Date: Fri, 1 Mar 2019 09:07:51 +0100 Subject: gnu: Add emacs-smart-hungry-delete. * gnu/packages/emacs-xyz.scm (emacs-smart-hungry-delete): New variable. Signed-off-by: Arun Isaac --- gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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+)))) -- cgit 1.4.1