GNU bug report logs - #36713
[PATCH 0/6] Add six Emacs packages.

Previous Next

Package: guix-patches;

Reported by: Jens Mølgaard <jens <at> zete.tk>

Date: Thu, 18 Jul 2019 08:44:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jens Mølgaard <jens <at> zete.tk>
To: 36713 <at> debbugs.gnu.org
Subject: [bug#36713] [PATCH 5/6] Add emacs-wc-mode.
Date: Thu, 18 Jul 2019 21:18:13 +1200
[Message part 1 (text/plain, inline)]
This adds emacs-wc-mode, a word-count tracker for the modeline.

[0005-gnu-Add-emacs-wc-mode.patch (text/x-patch, inline)]
From 45cba602196f45c99efc983926ac931f225a0f39 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jens=20M=C3=B8lgaard?= <jens <at> zete.tk>
Date: Thu, 18 Jul 2019 19:55:46 +1200
Subject: [PATCH 5/6] gnu: Add emacs-wc-mode.

* gnu/packages/emacs-xyz.scm (emacs-wc-mode): New variable.
---
 gnu/packages/emacs-xyz.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 674b0d6748..cbec471a9d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -16690,3 +16690,27 @@ zip utility (default is @code{zip}).")
     (description "@code{ox-pandoc} is an exporter for converting Org-mode
 files to numerous other formats via Pandoc.")
     (license license:gpl3+)))
+
+(define-public emacs-wc-mode
+  (package
+    (name "emacs-wc-mode")
+    (version "1.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/bnbeckwith/wc-mode.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0pjlxv46zzqdq6q131jb306vqlg4sfqls1x8vag7mmfw462hafqp"))))
+    (build-system emacs-build-system)
+    (home-page "https://github.com/bnbeckwith/wc-mode")
+    (synopsis "Running word count with goals (minor mode)")
+    (description "@code{wc-mode} is a minor mode, providing a ‘wc’ function
+for Emacs buffers as well as a modeline addition with live word, line and
+character counts.  Additionally, a user can set specific goals for adding or
+deleting words.  These goals were partly inspired by 750words.com where the
+goal of the site is to encourage writing by setting a goal of 750 words at a
+time.")
+    (license license:gpl3+)))
-- 
2.22.0

[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 294 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.