From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joseph Brenner Newsgroups: gmane.emacs.help Subject: ls-lisp to sort directories first Date: Tue, 03 Aug 2010 13:45:40 -0700 Message-ID: <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 1291857661 2908 80.91.229.12 (9 Dec 2010 01:21:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 01:21: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 02:20:56 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 1PQVBo-0001X1-8g for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 02:20:56 +0100 Original-Received: from localhost ([127.0.0.1]:37102 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQVBn-00073A-Ix for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 20:20:55 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.posted.rawbandwidth!news.posted.rawbandwidth.POSTED!not-for-mail Original-NNTP-Posting-Date: Tue, 03 Aug 2010 15:45:27 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:pr+ZlXTN4ZMRCcRfIIgta3nWCmw= Original-Lines: 15 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 198.144.208.84 Original-X-Trace: sv3-V3Nikz00j4NVVnRBN0G/jB1x4Kv4iku7lzrKPA1yj3TSH5dfS6z0FDRyGxwLimc17qag4zBsbNpuMGq!cFzlW69XDLkPEQo/qN7vo1f7qbrNG5pxaoLVPyNXrBzD/KmKMBvcmXeK56nIYkGV7ScKeL3Kvl4= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Original-Xref: usenet.stanford.edu gnu.emacs.help:180324 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:76373 Archived-At: 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