[PATCH] gnu: Add emacs-highlight-indent-guides.

DoneSubmitted by LaFreniere, Joseph.
Details
2 participants
  • LaFreniere, Joseph
  • Nicolas Goaziou
Owner
unassigned
Severity
normal
L
L
LaFreniere, Joseph wrote on 5 Apr 2020 06:26
(address . guix-patches@gnu.org)
87d08mzhf2.fsf@odyssey.lafreniere.xyz
Patch file is attached.

--
Joseph LaFreniere
From bf1f969e5b46a8a31043b83272ae521834712781 Mon Sep 17 00:00:00 2001
From: Joseph LaFreniere <joseph@lafreniere.xyz>
Date: Sat, 4 Apr 2020 23:25:01 -0500
Subject: [PATCH] gnu: Add emacs-highlight-indent-guides.

* gnu/packages/emacs-xyz.scm (emacs-highlight-indent-guides): New variable.
---
gnu/packages/emacs-xyz.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index cd2562103c..11e51d397d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -6885,6 +6885,35 @@ functions to assist in reviewing changes on files.")
 environments (virtualenv) inside Emacs.")
     (license license:gpl3+)))
 
+(define-public emacs-highlight-indent-guides
+  (let ((version "0.8.5") ; from package metadata
+        (revision "0")
+        (commit "c2c9de4d01edfb89609c91d4d7f1d81312015a2c"))
+    (package
+      (name "emacs-highlight-indent-guides")
+      (version (git-version version revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/DarthFennec/highlight-indent-guides.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "10chvqnmdmkx6i9sigqframr85ziyafiz44glwhvhjajfkv42ad2"))))
+      (build-system emacs-build-system)
+      (home-page
+       "https://github.com/DarthFennec/highlight-indent-guides")
+      (synopsis "Minor mode to highlight indentation")
+      (description
+       "This package provides a minor mode to highlight indentation levels via
+font-lock.  Indent widths are dynamically discovered, which means this
+correctly highlights in any mode, regardless of indent width, even in
+languages with non-uniform indentation such as Haskell.  This mode works
+properly around hard tabs and mixed indentation and behaves well in large
+buffers.")
+      (license license:expat))))
+
 (define-public emacs-highlight-indentation
   ;; Last release version is from 2015.
   (let ((commit "d03803f2c06749c430443a3d24e039cbafc9c58f")
-- 
2.26.0
N
N
Nicolas Goaziou wrote on 5 Apr 2020 10:23
(name . LaFreniere, Joseph)(address . joseph@lafreniere.xyz)(address . 40443-done@debbugs.gnu.org)
87wo6ubath.fsf@nicolasgoaziou.fr
Hello,

"LaFreniere, Joseph" <joseph@lafreniere.xyz> writes:

Toggle quote (2 lines)
> Patch file is attached.

Applied as bdea16a8e6f860b3851340484c5cfcbfca106cc6. Thank you.

Regards,

--
Nicolas Goaziou
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 40443@debbugs.gnu.org