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 17:33:56 +0100 Message-ID: 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="25847"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Gerd =?UTF-8?Q?M=C3=B6llmann?= , gregory@heytings.org, 65908@debbugs.gnu.org, stefankangas@gmail.com, ccsmile2008@outlook.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 05 18:35:24 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 1qoRJr-0006TV-LE for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Oct 2023 18:35:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qoRJY-0007wT-Rh; Thu, 05 Oct 2023 12:35:04 -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 1qoRJH-0007th-MD for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2023 12:34:51 -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 1qoRJE-0000Qx-Hz for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2023 12:34:46 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qoRJW-0005VM-Hd for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2023 12:35: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 16:35: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.169652366821116 (code B ref 65908); Thu, 05 Oct 2023 16:35:02 +0000 Original-Received: (at 65908) by debbugs.gnu.org; 5 Oct 2023 16:34:28 +0000 Original-Received: from localhost ([127.0.0.1]:48380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoRIy-0005UW-4P for submit@debbugs.gnu.org; Thu, 05 Oct 2023 12:34:28 -0400 Original-Received: from dane.soverin.net ([2a10:de80:1:4092:b9e9:2295:0:1]:55093) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoRIs-0005UE-QE for 65908@debbugs.gnu.org; Thu, 05 Oct 2023 12:34:26 -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 4S1cZZ1mHDz10C4; Thu, 5 Oct 2023 16:33:58 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.99]) by soverin.net (Postfix) with ESMTPSA id 4S1cZY0Z45zM6; Thu, 5 Oct 2023 16:33:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1696523638; bh=eV5eCsALcpJI8CrajjRqC3dBuPLyXTCmOZu4/TjZ3CA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XFkqnRYBl2R59hBQn54ODryJCtwGQ3gqIK5SOPov3Q5mTM8Ny3emsexyT/lSW/FUU QtIj16YWJz9oJ6DKKQhAiDkmro+gYeCsRaaXZrahk4gIfwru2mnapxiesMOJCVgwo9 D+2MDC2uUR/mu4l0I1uyN0EIlh7EuNGQLBwIyiDR/lpZdxRGGxFlatajvRgWr65Rny r8oVANAzuB8XU/6mmrG3vNMG89T4QGXb/q6z4nSQPrf2oWhY0+syAqDu+lxRXi2REk ijZa0EIzA74o11rvkxCnc3JLFarj8LPX/SxfcQLfdSc67BuAT5IPjbhtBGRKmC6tqN HEVlPa5NbBmxg== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.96) (envelope-from ) id 1qoRIS-0005fQ-1B; Thu, 05 Oct 2023 17:33:56 +0100 X-Soverin-Authenticated: true Mail-Followup-To: Alan Third , Eli Zaretskii , Gerd =?UTF-8?Q?M=C3=B6llmann?= , ccsmile2008@outlook.com, 65908@debbugs.gnu.org, gregory@heytings.org, stefankangas@gmail.com Content-Disposition: inline In-Reply-To: <834jj53v8q.fsf@gnu.org> 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:271893 Archived-At: 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. > 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? -- Alan Third