unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Chris McMahan <cmcmahan+n@one.net>
Subject: Re: dired-mode: windows like sorting (ignore case)?
Date: 03 Sep 2002 11:04:14 -0400	[thread overview]
Message-ID: <u8z2jru6p.fsf@one.net> (raw)
In-Reply-To: 7A2D05059C5DD4119FBD00306E0041197D57CA@u10sm002.us10.cocreate.com

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	other threads:[~2002-09-03 15:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-03 14:13 dired-mode: windows like sorting (ignore case)? Heinz-Peter Arndt
2002-09-03 15:04 ` Chris McMahan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u8z2jru6p.fsf@one.net \
    --to=cmcmahan+n@one.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).