emacs-devel
[Top][All Lists]
Advanced

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

Re: dired with dot files early


From: Sven Joachim
Subject: Re: dired with dot files early
Date: Mon, 17 Sep 2007 21:56:36 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

"Robert J. Chassell" <address@hidden> writes:

> Currently, my dired displays dot files among all the rest.
>
> I have looked in lisp/dired.el and at the man page for ls;
> unfortunately, I could not find a way to put the dot files in ASCII
> order as they were several years ago.  

You might be using a UTF-8 locale now.  What does `locale' print?

> Thus, in dired, my home directory shows `calc-language-modes' before
> `.calcrc'.  Perhaps an appropriate variable does not exist; or ...
>
> What variable can I set in my initialization file so dot files in
> dired come early in the listing, all together?

It's the LC_COLLATE variable, assuming that LC_ALL is not set.  I have
LANG=de_DE.UTF-8 and LC_COLLATE=C exported in my .bash_profile, which
achieves the sort order you want.





reply via email to

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