From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: ls-lisp to sort directories first Date: Wed, 04 Aug 2010 08:16:10 +1000 Organization: Unlimited download news at news.astraweb.com Message-ID: <8762zrbavp.fsf@puma.rapttech.com.au> References: <87tynb77d7.fsf@kzsu.stanford.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1291861561 16634 80.91.229.12 (9 Dec 2010 02:26:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 02:26:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 03:25:57 2010 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.69) (envelope-from ) id 1PQWCh-0000kq-Qg for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 03:25:55 +0100 Original-Received: from localhost ([127.0.0.1]:59996 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQWCg-0008Cn-Uk for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 21:25:55 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!news2.glorb.com!news.astraweb.com!border5.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:x4JwYsYfSgumS6viBMNRRy9YKww= Original-Lines: 29 Original-NNTP-Posting-Host: 601fff03.news.astraweb.com Original-X-Trace: DXC=e`iW4nKOY 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:76474 Archived-At: Joseph Brenner writes: > Does this still work? I haven't seen it work since emacs 21 or so: > > (load-library "ls-lisp") > (setq ls-lisp-dirs-first t) > > This is supposed to essentially sort on file type first, and name (or > whatever) second, so you get all the directories up at the top of the > listing, and the files grouped together at the bottom. > > Note: I'm running: > > GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.1) of > 2010-07-01 on fineline > I'm running emacs 24 and it appears to work for me. I have the follwoing in my .emacs '(ls-lisp-dirs-first t) '(ls-lisp-use-insert-directory-program nil) '(ls-lisp-use-localized-time-format t) Tim -- tcross (at) rapttech dot com dot au