GNU bug report logs - #10489
24.0.92; dired-do-copy may create infinite directory hierarchy

Previous Next

Package: emacs;

Reported by: michael_heerdegen <at> web.de

Date: Thu, 12 Jan 2012 19:36:01 UTC

Severity: important

Tags: patch

Merged with 11130

Found in version 24.0.92

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Stefan Monnier'" <monnier <at> iro.umontreal.ca>, "'Michael Albinus'" <michael.albinus <at> gmx.de>
Cc: 'Juanma Barranquero' <lekktu <at> gmail.com>, 10489 <at> debbugs.gnu.org, 'Thierry Volpiatto' <thierry.volpiatto <at> gmail.com>
Subject: bug#10489: 24.0.92; dired-do-copy may create infinite directory hierarchy
Date: Fri, 13 Jan 2012 08:59:08 -0800
> >> read-file-name-completion-ignore-case is a user 
> >> configuration which only reflects the underlying system's
> >> sensitivity by default but the user is free to modify it.
> >>  I used to set it to t under GNU/Linux, for instance.
> >
> > (eval (car (get 'read-file-name-completion-ignore-case 
> >                 'standard-value)))
> >
> > would do, but that's too hackish ??
> 
> Yuck.  I'd much rather introduce a new defconst which is then used to
> provide the default value of read-file-name-completion-ignore-case.
> 
> BTW, a reliable test of file name equality is far from obvious.  E.g.
> "/ssh:toto:/titi" is equal to "/ssh:TOTO:/titi" but whether
> "/ssh:toto:/titi" is not equal to "/ssh:toto:/TITI" if titi
> is a typical GNU/Linux machine.

And if you try to rely on some system setting (e.g. the constant you mentioned),
then that needs to be checked separately for each file name argument, in the
case where a remote specifier is part of the file name.





This bug report was last modified 13 years and 58 days ago.

Previous Next


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