[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41761: [PATCH] bug#41761: 28.0.50; M-x count-words counts words only
From: |
Eli Zaretskii |
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 14:08:18 +0300 |
> From: Stefan Kangas <stefan@marxist.se>
> Date: Fri, 14 Aug 2020 02:58:19 -0700
> Cc: 41761@debbugs.gnu.org, Pip Cet <pipcet@gmail.com>
>
> >> Expected result:
> >>
> >> message "Region has 1 line, 10 words, and 50 characters"
> >>
> >> Actual result:
> >>
> >> message "Region has 1 line, 1 word, and 50 characters"
> >
> > `count-words' should be disabling field-boundary behavior in
> > `forward-word-strictly' by setting `inhibit-field-text-motion'. Patch
> > included.
>
> Thanks for the patch. It looks good to me so I pushed it as commit
> c560ba3036d8.
Thanks. This change in behavior should be in NEWS. And I'm not sure
we shouldn't provide an optional knob to get back the old behavior:
some package or user might rely on it.
- bug#41761: [PATCH] bug#41761: 28.0.50; M-x count-words counts words only up to a field boundary, Stefan Kangas, 2020/08/14
- bug#41761: [PATCH] bug#41761: 28.0.50; M-x count-words counts words only up to a field boundary,
Eli Zaretskii <=
- bug#41761: [PATCH] bug#41761: 28.0.50; M-x count-words counts words only up to a field boundary, Daniel Koning, 2020/08/14
- bug#41761: [PATCH] bug#41761: 28.0.50; M-x count-words counts words only up to a field boundary, Stefan Kangas, 2020/08/14
- bug#41761: [PATCH] bug#41761: 28.0.50; M-x count-words counts words only up to a field boundary, Eli Zaretskii, 2020/08/15
- bug#41761: [PATCH] bug#41761: 28.0.50; M-x count-words counts words only up to a field boundary, Daniel Koning, 2020/08/15
- bug#41761: [PATCH] bug#41761: 28.0.50; M-x count-words counts words only up to a field boundary, Eli Zaretskii, 2020/08/15
- bug#41761: [PATCH] bug#41761: 28.0.50; M-x count-words counts words only up to a field boundary, Daniel Koning, 2020/08/15
- bug#41761: [PATCH] bug#41761: 28.0.50; M-x count-words counts words only up to a field boundary, Eli Zaretskii, 2020/08/16