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

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

RE: list files in dired case insensitive order


From: Drew Adams
Subject: RE: list files in dired case insensitive order
Date: Wed, 17 Dec 2008 08:19:58 -0800

> > > is it possible to order dir/files in dired so that it's case
> > > insensitive? i.e. i don't want dir or file starting with 
> > > caps grouped together on top.
> >
> > There are no doubt several ways. I use these libraries:
> > dired-sort-menu.el
> > dired-sort-menu+.el
> >
> > http://www.emacswiki.org/emacs/DiredSortMenu
> 
> i just downloaded it from the new url you posted the source:
> http://www.emacswiki.org/emacs/dired-sort-menu.el
> 
> then i eval-buffer. Then went to a dir and pulled the menu
> "Immediate?Sort by?" and don't see anything about "case insenstive".
> Then i tried "Immediate?Sort by?Unsort" out of curiosity, then it
> says: "insert-directory: Listing directory failed but `access-file'
> worked".

Dunno. Works for me out of the box. If you want to try to debug it, perhaps we
can find the problem.

With emacs -Q, I load the file, then open Dired, and see this menu item (which
works for me):

Immediate > Sort By > Ignore Case (c)

If you don't see that, then yes, there is a problem.

I see Immediate > Sort By > Unsorted (not Unsort), and it works for me.

I suggest you either debug a bit (e.g. `debug-on-error' or `debug-on-entry') or,
if you don't want to spend the time, give up.

> Btw, the original link:
> http://www.emacswiki.org/emacs/DiredSortMenu
> still doesn't work for me.

Works for me. Perhaps the wiki site had a hiccup when you tried - maybe try it
again.

> At this point, more time spent to get this work is not worthwhile than
> the minor incovenience.

Your call. If it's major enough to spend your time and mine on the mailing list,
then I would think it might be major enough to spend a little time to try to see
what the problem is.

Did you use emacs -Q? If not, perhaps something in your init file is
interfering. Are you using Emacs 23? If so, try Emacs 22 - maybe they've broken
or "improved" something, so it doesn't work with dired-sort-menu.el. However, it
works for me with an Emacs 23 build of 11/24. Dunno.

> This is why i hate tech geek diddling or "play with" source code or
> compiling emacs, and why it is important to have everything by
> default, because that usually garantee some quality assurance.

Yes, I want it all, and I want it NOW! ;-)

But won't you feel silly if you discover that it is your own tech-geek diddling
in your init file that led to the problems you see? ;-) Just a guess.






reply via email to

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