From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65908: 29.1.50; Emacs 29 regresses on macOS Date: Thu, 05 Oct 2023 20:02:41 +0300 Message-ID: <83r0m92ea6.fsf@gnu.org> References: <83o7hd4n5n.fsf@gnu.org> <834jj53v8q.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="8359"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, gregory@heytings.org, 65908@debbugs.gnu.org, stefankangas@gmail.com, ccsmile2008@outlook.com To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 05 19:04:05 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 1qoRld-0001qX-60 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Oct 2023 19:04:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qoRlJ-00068y-M4; Thu, 05 Oct 2023 13:03:45 -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 1qoRlH-00067g-Ow for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2023 13:03:44 -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 1qoRlH-00016K-GD for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2023 13:03:43 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qoRlZ-0006FN-Ou for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2023 13:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Oct 2023 17:04:01 +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.169652538523938 (code B ref 65908); Thu, 05 Oct 2023 17:04:01 +0000 Original-Received: (at 65908) by debbugs.gnu.org; 5 Oct 2023 17:03:05 +0000 Original-Received: from localhost ([127.0.0.1]:48420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoRkf-0006E2-E4 for submit@debbugs.gnu.org; Thu, 05 Oct 2023 13:03:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoRkc-0006DX-RF for 65908@debbugs.gnu.org; Thu, 05 Oct 2023 13:03:04 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qoRkD-0000yQ-PN; Thu, 05 Oct 2023 13:02:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=YefLKACtmdoVHLHuNvcuWCkVpf8+HaDwk0XPpeoV1B0=; b=DS48crgwavbV5QWFkPJH NeEQIfEhmsgzzKYriYStzF0QpsmROD21DvVU91JACwyPA+rECsDoAQigQ6aG7bnpSPRTYRrNh8cDy pHOPqsgKf/ztYDfYGOTrNCw03uPIXqCnwra9N1iVIpmrK55GxTw7mhwp2tLPJavI1HWM5C12uZtSi sTY2LZZom+g8PB+39JEqV7v7NmDUd7g9jbiderH6sT4PzI64i1Z3U+6UU96jdQe6E2FqoMJ1oBhpp vLGVRRZY2Kgw+q70YNdZJVfb4rYwx6aObss1gtChaA7UYZEWsW4i3pphrO6o0uLix25lBKrxyo9DD pQBC+91AEcE0lw==; In-Reply-To: (message from Alan Third on Thu, 5 Oct 2023 17:33:56 +0100) 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:271898 Archived-At: > Date: Thu, 5 Oct 2023 17:33:56 +0100 > From: Alan Third > Cc: Gerd Möllmann , > ccsmile2008@outlook.com, 65908@debbugs.gnu.org, > gregory@heytings.org, stefankangas@gmail.com > > On Thu, Oct 05, 2023 at 07:11:01PM +0300, Eli Zaretskii wrote: > > > From: Gerd Möllmann > > > Cc: Eli Zaretskii , gregory@heytings.org, > > > 65908@debbugs.gnu.org, stefankangas@gmail.com, ccsmile2008@outlook.com > > > Date: Thu, 05 Oct 2023 15:18:42 +0200 > > > > > > I'd like to propose the attached patch for problem of invalid LANG > > > setting. This simply falls back to "en_US.UTF-8" if LANG isn't valid, > > > or something valid can't be deduced from the locale. > > > > Why is it reasonable to force the UTF-8 codeset as the fallback? > > Both the macOS terminals I have access to use UTF-8 as their default, > and I'm not sure if they even let you change it. Therefore it seemed > reasonable to me that the default for Emacs should also be UTF-8. Are you saying that macOS doesn't support non-UTF-8 encodings? > > What about having a variable exposed to Lisp that allows the users to > > control the fallback value of LANG? > > Is this not too early in startup for that? If not then couldn't the > user just use setenv and avoid this whole thing? Maybe that's fine, I just asked a question.