[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.
- Counting sentences in `count-words', Manuel Giraud, 2022/05/20
- Re: Counting sentences in `count-words', Eli Zaretskii, 2022/05/21
- Re: Counting sentences in `count-words', Manuel Giraud, 2022/05/21
- Re: Counting sentences in `count-words',
Eli Zaretskii <=
- Re: Counting sentences in `count-words', Manuel Giraud, 2022/05/22
- Re: Counting sentences in `count-words', Visuwesh, 2022/05/22
- Re: Counting sentences in `count-words', Manuel Giraud, 2022/05/23
- Re: Counting sentences in `count-words', Eli Zaretskii, 2022/05/23
- Re: Counting sentences in `count-words', Lars Ingebrigtsen, 2022/05/23
- Re: Counting sentences in `count-words', Manuel Giraud, 2022/05/23
- Re: Counting sentences in `count-words', Eli Zaretskii, 2022/05/23
- Re: Counting sentences in `count-words', Manuel Giraud, 2022/05/23
- Re: Counting sentences in `count-words', Filipp Gunbin, 2022/05/24
- Re: Counting sentences in `count-words', Manuel Giraud, 2022/05/25