unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* dired-mode: windows like sorting (ignore case)?
@ 2002-09-03 14:13 Heinz-Peter Arndt
  2002-09-03 15:04 ` Chris McMahan
  0 siblings, 1 reply; 2+ messages in thread
From: Heinz-Peter Arndt @ 2002-09-03 14:13 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: dired-mode: windows like sorting (ignore case)?
  2002-09-03 14:13 dired-mode: windows like sorting (ignore case)? Heinz-Peter Arndt
@ 2002-09-03 15:04 ` Chris McMahan
  0 siblings, 0 replies; 2+ messages in thread
From: Chris McMahan @ 2002-09-03 15:04 UTC (permalink / raw)


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
  ====================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-03 15:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-03 14:13 dired-mode: windows like sorting (ignore case)? Heinz-Peter Arndt
2002-09-03 15:04 ` Chris McMahan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).