From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Chris McMahan Newsgroups: gmane.emacs.help Subject: Re: dired-mode: windows like sorting (ignore case)? Date: 03 Sep 2002 11:04:14 -0400 Organization: Posted via Supernews, http://www.supernews.com Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <7A2D05059C5DD4119FBD00306E0041197D57CA@u10sm002.us10.cocreate.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031066073 30009 127.0.0.1 (3 Sep 2002 15:14:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Sep 2002 15:14:33 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17mFNv-0007nn-00 for ; Tue, 03 Sep 2002 17:14:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17mFPR-0002cM-00; Tue, 03 Sep 2002 11:16:05 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!newsfeed.news2me.com!sn-xit-05!sn-xit-06!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-X-Complaints-To: abuse@supernews.com Original-Lines: 41 Original-Xref: nntp.stanford.edu gnu.emacs.help:104430 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:995 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:995 Here's what I have in my .emacs to do just that. ls-lisp is included with emacs-21.1. ;;;====================================================================== ;;; ls-lisp ;;;====================================================================== ;;; load the new ls-lisp file package, which provides a nicer format ;;; for the dired mode listings (add-hook 'dired-load-hook (lambda () (load-library "ls-lisp")) (lambda () (require 'dired-sort-menu))) ;;; sort the dired buffer to place the directories on top (t) (setq ls-lisp-dirs-first t) ;;; sort without regard to case (t) (setq ls-lisp-ignore-case t) - Chris Heinz-Peter Arndt writes: > Does anyone know of an extension (or already built in function) to the > dired-mode to sort files and directories in the same way as the IE does, > i.e. ignore case for directory and filenames. > > Thanks. > > --- > Heinz-Peter Arndt > heinz-peter_arndt@cocreate.com > -- (. .) =ooO=(_)=Ooo======================== Chris McMahan | cmcmahan-AT-one.net ====================================