emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix tramp test


From: Eli Zaretskii
Subject: Re: [PATCH] Fix tramp test
Date: Sun, 22 Feb 2015 19:10:44 +0200

> From: Michael Albinus <address@hidden>
> Cc: address@hidden,  address@hidden
> Date: Sun, 22 Feb 2015 17:25:14 +0100
> 
> Eli Zaretskii <address@hidden> writes:
> 
> >> Better might be "\\([[:alpha:]]+[[:blank:]]+[[:digit:]]+\n\\)?"
> >
> > IMO, [:alpha:] is too indiscreet: it will match almost anything,
> > except in pure ASCII range.  Including some error message, for
> > example.
> >
> > So I think it would be much better to keep the literal "total", and
> > instead set LC_MESSAGES=en_US.UTF-8, or something similar.
> 
> Tramp sets LC_ALL to "en_US.utf8", "C.utf8", or "C". In this order,
> whatever is available on the remote system. But a user is free to

Not sure what scenario are we talking about here.  Do you mean that
Tramp sets LC_ALL, but the user overrides that with LC_MESSAGES?

Or do you mean that you want to cater to users who have neither
en_US.utf8 nor C.utf8 installed?

In any case, I meant to set that as part of the test in question, not
in general.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]