help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dired-mode: windows like sorting (ignore case)?


From: Chris McMahan
Subject: Re: dired-mode: windows like sorting (ignore case)?
Date: 03 Sep 2002 11:04:14 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

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 <Heinz-Peter_Arndt@CoCreate.com> 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
  ====================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]