From fb3aeaf7de9182d5300464e54f58181da6b37110 Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Wed, 2 May 2018 18:55:05 +0300 Subject: [PATCH] gnu: Add emacs-move-text. * gnu/packages/emacs.scm (emacs-move-text): New public variable. --- gnu/packages/emacs.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index f217001de6..ed5d19497c 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -8316,3 +8316,24 @@ arXiv, Google Scholar, Library of Congress, etc. (synopsis "List-manipulation utility functions") (description "This package provides a list manipulation library for Emacs.") (license license:gpl3+))) + +(define-public emacs-move-text + (package + (name "emacs-move-text") + (version "2.0.8") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/emacsfodder/move-text/archive/" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1sjfja9r25692pgcldgnjzkapzy970m14jh9l4pajysiqcdk72g0")))) + (build-system emacs-build-system) + (home-page "https://github.com/emacsfodder/move-text") + (synopsis "Move current line or region with M-up or M-down") + (description "This package provide functions to move the current line +using @kbd{M-up} or @kbd{M-down} if a region is marked, it will move the +region instead.") + (license license:gpl3+)))