GNU bug report logs - #65908
29.1.50; Emacs 29 regresses on macOS

Previous Next

Package: emacs;

Reported by: Zhang Haijun <ccsmile2008 <at> outlook.com>

Date: Wed, 13 Sep 2023 06:48:02 UTC

Severity: normal

Found in version 29.1.50

Fixed in version 29.2

Done: Gerd Möllmann <gerd.moellmann <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #59 received at 65908 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, gregory <at> heytings.org, 65908 <at> debbugs.gnu.org,
 stefankangas <at> gmail.com, ccsmile2008 <at> outlook.com
Subject: Re: bug#65908: 29.1.50; Emacs 29 regresses on macOS
Date: Thu, 5 Oct 2023 10:48:23 +0100
On Thu, Oct 05, 2023 at 10:52:21AM +0200, Gerd Möllmann wrote:
> Conclusion so far, for me,
> 
> - don't selocale in ns_init_locale, only setenv LANG, or set LC_CTYPE,
>   maybe.

setlocale in ns_init_locale is only there to check if the locale is
valid, it resets it back to its initial value at the end.

> - localeIndentifier is wrong for mixed cases like "en_DE".

There was some trouble with warning messages in the terminal when
using an invalid locale ID (see bug#51321), but that may only be
because Daniel had changed the code to set LC_ALL instead of LANG.

I preferred setting LANG anyway because it acts as a fallback, and
this is pretty much intended as a fallback, anything else explicitly
set will override it.

Out of interest, when is it slow? Is it when we have an invalid locale
ID?
-- 
Alan Third




This bug report was last modified 1 year and 226 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.