[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FAILED tramp-test34-utf8
From: |
Colin Baxter |
Subject: |
Re: FAILED tramp-test34-utf8 |
Date: |
Thu, 30 Mar 2017 18:19:08 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Dear Michael,
On Thu, Mar 30 2017, Michael Albinus wrote:
> Colin Baxter <address@hidden> writes:
>
>> Dear Michael,
>
> Hi Colin,
>
>> Here is the tramp-tests.log as an attachment. I haven't yet learnt how
>> to attached a file in a gnus mail buffer as a folded line. I hope it
>> helps.
>
> Thanks for this. An attachment is perfect, because the file contains
> non-ascii chars.
>
> And indeed, I found the problem:
>
>> 20:12:06.761824 tramp-send-command (6) # locale -a
>> 20:12:06.795357 tramp-wait-for-regexp (6) #
>> C
>> C.UTF-8
>> POSIX
>> en_GB.utf8
>
> Tramp checks, which locales do exist on your remote machine. This are
> just C, C.UTF-8, POSIX and en_GB.utf8. Not so many.
>
>> 20:12:06.795610 tramp-set-connection-property (7) # locale LC_ALL=C
>
> Internally, Tramp keeps a list of acceptable locales. This list contains
> en_US.utf8, C.utf8 and en_US.UTF-8. None of them matches the available
> locales, Tramp decides to use locale C as last resort. And this let the
> utf8 specific test fail.
>
> I've added C.UTF-8 to the list of acceptable locales. This shall be
> sufficient, at least in your case (and in many other cases as
> well). Committed to the master branch; please pull it and check again.
>
Success. I re-pulled emacs and ran 'make check' again. According to the
tramp-tests.log, all 31 tests passed as expected. And thank you for
the interesting information about locales.
Best wishes, Colin.
- Re: FAILED tramp-test34-utf8, (continued)
- Re: FAILED tramp-test34-utf8, Colin Baxter, 2017/03/29
- Re: FAILED tramp-test34-utf8, Colin Baxter, 2017/03/29
- Re: FAILED tramp-test34-utf8, Eli Zaretskii, 2017/03/29
- Re: FAILED tramp-test34-utf8, Colin Baxter, 2017/03/30
- Re: FAILED tramp-test34-utf8, Michael Albinus, 2017/03/30
- Re: FAILED tramp-test34-utf8,
Colin Baxter <=
- Re: FAILED tramp-test34-utf8, Eli Zaretskii, 2017/03/29
- Re: FAILED tramp-test34-utf8, Michael Albinus, 2017/03/29
- Re: FAILED tramp-test34-utf8, Eli Zaretskii, 2017/03/29