guix-commits
[Top][All Lists]
Advanced

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

46/88: gnu: Add emacs-fancy-narrow.


From: Oleg Pykhalov
Subject: 46/88: gnu: Add emacs-fancy-narrow.
Date: Wed, 2 May 2018 13:21:12 -0400 (EDT)

wigust pushed a commit to branch master
in repository guix.

commit 58b50580cf2e29e98721200cad4fee60fbe60f43
Author: Oleg Pykhalov <address@hidden>
Date:   Wed May 2 19:04:32 2018 +0300

    gnu: Add emacs-fancy-narrow.
    
    * gnu/packages/emacs.scm (emacs-fancy-narrow): New public variable.
---
 gnu/packages/emacs.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index de50744..1eea888 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -9180,3 +9180,27 @@ You should really read org-ref.org in this package for 
details.")
     (description "This package provides a @code{add-hooks} function tidies up
 duplicate hook and function names further into a single declarative call.")
     (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+)))



reply via email to

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