From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#65908: 29.1.50; Emacs 29 regresses on macOS Date: Thu, 5 Oct 2023 10:48:23 +0100 Message-ID: References: <8875281f07b4d23d857c@heytings.org> <83o7hd4n5n.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23033"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , gregory@heytings.org, 65908@debbugs.gnu.org, stefankangas@gmail.com, ccsmile2008@outlook.com To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 05 11:49:04 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qoKyd-0005it-Os for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Oct 2023 11:49:03 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qoKyS-0006tW-T5; Thu, 05 Oct 2023 05:48:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qoKyP-0006rP-LY for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2023 05:48:50 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qoKyK-0001f4-HL for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2023 05:48:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qoKyc-0000dK-7q for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2023 05:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Oct 2023 09:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65908 X-GNU-PR-Package: emacs Original-Received: via spool by 65908-submit@debbugs.gnu.org id=B65908.16964993322391 (code B ref 65908); Thu, 05 Oct 2023 09:49:02 +0000 Original-Received: (at 65908) by debbugs.gnu.org; 5 Oct 2023 09:48:52 +0000 Original-Received: from localhost ([127.0.0.1]:46048 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoKyR-0000cV-Qp for submit@debbugs.gnu.org; Thu, 05 Oct 2023 05:48:52 -0400 Original-Received: from dane.soverin.net ([185.233.34.25]:44893) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoKyQ-0000bj-3o for 65908@debbugs.gnu.org; Thu, 05 Oct 2023 05:48:50 -0400 Original-Received: from smtp.soverin.net (c04smtp-lb01.int.sover.in [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4S1RZd5NHwzyfB; Thu, 5 Oct 2023 09:48:25 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4S1RZc6NJLzM6; Thu, 5 Oct 2023 09:48:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1696499305; bh=hevatiiJW68zOPr5UgmNNTUHMdpPChepq52tNzcDSXU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kvWyyrDF9O9SChDJSWU3LNfPcPncakIdYQFD/dS4UFt1oAddvN+OYXLo3/dOGHobK 6dAwY0Psztt+i6GZINmP3uaFE3uILxUItA32iR0E7/3JHsn2CP061viyIW59i1JbDS 1TS8ahCGkkXchCm2YhzmXJW8JlFiYfDtn5eJ7PI7qGypb8ZElYHtbJtneO/xMiS3hn 1HakqLP4ZhMi1qSTW4mrxLvoE1mNQ+3i6uxlZmESlTWtm4MKL/EHz/GsgBOL4S0ODL O2PBb8x8cU9HERB3ia1Tzps0XDx8JpecevDCur8B9KtL3fnmJ6agd7nZJjv0bmCsA1 ybZeOo9ZMtZ6w== X-Soverin-Authenticated: true Mail-Followup-To: Alan Third , Gerd =?UTF-8?Q?M=C3=B6llmann?= , Eli Zaretskii , stefankangas@gmail.com, gregory@heytings.org, 65908@debbugs.gnu.org, ccsmile2008@outlook.com Content-Disposition: inline In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:271859 Archived-At: 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