From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: list files in dired case insensitive order Date: Wed, 17 Dec 2008 08:19:58 -0800 Message-ID: <001101c96063$4e66ab70$0200a8c0@us.oracle.com> References: <65e31c14-1342-4075-9662-e8810ba7345e@v5g2000prm.googlegroups.com> <5ac1e9e8-e5cd-4034-8cfc-154bebe9a5ef@r15g2000prd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1229530863 16045 80.91.229.12 (17 Dec 2008 16:21:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2008 16:21:03 +0000 (UTC) To: "'Xah Lee'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 17 17:22:07 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LCz9j-0002jY-F9 for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Dec 2008 17:21:51 +0100 Original-Received: from localhost ([127.0.0.1]:39257 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCz8X-0002SF-9s for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Dec 2008 11:20:37 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LCz7p-0002R6-1d for help-gnu-emacs@gnu.org; Wed, 17 Dec 2008 11:19:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LCz7n-0002Qt-Cr for help-gnu-emacs@gnu.org; Wed, 17 Dec 2008 11:19:52 -0500 Original-Received: from [199.232.76.173] (port=50458 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCz7n-0002Qp-3q for help-gnu-emacs@gnu.org; Wed, 17 Dec 2008 11:19:51 -0500 Original-Received: from acsinet11.oracle.com ([141.146.126.233]:33999) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LCz7m-0007FO-K3 for help-gnu-emacs@gnu.org; Wed, 17 Dec 2008 11:19:50 -0500 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id mBHGKrfb012483 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 17 Dec 2008 16:20:55 GMT Original-Received: from acsmt704.oracle.com (acsmt704.oracle.com [141.146.40.82]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id mBHGJqZ7022695; Wed, 17 Dec 2008 16:19:54 GMT Original-Received: from dradamslap1 (/24.5.135.148) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 17 Dec 2008 16:19:42 +0000 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <5ac1e9e8-e5cd-4034-8cfc-154bebe9a5ef@r15g2000prd.googlegroups.com> Thread-Index: AclgUDbP0zJfwHnQRUigKTej+vy0YgAERnfA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt704.oracle.com [141.146.40.82] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090202.494926A0.01C9:SCFSTAT928724,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60737 Archived-At: > > > 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.