From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: dired-move-to-filename-regexp Date: Sun, 19 Sep 2004 20:05:36 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <414D38E0.4080300@math.ku.dk> <7w8yb6wty1.fsf@sic.twinsun.com> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1095638956 29889 80.91.229.6 (20 Sep 2004 00:09:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Sep 2004 00:09:16 +0000 (UTC) Cc: larsh@math.ku.dk, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 20 02:09:07 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C9Bjv-0005ju-00 for ; Mon, 20 Sep 2004 02:09:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9Bpl-0006kj-Vv for ged-emacs-devel@m.gmane.org; Sun, 19 Sep 2004 20:15:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C9Bmv-00056C-Ur for emacs-devel@gnu.org; Sun, 19 Sep 2004 20:12:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C9Bmq-00050f-I9 for emacs-devel@gnu.org; Sun, 19 Sep 2004 20:12:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C9Bmo-0004za-Km for emacs-devel@gnu.org; Sun, 19 Sep 2004 20:12:06 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C9BgW-0007to-Uo for emacs-devel@gnu.org; Sun, 19 Sep 2004 20:05:36 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1C9BgW-0000Dp-Ie; Sun, 19 Sep 2004 20:05:36 -0400 Original-To: Paul Eggert In-reply-to: <7w8yb6wty1.fsf@sic.twinsun.com> (message from Paul Eggert on Sun, 19 Sep 2004 01:20:54 -0700) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:27299 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:27299 I thought RMS had recently implemented support for GNU "ls -lD" in CVS Emacs. That should solve the problem in general when GNU "ls" is being used, since "ls -lD" exactly identifies where each file name is. The problems you're running into would then occur only with non-GNU "ls", for which the obvious solution is to install GNU "ls". Yes, the latest Dired code knows how to use --dired. However, it does this only on the GNU system: (defvar dired-use-ls-dired (not (not (string-match "gnu" system-configuration))) If there is a reliable, trouble-free and quick way to check whether the ls program supports --dired, that could be used instead.