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: Wed, 04 Oct 2023 14:43:05 +0200 Message-ID: References: <83il7m6dmo.fsf@gnu.org> <8875281f07b4d23d857c@heytings.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="33256"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: ccsmile2008@outlook.com, Gregory Heytings , 65908@debbugs.gnu.org, Eli Zaretskii , Alan Third To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 04 14:44:08 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 1qo1EV-0008M5-MD for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 04 Oct 2023 14:44:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qo1EC-0000RV-AU; Wed, 04 Oct 2023 08:43:48 -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 1qo1E9-0000Q9-4C for bug-gnu-emacs@gnu.org; Wed, 04 Oct 2023 08:43:46 -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 1qo1E8-0005Aw-QR for bug-gnu-emacs@gnu.org; Wed, 04 Oct 2023 08:43:44 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qo1EQ-0004yx-86 for bug-gnu-emacs@gnu.org; Wed, 04 Oct 2023 08:44:02 -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: Wed, 04 Oct 2023 12:44: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.169642341519108 (code B ref 65908); Wed, 04 Oct 2023 12:44:02 +0000 Original-Received: (at 65908) by debbugs.gnu.org; 4 Oct 2023 12:43:35 +0000 Original-Received: from localhost ([127.0.0.1]:41782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo1Dz-0004y8-3T for submit@debbugs.gnu.org; Wed, 04 Oct 2023 08:43:35 -0400 Original-Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:59717) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qo1Dw-0004xt-6Q for 65908@debbugs.gnu.org; Wed, 04 Oct 2023 08:43:33 -0400 Original-Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-32488a22810so1904146f8f.3 for <65908@debbugs.gnu.org>; Wed, 04 Oct 2023 05:43:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696423388; x=1697028188; 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=i2G37Cn4EJigIBXWeVWTlHzcElfZiqtmXln9wwlSYFY=; b=CnY3XVhN9m7T0rf+7sifiyXQuiOBMykntcUd9RZUPtg+7qpqqF4YVvFEdMX/PIKCVo AlamQwV6yYaNRowPnRnHsxkzrQunmS+pgLaICIho92JgLFtjmJUn0TaaGI4OCv4aQEjq 4cQVcuKmw/N8d7fAXYLJ3NXJDwThq0GhQnw4o3LOy9VzLRyL0BXzzlski3Uy+zxveuYB sMiSLdU7tO7xT2DV9zpI9xiB0VgaTnSgyxwoiwEmugq1n4SZRjAVV74WuCm4jpLkqXEX bVIAnZadWSmibI7cAJjS8oZDRYxsoIqlSIL8CzNlhnyHAvVc65A2diWGJngkvqISi5xv ntZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696423388; x=1697028188; 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=i2G37Cn4EJigIBXWeVWTlHzcElfZiqtmXln9wwlSYFY=; b=H3fxl9lArf8z55fKGRs9u7gABTA+jcZMEHdtg6QfO/wBOZ+qvb0gpdrTKXIJXoUqNI vo/C+Jy6/r3Qvi/BJHmTD5S4l0Ok2jHTR2/8s7DGrHue0KWF18gnD/z8RPkSbUzKZr3G lgiDXQcybZmx7kLRmM0QgZFS28LZxLxkk8hh010Pi2G5XQkho4qTh0wqiqMaPqLisDxw pfxpPxiu4iVZtc0y5Vq+2wI3jHbIfXzYSIrx3hblz2e2MjaH09IPAo1N/WmwfK1e25hK XdER08tFYBIL1i5kii2/qItKvRZxdY61BFsCtVRmCmms/CoYfN+TH5BAJBIG8A+4Dqyd l33A== X-Gm-Message-State: AOJu0YyX+r9ZI7OI/OdfQBsVHhtbTHUePGqmg8JqzmEp/WqD8Wde68B0 t+UUOM7Aj0kWqsC3gFiBRP4= X-Google-Smtp-Source: AGHT+IFin6py00H1atE1lIgFUHhwc3EGtQL1Jkeqc0+/zP9/HT3QtJt4Uo2HBLPd93N3Cfdi+uUKyg== X-Received: by 2002:a5d:680b:0:b0:31f:a259:733 with SMTP id w11-20020a5d680b000000b0031fa2590733mr1873257wru.20.1696423388360; Wed, 04 Oct 2023 05:43:08 -0700 (PDT) Original-Received: from Pro.fritz.box (p4fe3ac4e.dip0.t-ipconnect.de. [79.227.172.78]) by smtp.gmail.com with ESMTPSA id i15-20020a5d438f000000b003250aec5e97sm3961195wrq.4.2023.10.04.05.43.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 05:43:07 -0700 (PDT) In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Wed, 04 Oct 2023 12:55:55 +0200") 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:271796 Archived-At: Gerd M=C3=B6llmann writes: > Stefan Kangas writes: > >>> I try to update the list of failing commits monthly. >> >> Thanks for maintaining that script. We need more people showing that >> kind of initiative and drive. > > +1 > > And, three weeks later, the culprit is > > commit 058c012f73d4abe014ace44b46c23babd48aebbc (HEAD) > Author: Alan Third > Date: Sun Nov 14 15:09:43 2021 +0000 > > Only set LANG if the ID is valid >=20=20=20=20=20 > * src/nsterm.m (ns_init_locale): Check the provided locale identifier > is available before trying to use it. > > But don't ask me how that comes into play here because that function > seems to be called from main only. Maybe it's because LANG is now not > always set, but used somewhere else? > > Added Alan Third to the CC. As an experiment, I evaluated this in *scratch*: (setenv "LANG" "") (setenv "LC_COLLATE" "C") (setenv "LC_CTYPE" "UTF-8") (setenv "LC_MESSAGES" "C") (setenv "LC_MONETARY" "C") (setenv "LC_NUMERIC" "C") (setenv "LC_TIME" "C") which is the output of 'locale' in a terminal, translated to Elisp. With these settings, the slowdown is gone, without changing the code.