From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#57486: TRAMP resets all locale settings Date: Thu, 15 Sep 2022 11:57:40 +0200 Message-ID: <87leqlj6y3.fsf@gmx.de> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6154"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 57486@debbugs.gnu.org To: Paul Pogonyshev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 15 12:05:51 2022 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 1oYlkl-0001T9-Bf for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 12:05:51 +0200 Original-Received: from localhost ([::1]:58704 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYlkk-0008K4-Aj for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 15 Sep 2022 06:05:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYldC-0003jB-OK for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 05:58:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40251) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oYldC-0003Na-Cx for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 05:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oYldB-00085M-Uc for bug-gnu-emacs@gnu.org; Thu, 15 Sep 2022 05:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Sep 2022 09:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57486 X-GNU-PR-Package: emacs Original-Received: via spool by 57486-submit@debbugs.gnu.org id=B57486.166323587431066 (code B ref 57486); Thu, 15 Sep 2022 09:58:01 +0000 Original-Received: (at 57486) by debbugs.gnu.org; 15 Sep 2022 09:57:54 +0000 Original-Received: from localhost ([127.0.0.1]:57183 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYld4-000850-EU for submit@debbugs.gnu.org; Thu, 15 Sep 2022 05:57:54 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:59257) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oYld0-00084i-TL for 57486@debbugs.gnu.org; Thu, 15 Sep 2022 05:57:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1663235862; bh=7pHcZ+jZTnQvq+Pv8VSK0cWLfXsEA4c/TRDe6eAbB9Q=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=bIjsrME2I8E4VQXgLJbesCMkR4HjAhzU8a9YJotAp7JA7+boNGYEBG7CRfVsw+QbQ i5S/4p5vd8VSHeRLQS91GbGYzDM6MFpv9hrwH9B/C8JL0mOyC/K2mvB8v5wVzJBmHD RU8YwqdMVflytKfVYRACCbnu+XKsi5QnyRmjR4CE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([79.140.119.58]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mi2Jt-1pCU5c2nSL-00e2rP; Thu, 15 Sep 2022 11:57:41 +0200 In-Reply-To: (Paul Pogonyshev's message of "Tue, 30 Aug 2022 15:10:26 +0200") X-Provags-ID: V03:K1:CLEyaSAA46HJn0q5MP/pJlHWm/4VSJyNuoe7P2dVSY0UkUInd0O pry2jZ1yMG/kILjNgoHxLQUL+KgI+7QMsa0tSu2x1UbTimVB8Y5wnTGvrdifnZDWD3j+R9f nINbl5S6NU4qoHAKiB1npXsL3ZEqikauVlmqmXbE0Yt9UzTJERyqV9YMh4c9P+jQZIDI82w sZ6dBjN3zLm4jlXhnA5vg== X-UI-Out-Filterresults: notjunk:1;V03:K0:+QoGpUkRZ0g=:eOUgg0hYpROQqgVGsEjPA9 UZnpROFZg1xk9y3BKMUUhp5qdcJeYwF+MHeZaFzit5BQUw+xkWPxDRaXx7uBC13TxrixnuRSq jzrXctP7AgpFKSBmgPv0NH4n6Np3LTmcKusRplLPAhGdsPqVvfEiLPxPBOCjvOsQbYwl/6iwn 9r+mLYRedFdn55ut3vap6MSoisWfIo84MHNtZjpP+p45E0KLzZPl6968O1yrbcovQdvPxF8Y0 UwOnVdOTX/DDQANwMbbhFv8DqIshCSA3t7zTloUqv+6gpGHkmHMnmfDF9Ehui51wrK3fTRKag 7LLUuESzf6nIry1E4RRir0a/A5TijmucFDfE5mJzfI2R23szxmqux8WgYAQmBOgnnaNAC3E/C JLi+E6dSTLt86NV/nXsib6UOBCZqVwTzK17MVSuzeG9CQbY6smZrG8pkH/wBYkbL2A83jd+3E cpYrGefK4LjklKTUMrn7XzyabUXuT5q5h0MbmTGKTrRcU11Y+RZh5vfG2+BRkkXREMuo99810 rMO/q5/kxBXzbgaqSLBjlE9zBw68Afz2exoqaITEcPzRxBF4J2kqMIkX/x+9ATys0wBIwOC+d ciTM+AtVHDBCSXJJTGhvm79W/oOuciI6S3/plz3waEZx4S4guJMIHZiWCgxGuJoux1OOmzEbu g6stgA2L7o5GhleA+Yb0PDF9z3FNZVFMWxV+3PdLuByPCUTZcX9KxFEojm/Nd8CDYnWEpRbAz ItATDGBhbwqkO7vBMx8D9MtIgQ891zuLYDAwp1rswcAkpaP2fw0z4GffwaDAOJWQE51eNLRc 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:242581 Archived-At: Paul Pogonyshev writes: Hi Paul, > Git commit c8c3cd3b08. > > Connect to any remote machine. Run `M-x eshell RET', then `$ locale'. > Output: > > LANG=en_GB.UTF-8 > LANGUAGE= > LC_CTYPE="C" > LC_NUMERIC="C" > LC_TIME="C" > ... > > All settings other than `LANG' are reset. > > In comparison, when I do the same with Emacs 28: > > LANG=en_GB.UTF-8 > LANGUAGE= > LC_CTYPE="en_US.utf8" > LC_NUMERIC="en_US.utf8" > LC_TIME="en_US.utf8" With commit be2e6228f8, Tramp has been changed to use rx. This has introduced a nasty typo in tramp-get-remote-locale: (rx bol (literal (car candidates))"%s" (? "\r") eol) (see the superfluous "%s"), which prevents Tramp to recognize the proper locale. It has been fixed in commit f1635c8efb3 some days ago. Hopefully, the error is gone by this. COuld you pls check? > Paul Best regards, Michael.