aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2022-12-24 00:28:05 +0100
committerRicardo Wurmus <rekado@elephly.net>2022-12-24 00:32:07 +0100
commitddd6b70591dfa51d41aa14bab295b8508a07152d (patch)
treebd50f28c65b542965ee87fb5fb83ce390bf2e42d
parentb6d9e266a740c9706524bdd5c978f70e088675f1 (diff)
downloadguix-ddd6b70591dfa51d41aa14bab295b8508a07152d.tar
guix-ddd6b70591dfa51d41aa14bab295b8508a07152d.tar.gz
gnu: Add emacs-loccur.
* gnu/packages/emacs-xyz.scm (emacs-loccur): New variable.
-rw-r--r--gnu/packages/emacs-xyz.scm26
1 files changed, 25 insertions, 1 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 758cc84dff..8fec7b058f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -4,7 +4,7 @@
;;; Copyright © 2014, 2015, 2016, 2017, 2018 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Alex Kost <alezost@gmail.com>
;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch>
-;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2016, 2017, 2018, 2019 Chris Marusich <cmmarusich@gmail.com>
;;; Copyright © 2015, 2016, 2018, 2020 Christine Lemmer-Webber <cwebber@dustycloud.org>
;;; Copyright © 2016 Adriano Peluso <catonano@gmail.com>
@@ -10681,6 +10681,30 @@ another (presumably currently running) Emacs Lisp file.")
after buffer changes.")
(license license:gpl3+)))
+(define-public emacs-loccur
+ (let ((commit "01b7afa62589432a98171074abb8c5a1e089034a")
+ (revision "1"))
+ (package
+ (name "emacs-loccur")
+ (version (git-version "1.2.5" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/fourier/loccur/")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1b1x1xsiwqzsiss1jc6w990v1vfvbn5d5w67yzmx59s9ldjmdqq2"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/fourier/loccur")
+ (synopsis "Perform an occur-like folding in current buffer")
+ (description
+ "Loccur is a tool to quickly navigate a file. It is a minor mode for
+Emacs acting like occur but w/o creating a new window. It just hides all the
+text excepting lines containing matches.")
+ (license license:gpl3+))))
+
(define-public emacs-realgud
(package
(name "emacs-realgud")