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


Message #528 received at 10489 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Cc: 10489 <at> debbugs.gnu.org, Michael Albinus <michael.albinus <at> gmx.de>
Subject: Re: bug#10489: 24.0.92;
	dired-do-copy may create infinite directory hierarchy
Date: Wed, 29 Feb 2012 21:33:56 -0500
>>> Maybe we could change the entry in files.texi like this:
>> [...]
>>> @defun file-equal-p file1 file2
>>> This function returns @code{t} if the files @var{file1} and
>>> ! @var{file2} name the same file.  If @var{file1} or @var{file2} does
>>> ! not exist, the return value is unspecified.
>> 
>> That looks good.
> What can be done also is to return a string in this case.
> So possible return values could be e.g:
> "unspecified" => mean one of the files doesn't exists.
> nil           => files exist and are not equal
> t             => files exist and are equal.

No, we may decide in the future to return a particular value (maybe not
always the same one), but we don't know yet what might be useful, so
instead we say it's not specified.


        Stefan




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.