Re: new snapshot available: grep-3.11.68-05f8

2025-04-08 Thread Jim Meyering
On Tue, Apr 8, 2025 at 9:47 AM Bruno Haible  wrote:
> Hi Jim,
>
> > > >   On Windows platforms and on AIX in 32-bit mode, grep now supports
> > > >   Unicode characters outside the Basic Multilingual Plane.
> > >
> > > I wouldn't claim this, since the support is not yet complete. ...
> > ...
> > Part of the motivation for the quick release is to give Debian's
> > trixie a chance to include a newer grep. That window will close soon,
> > maybe on April 15, per
> > https://release.debian.org/testing/freeze_policy.html
>
> I see. It's clear that it's too risky to make this change now, with
> so little slack time.
>
> Can you please correct the NEWS entry, to state
>
>   On Windows platforms and on AIX in 32-bit mode, grep in some cases
>   now supports Unicode characters outside the Basic Multilingual Plane.
>
> (Added words "in some cases".) ?

Done. Thanks. Pushed in your name.



Re: new snapshot available: grep-3.11.68-05f8

2025-04-08 Thread Bruno Haible via Gnulib discussion list
Hi Jim,

> > >   On Windows platforms and on AIX in 32-bit mode, grep now supports
> > >   Unicode characters outside the Basic Multilingual Plane.
> >
> > I wouldn't claim this, since the support is not yet complete. ...
> ...
> Part of the motivation for the quick release is to give Debian's
> trixie a chance to include a newer grep. That window will close soon,
> maybe on April 15, per
> https://release.debian.org/testing/freeze_policy.html

I see. It's clear that it's too risky to make this change now, with
so little slack time.

Can you please correct the NEWS entry, to state

  On Windows platforms and on AIX in 32-bit mode, grep in some cases
  now supports Unicode characters outside the Basic Multilingual Plane.

(Added words "in some cases".) ?

Bruno






Re: new snapshot available: grep-3.11.68-05f8

2025-04-05 Thread Jim Meyering
On Sat, Apr 5, 2025 at 10:47 AM Bruno Haible  wrote:
> Hi Jim,
>
> Among the news for grep 3.12:
>
> >   On Windows platforms and on AIX in 32-bit mode, grep now supports
> >   Unicode characters outside the Basic Multilingual Plane.
>
> I wouldn't claim this, since the support is not yet complete. To make
> it complete, the Gnulib 'regex' module needs to switch from 'wchar_t'
> to 'char32_t' as well. I have started work on this, but it's not
> ready for consumption yet, since I plan(ned) to strengthen the unit
> tests of the 'regex' module first, and that is a major undertaking.
>
> But maybe I should change the plan and instead of strengthening the unit
> tests inside gnulib, just make the change and use grep's tests on Cygwin,
> to verify the result. (On glibc platforms where wchar_t and char32_t
> are of the same size and same semantics, the changes will be a no-op
> anyway.)
>
> With that changed plan, the stated improvement could be ready in
> two weeks. Would you agree with that changed plan? Would you be willing
> to delay the grep-3.12 release by two weeks, to include the completion
> of this feature?

Hi Bruno,

Thanks for the offer.

Part of the motivation for the quick release is to give Debian's
trixie a chance to include a newer grep. That window will close soon,
maybe on April 15, per
https://release.debian.org/testing/freeze_policy.html

It's been long enough since the preceding release that I am being
perhaps over-optimistic to aim to release in just a few days, but it
feels like a worthwhile goal.

I've added Anibal Monsalve Salazar (debian grep maintainer) to the
recipient list: Anibal, what do you think about getting an eventual
grep-3.12 into trixie? If there's a chance, what is the deadline?

Thanks,
Jim



Re: new snapshot available: grep-3.11.68-05f8

2025-04-05 Thread Bruno Haible via Gnulib discussion list
Hi Jim,

Among the news for grep 3.12:

>   On Windows platforms and on AIX in 32-bit mode, grep now supports
>   Unicode characters outside the Basic Multilingual Plane.

I wouldn't claim this, since the support is not yet complete. To make
it complete, the Gnulib 'regex' module needs to switch from 'wchar_t'
to 'char32_t' as well. I have started work on this, but it's not
ready for consumption yet, since I plan(ned) to strengthen the unit
tests of the 'regex' module first, and that is a major undertaking.

But maybe I should change the plan and instead of strengthening the unit
tests inside gnulib, just make the change and use grep's tests on Cygwin,
to verify the result. (On glibc platforms where wchar_t and char32_t
are of the same size and same semantics, the changes will be a no-op
anyway.)

With that changed plan, the stated improvement could be ready in
two weeks. Would you agree with that changed plan? Would you be willing
to delay the grep-3.12 release by two weeks, to include the completion
of this feature?

Bruno