[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Quotes in Dired listing switches
From: |
Michael Albinus |
Subject: |
Re: Quotes in Dired listing switches |
Date: |
Mon, 28 Dec 2009 12:14:06 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) |
Juri Linkov <address@hidden> writes:
>> However, remote directory listings won't show a "thousands separator of
>> the current locale", because Tramps sets LC_ALL to "C" on the remote
>> hosts. The C locale has no thousands separator. If you (Juri) want to
>> change this, you might customize `tramp-remote-process-environment',
>> setting LC_ALL to en_US.UTF-8 or so. But please be careful, because
>> Tramp reads output from some commands, and might expect English.
>
> Yes, this helps to show a thousands separator, and also to display
> non-ASCII characters in file names! IMHO, it's a drawback that currently
> Tramp doesn't support Unicode in Dired file names by default.
>
> Is it possible to improve Tramp to set LC_ALL to "C" only for commands
> where Tramp expects English? Or just to set LC_MESSAGES to "C" if Tramp
> expects only English messages?
That's something I have thought about already. But it requires a very
precise review of Tramp's communication, in order to identify those
places in the code. And also LC_NUMERIC might be involved; I fear that
Tramp might be confused by reading numbers with a thousand separator.
(Hopefully, `tramp-send-command-and-read' is the only place, but I do
not know whether we have been careful enough writing tramp.el)
Furthermore, Tramp cannot expect Unicode on the remote machine. There
might be anything encoded ...
I put it on the todo list. I won't change it before Emacs 23.2 is out,
due to stability reasons.
Best regards, Michael.
- Quotes in Dired listing switches, Juri Linkov, 2009/12/23
- Re: Quotes in Dired listing switches, Stefan Monnier, 2009/12/23
- Re: Quotes in Dired listing switches, Michael Albinus, 2009/12/26
- Re: Quotes in Dired listing switches, Juri Linkov, 2009/12/28
- Re: Quotes in Dired listing switches,
Michael Albinus <=
- Re: Quotes in Dired listing switches, Juri Linkov, 2009/12/28
- Re: Quotes in Dired listing switches, Michael Albinus, 2009/12/29
- Re: Quotes in Dired listing switches, Juri Linkov, 2009/12/29
- Re: Quotes in Dired listing switches, Michael Albinus, 2009/12/29
- Re: Quotes in Dired listing switches, Stefan Monnier, 2009/12/30
- Re: Quotes in Dired listing switches, Michael Albinus, 2009/12/30