[PATCH 4/4] gnu: Add emacs-column-enforce-mode.

  • Done
  • quality assurance status badge
Details
2 participants
  • Nicolas Goaziou
  • Rostislav Svoboda
Owner
unassigned
Submitted by
Rostislav Svoboda
Severity
normal
R
R
Rostislav Svoboda wrote on 11 Mar 2023 15:49
(address . guix-patches@gnu.org)(name . Rostislav Svoboda)(address . Rostislav.Svoboda@gmail.com)
20230311144938.765-4-Rostislav.Svoboda@gmail.com
* gnu/packages/emacs-xyz.scm (emacs-column-enforce-mode): New variable.
---
gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (39 lines)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index cbd0e64e65..f77673cc44 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -26881,6 +26881,32 @@ (define-public emacs-spaceline-next
(base32 "11lwckqcgzsahrkkm5wk1ph4kc7d4yz05r7251g8c9f0q6vdj9dp"))
(file-name (git-file-name name version)))))))
+(define-public emacs-column-enforce-mode
+ (let ((commit "14a7622f2268890e33536ccd29510024d51ee96f")
+ (revision "0"))
+ (package
+ (name "emacs-column-enforce-mode")
+ (version (git-version "1.0.4" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
+ "https://github.com/jordonbiondo/column-enforce-mode")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1vxra5vk78yns2sw89m41bggczqg1akq6xvzfs9kylhkg5yz3g7g"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/jordonbiondo/column-enforce-mode")
+ (synopsis "Highlight text that extends beyond a certain column")
+ (description
+ "Highlight text that extends beyond a certain column. Can be used to enforce
+80 column rule (well more like suggest, not enforce). Meant to be a very
+lightweight, zero configuration, way to help enforce the 80 column rule. It can be
+configured for any N-column rule however.")
+ (license license:gpl3+))))
+
(define-public emacs-column-marker
(package
(name "emacs-column-marker")
--
2.39.2
N
N
Nicolas Goaziou wrote on 24 Mar 2023 10:15
(name . Rostislav Svoboda)(address . rostislav.svoboda@gmail.com)(address . 62124-done@debbugs.gnu.org)
87o7oizf11.fsf@nicolasgoaziou.fr
Hello,

Rostislav Svoboda <rostislav.svoboda@gmail.com> writes:

Toggle quote (3 lines)
> * gnu/packages/emacs-xyz.scm (emacs-column-enforce-mode): New
> variable.

I tweaked the description and applied your patch. Thank you.

Regards,
--
Nicolas Goaziou
Closed
?