From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.devel Subject: Re: dired with dot files early Date: Mon, 17 Sep 2007 21:56:36 +0200 Message-ID: <874phtvzez.fsf@gmx.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1190058971 15994 80.91.229.12 (17 Sep 2007 19:56:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Sep 2007 19:56:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: bob@rattlesnake.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 17 21:56:08 2007 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 1IXMhT-0006Dd-AV for ged-emacs-devel@m.gmane.org; Mon, 17 Sep 2007 21:56:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXMhR-0006wn-RV for ged-emacs-devel@m.gmane.org; Mon, 17 Sep 2007 15:56:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXMhP-0006wi-Mj for emacs-devel@gnu.org; Mon, 17 Sep 2007 15:56:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXMhN-0006wW-9Y for emacs-devel@gnu.org; Mon, 17 Sep 2007 15:56:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXMhN-0006wT-2W for emacs-devel@gnu.org; Mon, 17 Sep 2007 15:56:01 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IXMhM-0006m6-Ep for emacs-devel@gnu.org; Mon, 17 Sep 2007 15:56:00 -0400 Original-Received: (qmail invoked by alias); 17 Sep 2007 19:55:58 -0000 Original-Received: from p54867FF9.dip.t-dialin.net (EHLO debian) [84.134.127.249] by mail.gmx.net (mp041) with SMTP; 17 Sep 2007 21:55:58 +0200 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX1/mqgEghdjmimrpSImkfTUbY295BFVSpYmuST3wWU mngHDZYUtHXNEk In-Reply-To: (Robert J. Chassell's message of "Mon\, 17 Sep 2007 19\:34\:15 +0000 \(UTC\)") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-Detected-Kernel: 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:79125 Archived-At: "Robert J. Chassell" 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.