GNU bug report logs - #27
incorrect code in dired-insert-directory

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Mon, 3 Mar 2008 03:05:05 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> stupidchicken.com>
To: "Drew Adams" <drew.adams <at> oracle.com>
Cc: 27 <at> debbugs.gnu.org
Subject: bug#27: incorrect code in dired-insert-directory
Date: Sun, 20 Apr 2008 09:46:40 -0400
> This line near the end of dired-insert-directory is wrong:
> 
>  (if (and (or hdr wildcard) (not (looking-at "^  /.*:$")))
> 
> The problem is that "^ /.*:$" does not recognize a directory name on
> MS Windows... The regexp works only for Unix and GNU/Linux, not for
> Windows, which has directories that have drive letters

Patch welcome (I'd work on this, but I can't test it since I don't have
Windows available).




This bug report was last modified 16 years and 348 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.