From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:39289) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1ho2Z6-000207-1b for guix-patches@gnu.org; Thu, 18 Jul 2019 05:19:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ho2Z4-0000BQ-N3 for guix-patches@gnu.org; Thu, 18 Jul 2019 05:19:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44593) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ho2Z4-0000BL-HY for guix-patches@gnu.org; Thu, 18 Jul 2019 05:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ho2Z4-0004rC-CF for guix-patches@gnu.org; Thu, 18 Jul 2019 05:19:02 -0400 Subject: [bug#36713] [PATCH 5/6] Add emacs-wc-mode. References: <87a7dbu4r1.fsf@zete.tk> In-Reply-To: <87a7dbu4r1.fsf@zete.tk> Resent-Message-ID: From: Jens =?UTF-8?Q?M=C3=B8lgaard?= Date: Thu, 18 Jul 2019 21:18:13 +1200 Message-ID: <87v9vzsnu2.fsf@zete.tk> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 36713@debbugs.gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain This adds emacs-wc-mode, a word-count tracker for the modeline. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0005-gnu-Add-emacs-wc-mode.patch Content-Transfer-Encoding: quoted-printable From=2045cba602196f45c99efc983926ac931f225a0f39 Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?Jens=3D20M=3DC3=3DB8lgaard?=3D 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. =2D-- 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 =2D-- 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 =E2=80=98wc= =E2=80=99 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+))) =2D-=20 2.22.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE/VzWzPUn4Rzyui0RiZ866GcCScAFAl0wOVUACgkQiZ866GcC ScBnIA//ZUGuLdHSGerGRuhxxGHq7ZrEVXgeqaBqZOCdgqj9+RaHyM2lZ/cXKZVh ArEdQRRrycbLcNNocdLJ2J8zYXH73OuvuD6OvmWbxD9xvxj969ZTcEpzsEDb20n4 ndTM1WX/RYaFJQfslhmyEPIh0Yp6p49ACNS6D4MaO/bJwaP+9IXqYBZQ7bTaUNIo /KVo3LgnX0mN4/+H8kLteRN9uteJ5VS7zLuOrAiUh7ShKPGbILAMgnNdgWJN1Kfq gM6xLJ8ex2Kf/a64qe65WQGDfFCwYXTDy0BVzcystDMC9NE7m6fXF8tB/Bj/86ud 1FcEX2VDD1QH45UFMj2Ht61WFD6PLNXAkDn5zTcyUL8MAXa/uRTy1n+S/UKKRWmk +rURSfwa9P/LqnXEPu9VVverKezJjzDK+D7GXMgX4ij4ZVYWfuEFq5rgXODzWLPj VpwXdKwBek2ukHb56cT0SkctADVJ7Or4RBKP+wLlM5k1hoDVib/cwpG8uYr4HEad LpbnsVdypORBEL/gfxSf7LNbiZGLzCK1hKWzRZQZCA7t/FthOx4STGekU27e+0OD K9GqjXS5n+IXRG4Q+fD1r+UEruhPCp34wRrDjW3ddst+yKFQ/uE5StvrcZqRcdUy otJVWJ/S6XRydRozd3o0NFITtVxZVYBLxvjvSVggGB6b1KkqgEI= =65+Y -----END PGP SIGNATURE----- --==-=-=--