unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Pogonyshev <pogonyshev@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 57486@debbugs.gnu.org
Subject: bug#57486: TRAMP resets all locale settings
Date: Thu, 15 Sep 2022 12:02:33 +0200	[thread overview]
Message-ID: <CAG7BpapKZ12NqbKJ3QbFK7tDyv2nwKWKujDK0W2n=OADKfU2Mg@mail.gmail.com> (raw)
In-Reply-To: <87leqlj6y3.fsf@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 1247 bytes --]

Yes, it is gone by now. I wasn't sure if it was fixed or a coincidence for
a bug not happening 100% of the time, but if you know the specific reason
and it was handled, then I can confirm the symptoms don't happen here
anymore.

Paul

On Thu, 15 Sept 2022 at 11:57, Michael Albinus <michael.albinus@gmx.de>
wrote:

> 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.
>

[-- Attachment #2: Type: text/html, Size: 1916 bytes --]

  reply	other threads:[~2022-09-15 10:02 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
2022-09-15 10:02   ` Paul Pogonyshev [this message]
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='CAG7BpapKZ12NqbKJ3QbFK7tDyv2nwKWKujDK0W2n=OADKfU2Mg@mail.gmail.com' \
    --to=pogonyshev@gmail.com \
    --cc=57486@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).