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


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Pip Cet <pipcet <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; M-x count-words counts words only up to a field boundary
Date: Mon, 08 Jun 2020 16:52:25 +0000
(dotimes (i 10) (insert (propertize "test " 'field (cons nil nil))))

C-p C-a C-n C-SPC C-e M-x count-words

Expected result:

message "Region has 1 line, 10 words, and 50 characters"

Actual result:

message "Region has 1 line, 1 word, and 50 characters"




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

Previous Next


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