From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Newsgroups: gmane.emacs.bugs Subject: bug#65908: 29.1.50; Emacs 29 regresses on macOS Date: Thu, 05 Oct 2023 18:38:33 +0200 Message-ID: References: <83o7hd4n5n.fsf@gnu.org> <834jj53v8q.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15554"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , 65908@debbugs.gnu.org, stefankangas@gmail.com, gregory@heytings.org, 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 18:39:56 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 1qoROG-0003rI-NF for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Oct 2023 18:39:56 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qoRO7-0004dA-A9; Thu, 05 Oct 2023 12:39:47 -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 1qoRO3-0004cb-UI for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2023 12:39:43 -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 1qoRO3-0001qc-MK for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2023 12:39:43 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qoROL-0005dI-MU for bug-gnu-emacs@gnu.org; Thu, 05 Oct 2023 12:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Oct 2023 16:40: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.169652394221560 (code B ref 65908); Thu, 05 Oct 2023 16:40:01 +0000 Original-Received: (at 65908) by debbugs.gnu.org; 5 Oct 2023 16:39:02 +0000 Original-Received: from localhost ([127.0.0.1]:48388 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoRNO-0005bV-75 for submit@debbugs.gnu.org; Thu, 05 Oct 2023 12:39:02 -0400 Original-Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]:54331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoRNL-0005b7-Jr for 65908@debbugs.gnu.org; Thu, 05 Oct 2023 12:39:01 -0400 Original-Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-53639fb0ba4so2117432a12.0 for <65908@debbugs.gnu.org>; Thu, 05 Oct 2023 09:38:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696523915; x=1697128715; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=uXLhj0DOsstdOQytYPw7TxCJvOAIBn6SjjMHpssoGEo=; b=CbGHw3viacJ5EMVuMCCGgZSP4FHQI1BSB699zYUMnM5QUHiWFf9yBlG6xiefkkppnr 3cjWtRohxfJd7lPOuCh42kEFaw6yOR5T5PIPnWKaxzD/Sx/zMtXkFFMoJotQuIdm1/Ph D7pSTWPX1U4y/aSyoZAWFgyXinGn8/imohjGWTdkM7c0Wcct6rBOOoD6lB5fwiZdJ1VH OWMee4mBrVWvEHcjORFDKdlPQw7gge8ACQ3krlC+2d/atIiplkr3njTzXWXM075uS5J9 NkX0Vp0fElWOC8ipmnPXqs/XZu9St6YVaRwVjY3Y3efUMO5dUrcAV/7xHtEX33kuCYEF JNxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696523915; x=1697128715; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=uXLhj0DOsstdOQytYPw7TxCJvOAIBn6SjjMHpssoGEo=; b=hMxlEb2Cc+CnKQK1AWK7q/o/KybT4Ku8HQBmzvfsI/fJtO6MA9puyCGkSP07l/gznG IL9RfjwT3ZFyMUCwkBTFiMSMifsuq5a0sdkkV9toonB8nUFzhpjgAPD1juFFhAHaAqJQ 9jA6yLyMtNZFcqJ8/+VV40JCrG6svt5sl5HfrcSaHAmkozG8gnpveW+jtuQ6XFoI4Knd flmr7iVBwe3DGxyEPhNiNmP1xq5Lk1bwmHgtYayPn0MOKi9NFpb4EmnxoH1D9v7dJ7l4 le4a3AiH+dG+LKRLn8VpEoJPn0u9BmZ7CRVcrxoeYe6nmYiivFlgcsThymiR4B32bX/K r2Ig== X-Gm-Message-State: AOJu0YzJMIElY9etuWC+/aQomct9iokiM/UuIObmbe6miNjfruBc7inV Eq41VewixRpOMMn6oI3yvoM= X-Google-Smtp-Source: AGHT+IHuq5hNbm42YoOI6rlfTJBBKZGFlSZQAN+eyWDp39dfIxwl5PFS7fOBniRHYI0kODIBn5RLMA== X-Received: by 2002:a05:6402:b0b:b0:523:1ce9:1f41 with SMTP id bm11-20020a0564020b0b00b005231ce91f41mr5535702edb.18.1696523915159; Thu, 05 Oct 2023 09:38:35 -0700 (PDT) Original-Received: from Pro.fritz.box (pd9e3618b.dip0.t-ipconnect.de. [217.227.97.139]) by smtp.gmail.com with ESMTPSA id m10-20020aa7c2ca000000b00537fee52351sm1297443edp.28.2023.10.05.09.38.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 09:38:34 -0700 (PDT) In-Reply-To: (Alan Third's message of "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:271895 Archived-At: Alan Third writes: > On Thu, Oct 05, 2023 at 07:11:01PM +0300, Eli Zaretskii wrote: >> > From: Gerd M=C3=B6llmann >> > 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 >> >=20 >> > 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. >>=20 >> 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. Agree. >> 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? I wonder that, too.