[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: |
Mon, 23 May 2022 14:06:24 +0300 |
> From: Manuel Giraud <manuel@ledu-giraud.fr>
> Cc: emacs-devel@gnu.org
> Date: Mon, 23 May 2022 10:16:06 +0200
>
> Visuwesh <visuweshm@gmail.com> writes:
>
> > Does it make sense to count sentences in prog-mode buffers? I think it
> > will needlessly increase the noise when the buffer isn't derived from
> > text-mode.
>
> You're right I could test on the derived mode. But then maybe someone
> wants to count sentences in a comment or a docstring. I don't know.
I'm not sure we should be bothered by that. After all, "words"
doesn't make much more sense when the major mode is for a programming
language, either. If we start distinguishing between major modes,
we'd need to provide a defcustom for that, etc. etc. I say let's keep
it simple.
Lars, WDYT?
- 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, 2022/05/21
- 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 <=
- 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
- Re: Counting sentences in `count-words', Filipp Gunbin, 2022/05/25
- Re: Counting sentences in `count-words', Eli Zaretskii, 2022/05/29