[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51321: 29.0.50; date in modelines
From: |
Eli Zaretskii |
Subject: |
bug#51321: 29.0.50; date in modelines |
Date: |
Mon, 01 Nov 2021 16:34:58 +0200 |
> From: Filipp Gunbin <fgunbin@fastmail.fm>
> Cc: alan@idiocy.org, larsi@gnus.org, nisoni@algon.dk, stefan@marxist.se,
> 51321@debbugs.gnu.org, mardani29@yahoo.es
> Date: Mon, 01 Nov 2021 17:21:36 +0300
>
> >> So maybe we should check that the locale is valid before setting it...
> >
> > "Valid" in what sense? Is that locale not installed on your system,
> > or are you saying that it cannot exist?
>
> I think in the sense of 'locale -a | grep ru' in this case:
>
> ru_RU.ISO8859-5
> ru_RU.CP866
> ru_RU.CP1251
> ru_RU.UTF-8
> ru_RU.KOI8-R
> ru_RU
>
> Maybe it could exist, but it doesn't on macOS.
>
> > (And why does the warning come from Bash when it was Emacs who sets
> > the locale?)
>
> Forgot to tell - this output shows up when running shell command from
> emacs (M-! or similar).
Hmm... actually, why do we call setenv instead of calling setlocale
directly? Doesn't macOS support setlocale? AFAIU, calling setlocale
would then only affect Emacs itself, not its sub-processes.
- bug#51321: 29.0.50; date in modelines, Filipp Gunbin, 2021/11/01
- bug#51321: 29.0.50; date in modelines, Eli Zaretskii, 2021/11/01
- bug#51321: 29.0.50; date in modelines, Filipp Gunbin, 2021/11/01
- bug#51321: 29.0.50; date in modelines,
Eli Zaretskii <=
- bug#51321: 29.0.50; date in modelines, Filipp Gunbin, 2021/11/01
- bug#51321: 29.0.50; date in modelines, Alan Third, 2021/11/01
- bug#51321: 29.0.50; date in modelines, Daniel MartĂn, 2021/11/01
- bug#51321: 29.0.50; date in modelines, Niels Søndergaard, 2021/11/01
- bug#51321: 29.0.50; date in modelines, Filipp Gunbin, 2021/11/02
- bug#51321: 29.0.50; date in modelines, Stefan Kangas, 2021/11/02
- bug#51321: 29.0.50; date in modelines, Stefan Kangas, 2021/11/09
- bug#51321: 29.0.50; date in modelines, Filipp Gunbin, 2021/11/09
- bug#51321: 29.0.50; date in modelines, Filipp Gunbin, 2021/11/01