From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dieter Wilhelm Newsgroups: gmane.emacs.help Subject: Re: Dired: configure displayed file/folder details Date: Thu, 23 Aug 2007 21:54:00 +0200 Organization: The Church of Emacs Message-ID: <87y7g2yqlj.fsf@debby.local.net> References: <5im7sdF3qc3rfU1@mid.individual.net> <87fy2c1uz2.fsf@debby.local.net> <87d4xgcunl.fsf@escher.local.home> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1187898776 18690 80.91.229.12 (23 Aug 2007 19:52:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 23 Aug 2007 19:52:56 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Stephen Berman Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 23 21:52:54 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IOIjb-0002Di-1J for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Aug 2007 21:52:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IOIja-00081H-D3 for geh-help-gnu-emacs@m.gmane.org; Thu, 23 Aug 2007 15:52:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IOIjM-00081B-Hl for help-gnu-emacs@gnu.org; Thu, 23 Aug 2007 15:52:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IOIjJ-00080z-28 for help-gnu-emacs@gnu.org; Thu, 23 Aug 2007 15:52:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IOIjI-00080w-Sl for help-gnu-emacs@gnu.org; Thu, 23 Aug 2007 15:52:32 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.179]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IOIjI-0000sP-Ad for help-gnu-emacs@gnu.org; Thu, 23 Aug 2007 15:52:32 -0400 Original-Received: from drms-590c737b.pool.einsundeins.de [89.12.115.123] (helo=debby.local.net) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis), id 0MKwh2-1IOIjF1Mbw-0000q8; Thu, 23 Aug 2007 21:52:29 +0200 Original-Received: from dieter by debby.local.net with local (Exim 4.63) (envelope-from ) id 1IOIki-0001TP-E4; Thu, 23 Aug 2007 21:54:00 +0200 In-Reply-To: <87d4xgcunl.fsf@escher.local.home> (Stephen Berman's message of "Wed\, 22 Aug 2007 01\:52\:46 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Provags-ID: V01U2FsdGVkX18PQDpSlv0kNV3y70PVwHH2hSdF9/5w8yxojCe Kxx5rF9tREHpde03/ruomrSriHMgQ/kR/iUDTmKWjQxW5Aw8ZF h1DBdpXyufoc7ztKGksSOM+tYs9Nylr X-Detected-Kernel: Linux 2.6? (barebone, rare!) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46787 Archived-At: Stephen Berman writes: > On Tue, 21 Aug 2007 22:41:21 +0200 Dieter Wilhelm wrote: > >> Does anybody know how to sort directories before or after regular >> files with ls options or does some trick in dired exist for this kind >> of sorting? > > Besides the mentioned ls option --group-directories-first (for > coreutils >= 6.0) there's ls-lisp.el: That is good to know, thanks Drew, Sven and Stephen for your hints. > (require 'ls-lisp) > (setq ls-lisp-use-insert-directory-program nil > ls-lisp-dirs-first t) Great, exactly what I was looking for, thanks a lot. -- Best wishes H. Dieter Wilhelm Darmstadt, Germany