From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Quotes in Dired listing switches Date: Mon, 28 Dec 2009 12:29:32 +0200 Organization: JURTA Message-ID: <87637rze4b.fsf@mail.jurta.org> References: <87vdfy5om7.fsf@mail.jurta.org> <87pr61qyfm.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1261998037 413 80.91.229.12 (28 Dec 2009 11:00:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Dec 2009 11:00:37 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 28 12:00:30 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NPDKd-0000ah-TK for ged-emacs-devel@m.gmane.org; Mon, 28 Dec 2009 12:00:29 +0100 Original-Received: from localhost ([127.0.0.1]:36939 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NPDKG-0006IS-OR for ged-emacs-devel@m.gmane.org; Mon, 28 Dec 2009 05:59:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NPDKA-0006IL-I2 for emacs-devel@gnu.org; Mon, 28 Dec 2009 05:59:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NPDK5-0006HY-6J for emacs-devel@gnu.org; Mon, 28 Dec 2009 05:59:41 -0500 Original-Received: from [199.232.76.173] (port=54931 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NPDK5-0006HV-0g for emacs-devel@gnu.org; Mon, 28 Dec 2009 05:59:37 -0500 Original-Received: from smtp-out3.starman.ee ([85.253.0.5]:37188 helo=mx1.starman.ee) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NPDK4-0002Ea-JT for emacs-devel@gnu.org; Mon, 28 Dec 2009 05:59:36 -0500 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.30.98.cable.starman.ee [82.131.30.98]) by mx1.starman.ee (Postfix) with ESMTP id EC5063F40A8; Mon, 28 Dec 2009 12:59:26 +0200 (EET) In-Reply-To: <87pr61qyfm.fsf@gmx.de> (Michael Albinus's message of "Sat, 26 Dec 2009 21:21:01 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (x86_64-pc-linux-gnu) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:118854 Archived-At: > In tramp.el, I've added quoting of the "'" character in SWITCHES, passed > by `insert-directory', which shall be sufficient. Thanks, Tramp doesn't hang now. > 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? -- Juri Linkov http://www.jurta.org/emacs/