From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.bugs Subject: bug#51321: 29.0.50; date in modelines Date: Mon, 01 Nov 2021 17:21:36 +0300 Message-ID: References: <83sfwt7el8.fsf@gnu.org> <6C80587E-2E20-43AB-9B1E-15936BDB0797@algon.dk> <83cznx6teq.fsf@gnu.org> <837de453qg.fsf@gnu.org> <83bl35o95u.fsf@gnu.org> <83cznkm25j.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32498"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (darwin) Cc: alan@idiocy.org, nisoni@algon.dk, stefan@marxist.se, 51321@debbugs.gnu.org, mardani29@yahoo.es, larsi@gnus.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 01 15:22:26 2021 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 1mhYCe-0008HD-G5 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Nov 2021 15:22:26 +0100 Original-Received: from localhost ([::1]:50352 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mhYCd-0008EW-FL for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 01 Nov 2021 10:22:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhYCI-0008DJ-2q for bug-gnu-emacs@gnu.org; Mon, 01 Nov 2021 10:22:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52471) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mhYCH-0006TO-QS for bug-gnu-emacs@gnu.org; Mon, 01 Nov 2021 10:22:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mhYCH-00041w-NX for bug-gnu-emacs@gnu.org; Mon, 01 Nov 2021 10:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Filipp Gunbin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 01 Nov 2021 14:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51321 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 51321-submit@debbugs.gnu.org id=B51321.163577651715483 (code B ref 51321); Mon, 01 Nov 2021 14:22:01 +0000 Original-Received: (at 51321) by debbugs.gnu.org; 1 Nov 2021 14:21:57 +0000 Original-Received: from localhost ([127.0.0.1]:35784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhYC7-00041W-QA for submit@debbugs.gnu.org; Mon, 01 Nov 2021 10:21:57 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:52265) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhYC2-00041D-3A for 51321@debbugs.gnu.org; Mon, 01 Nov 2021 10:21:50 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 59BE75C0198; Mon, 1 Nov 2021 10:21:40 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 01 Nov 2021 10:21:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm1; bh=FHzVqPx0PDkq0/GeMuv4snmuAr /tq1+lBU9BudWMPbk=; b=FPWU4zZmohKmte4ElbC9FQMykfzqCxHMjIa0yxeYJA NzCZ8XGPwUNPclX8AThAnhhKciQaJ3DlpzbExM469y8T9LzxP2PjhyJlanUHhWWR VT2y+0pe4aQ4avpm11+gsFztwHa4zblTSSEBEFHM918dQ6UYXlwL3o8+Buh5Op6y kP+a84iHJOFddImwEckkjldILS6woaqT1FKGQ+qh60twOTuGhcQuGWJKAbnUGE+3 L0AbGr9kD+Dq0NRe9Ps6FccDuzuBcrC50UKmeaiSNr39nwf2/jT0m3tWAmcRCTdx 9jt0d6qOFNXNFMeykc7RDHITvGlw7VnTl8T+6w2A5AJQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=FHzVqP x0PDkq0/GeMuv4snmuAr/tq1+lBU9BudWMPbk=; b=Qz5emMRZVKwcoq3lis73Gb PKIM0CDWx6yCUljA+5rDITTue/Rdbq1eCSe3Rv7dSxwYPhB85mCuj0YJOivmKSuR cbcMnYDATIDLNnQPPo2NrUXQJBCUjAkeAJRyyEyFke5HzxEOAnRgu39lYNbCONyT +j51zyzAjigSilT6TM/1gubcWtkvac07VDbDGpV9VlHF9+613Za79G86jyNik+4o gkYO1SzO9PCw+IpA87ySx53uCYgeQxxXNjOIX38Nph37EmdTWqcGb9pVBb52WbYq oyhHSA5L00cAzL9e+NyBpIUnKEZsaCLI2+J9Pyhua2GKmkenq/CnmcOitVEzvlWA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdehvddgieduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehttdertddtredtnecuhfhrohhmpefhihhlihhp phcuifhunhgsihhnuceofhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmheqnecuggftrf grthhtvghrnhepvdevkeffvdeuvefhuddtjeehkedvueefveettddtveduudfgieffieev ieevhfdtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epfhhguhhnsghinhesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 1 Nov 2021 10:21:38 -0400 (EDT) In-Reply-To: <83cznkm25j.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 01 Nov 2021 15:33:12 +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" Xref: news.gmane.io gmane.emacs.bugs:218762 Archived-At: On 01/11/2021 15:33 +0200, Eli Zaretskii wrote: >> From: Filipp Gunbin >> Cc: Eli Zaretskii , larsi@gnus.org, nisoni@algon.dk, >> stefan@marxist.se, 51321@debbugs.gnu.org, mardani29@yahoo.es >> Date: Mon, 01 Nov 2021 16:04:09 +0300 >> >> In my setup with Engish as preferred language and Russia as region >> (attaching a screenshot from System Preferences), I'm getting this >> warning: >> >> /opt/local/bin/bash: warning: setlocale: LC_ALL: cannot change locale >> (en_RU.UTF-8): No such file or directory >> >> because LC_ALL is now being set to en_RU.UTF-8 (LANG is set explicitly >> to ru_RU.UTF-8 in my .bash_profile and is thus untouched by Emacs). >> >> So maybe we should check that the locale is valid before setting it... > > "Valid" in what sense? Is that locale not installed on your system, > or are you saying that it cannot exist? I think in the sense of 'locale -a | grep ru' in this case: ru_RU.ISO8859-5 ru_RU.CP866 ru_RU.CP1251 ru_RU.UTF-8 ru_RU.KOI8-R ru_RU Maybe it could exist, but it doesn't on macOS. > (And why does the warning come from Bash when it was Emacs who sets > the locale?) Forgot to tell - this output shows up when running shell command from emacs (M-! or similar). Filipp