PATCHES - Countdown to October 18

2023-10-16 Thread Colin Campbell

Here is the current countdown report.

The next coun tdown will begin on October 18th.

A list of all merge requests can be found here:
https://gitlab.com/lilypond/lilypond/-/merge_requests?sort=label_priority


 Push:

!2135 output-distance.py: in `index.html`, show new shapes in black on 
the right - Werner Lemberg

https://gitlab.com/lilypond/lilypond/-/merge_requests/2135

!2134 Command-line option issues - Werner Lemberg
https://gitlab.com/lilypond/lilypond/-/merge_requests/2134

!2133 lilypond-book: Handle `papersize` without `line-width` gracefully 
- Werner Lemberg

https://gitlab.com/lilypond/lilypond/-/merge_requests/2133

!2132 lilypond-book: Remove lock file after usage - Werner Lemberg
https://gitlab.com/lilypond/lilypond/-/merge_requests/2132


 Countdown:

No patches in Countdown at this time.


 Review:

!2142 NR: Document `text-font-size` paper variable - Werner Lemberg
https://gitlab.com/lilypond/lilypond/-/merge_requests/2142

!2141 New command-line option `-dstaff-size` - Werner Lemberg
https://gitlab.com/lilypond/lilypond/-/merge_requests/2141

!2140 Correctly align lyrics on split notes - Thomas Morley
https://gitlab.com/lilypond/lilypond/-/merge_requests/2140

!2139 paper.scm: Add docstrings to `set-default-paper-size` and 
`set-paper-size` - Werner Lemberg

https://gitlab.com/lilypond/lilypond/-/merge_requests/2139

!2138 Document that cropped output files have integer big point 
dimensions - Werner Lemberg

https://gitlab.com/lilypond/lilypond/-/merge_requests/2138

!2137 web: Add source links to example images - Werner Lemberg
https://gitlab.com/lilypond/lilypond/-/merge_requests/2137

!2136 New `space-alist` types `shrink-space` and `semi-shrink-space` - 
Werner Lemberg

https://gitlab.com/lilypond/lilypond/-/merge_requests/2136


 New:

No patches in New at this time.


 Waiting:

No patches in Waiting at this time.


Cheers,

Colin




Re: Windows locale support

2023-10-16 Thread Bruno Haible
Hello Werner,

> >> I've
> >> tested LilyPond 2.25.9 within `cmd.exe` of a US version of
> >> Windows 10 (i.e., the standard language and region setup is for the
> >> USA), and I can't make it output anything else but US English.  It
> >> doesn't react to setting any of the `LANGUAGE`, `LANG`, or
> >> `LC_MESSAGES` environment variables.

These three sections from the GNU gettext FAQ explain how to debug this:
https://www.gnu.org/software/gettext/FAQ.html#integrating_noop
https://www.gnu.org/software/gettext/FAQ.html#windows_howto
https://www.gnu.org/software/gettext/FAQ.html#windows_setenv

Start with the third one.

> >> Looking into the source code I don't see that we are disabling
> >> gettext support on Windows.  What am I missing?
> > 
> > I don't believe Windows uses these environment variables to specify
> > locales.
> 
> Well, I read nothing in the documentation of 'gettext' that those
> variables are ignored on Windows.

If someone sets these environment variables, for example 'LANG',
it should have an effect on the strings returned by gettext().

But that is not the usual, common case. The usual case is that the
user does not set these environment variables, but instead uses the
Windows control panel to define the preferred "regional settings".
This should have an effect on the strings returned by gettext() as well.

> within `cmd.exe`

There, you need also to consider
https://www.gnu.org/software/gettext/manual/html_node/Working-in-a-Windows-console.html

Bruno






Re: Windows locale support

2023-10-16 Thread Werner LEMBERG

> Le dimanche 15 octobre 2023 à 18:39 +, Werner LEMBERG a écrit :
>
>> does localization of, say, `lilypond --help` work on Windows?  I've
>> tested LilyPond 2.25.9 within `cmd.exe` of a US version of
>> Windows 10 (i.e., the standard language and region setup is for the
>> USA), and I can't make it output anything else but US English.  It
>> doesn't react to setting any of the `LANGUAGE`, `LANG`, or
>> `LC_MESSAGES` environment variables.
>> 
>> Looking into the source code I don't see that we are disabling
>> gettext support on Windows.  What am I missing?
> 
> I don't believe Windows uses these environment variables to specify
> locales.

Well, I read nothing in the documentation of 'gettext' that those
variables are ignored on Windows.

Bruno, can you comment and/or have a look, please?  A Windows package
of LilyPond (which can be installed in any directory) is available at

  https://lilypond.org/development.html

> Have you tried changing the language of the whole system?

No, I didn't, and I don't want to.  I'm just following the
instructions in the Usage Manual

  https://lilypond.org/doc/v2.25/Documentation/usage/environment-variables

to check whether they are valid for Windows, too.


Werner