emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Counting sentences in `count-words'


From: Eli Zaretskii
Subject: Re: Counting sentences in `count-words'
Date: Sat, 21 May 2022 20:32:54 +0300

> From: Manuel Giraud <manuel@ledu-giraud.fr>
> Cc: emacs-devel@gnu.org
> Date: Sat, 21 May 2022 19:07:26 +0200
> 
> In fact, I've just discovered that my counting is not correct (if ! is
> the point and @ is the mark):
> 
> !I do.  Have.
> Three sentences.@     -- count--words --> 3 sentences
> 
> but:
> 
> !I do.  Have.
> Three sentences.      -- count--words --> 4 sentences (and I think it
> @                                                      still should be 3)

Sounds like you need to make sure each sentence is not a string whose
contents is whitespace and nothing else.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]