GNU bug report logs - #41761
28.0.50; M-x count-words counts words only up to a field boundary

Previous Next

Package: emacs;

Reported by: Pip Cet <pipcet <at> gmail.com>

Date: Mon, 8 Jun 2020 16:53:01 UTC

Severity: normal

Tags: patch

Found in version 28.0.50

Fixed in version 28.1

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>, Daniel Koning <dk <at> danielkoning.com>
Cc: 41761 <at> debbugs.gnu.org, pipcet <at> gmail.com
Subject: bug#41761: [PATCH] bug#41761: 28.0.50; M-x count-words counts words only up to a field boundary
Date: Fri, 14 Aug 2020 16:06:30 -0700
Eli Zaretskii <eliz <at> gnu.org> writes:

> It's okay to disagree, but I still think it should be in NEWS.  It's a
> change in a long-standing behavior, so users should be told about it.

I'm not sure how to best formulate the NEWS.

Does this look okay?

diff --git a/etc/NEWS b/etc/NEWS
index 53e60cdb5c..b375fef5b7 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -145,6 +145,11 @@ setting the variable 'auto-save-visited-mode'
buffer-locally to nil.
 description of the properties.  Likewise 'button-describe' does the
 same for a button.

+---
+** 'count-words' now skips field boundaries.
+Before, 'count-words' incorrectly stopped counting the number of words
+in buffer at a field boundary.  This bug has been fixed.
+
 
 * Changes in Specialized Modes and Packages in Emacs 28.1




This bug report was last modified 4 years and 278 days ago.

Previous Next


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