summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2017-12-18 08:40:35 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2017-12-18 08:40:35 +0300
commit69829f31aaf33a73c086ba1cca59c693d3a0893a (patch)
treea1f3265405d10601afb467d0d09e9e9b8951bf7a
parentwigust: Add emacs-crux. (diff)
downloadguix-wigust-69829f31aaf33a73c086ba1cca59c693d3a0893a.tar.gz
wigust: Add emacs-fancy-narrow.
* wigust/packages/emacs.scm (emacs-fancy-narrow): New variable.
-rw-r--r--wigust/packages/emacs.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/wigust/packages/emacs.scm b/wigust/packages/emacs.scm
index edcada3..e61611c 100644
--- a/wigust/packages/emacs.scm
+++ b/wigust/packages/emacs.scm
@@ -2744,3 +2744,26 @@ grouping buffers by their projectile root directory.")
"@{crux} provides a collection of useful functions for Emacs.")
(license license:gpl3+))))
+(define-public emacs-fancy-narrow
+ (package
+ (name "emacs-fancy-narrow")
+ (version "0.9.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/Malabarba/fancy-narrow/archive/"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0rf2rnzg82pdqch041yyx3f9ddixffkk9s2ydzg8hwy66sg3385n"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/Malabarba/fancy-narrow/releases")
+ (synopsis "Immitate narrow-to-region with more eye-candy")
+ (description "Unlike narrow-to-region, which completely hides text
+outside the narrowed region, this package simply deemphasizes the
+text, makes it readonly, and makes it unreachable. This leads to a
+much more natural feeling, where the region stays static (instead of
+being brutally moved to a blank slate) and is clearly highlighted with
+respect to the rest of the buffer.")
+ (license license:gpl2+)))