all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#57486: TRAMP resets all locale settings
@ 2022-08-30 13:10 Paul Pogonyshev
  2022-09-15  9:57 ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Pogonyshev @ 2022-08-30 13:10 UTC (permalink / raw)
  To: 57486

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

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"

Paul
...

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#57486: TRAMP resets all locale settings
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Albinus @ 2022-09-15  9:57 UTC (permalink / raw)
  To: Paul Pogonyshev; +Cc: 57486

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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#57486: TRAMP resets all locale settings
  2022-09-15  9:57 ` Michael Albinus
@ 2022-09-15 10:02   ` Paul Pogonyshev
  2022-09-15 10:33     ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: Paul Pogonyshev @ 2022-09-15 10:02 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 57486

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#57486: TRAMP resets all locale settings
  2022-09-15 10:02   ` Paul Pogonyshev
@ 2022-09-15 10:33     ` Michael Albinus
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Albinus @ 2022-09-15 10:33 UTC (permalink / raw)
  To: Paul Pogonyshev; +Cc: 57486-done

Version: 29.1

Paul Pogonyshev <pogonyshev@gmail.com> writes:

Hi Paul,

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

Thanks for the feedback. Closing.

> Paul

Best regards, Michael.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-09-15 10:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2022-09-15 10:33     ` Michael Albinus

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.