tramp-devel
[Top][All Lists]
Advanced

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

Re: dired -a switch causes dot files to be mixed in


From: Michael Albinus
Subject: Re: dired -a switch causes dot files to be mixed in
Date: Tue, 28 Jan 2020 09:16:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

積丹尼 Dan Jacobson <address@hidden> writes:

Hi Dan,

> Big problem:

(I doubt it is "big")

> If one uses dired switches -al
> instead of getting
> .ax
> .by
> af
> bl
> order,

> one gets
> af
> .ax
> bl
> .by
> order !
> tramp-version "2.4.2"

This is the correct sorting order. Tramp supports i18n, and so
LC_COLLATE is set to whatever the locale is on the remote host. Run the
command "locale" on the remote host, und you will see your settings. In
my tests it is

--8<---------------cut here---------------start------------->8---
# locale
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
--8<---------------cut here---------------end--------------->8---

The sort order you prefer is shown by using LC_COLLATE=C. However, the
question stands: what is the problem with i18n correct sorting?

Best regards, Michael.



reply via email to

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