all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Paul Pogonyshev <pogonyshev@gmail.com>
Cc: 57486@debbugs.gnu.org
Subject: bug#57486: TRAMP resets all locale settings
Date: Thu, 15 Sep 2022 11:57:40 +0200	[thread overview]
Message-ID: <87leqlj6y3.fsf@gmx.de> (raw)
In-Reply-To: <CAG7BpaqU979kE3nuQZRNLrbhrRYD_KmLs7-TUoF-=0Po7UTMdQ@mail.gmail.com> (Paul Pogonyshev's message of "Tue, 30 Aug 2022 15:10:26 +0200")

Paul Pogonyshev <pogonyshev@gmail.com> 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.





  reply	other threads:[~2022-09-15  9:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-30 13:10 bug#57486: TRAMP resets all locale settings Paul Pogonyshev
2022-09-15  9:57 ` Michael Albinus [this message]
2022-09-15 10:02   ` Paul Pogonyshev
2022-09-15 10:33     ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87leqlj6y3.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=57486@debbugs.gnu.org \
    --cc=pogonyshev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.