bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#10489: 24.0.92; dired-do-copy may create infinite directory hierarch


From: Thierry Volpiatto
Subject: bug#10489: 24.0.92; dired-do-copy may create infinite directory hierarchy
Date: Wed, 29 Feb 2012 18:52:56 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> 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.

>> ! If two files are equal, it does not imply that both file names specify
>> ! accessible files.  For example, @file{/sudo::/foo/bar} might be
>> ! accessible, but @file{file:///foo/bar} might not.  (@pxref{Remote
>> ! Files,, Remote Files, emacs, The GNU Emacs Manual}, and
>> ! @pxref{Supported URL Types,, Supported URL Types, url, URL
>> ! Programmer's Manual})
>
> I'd rather not get into such issues in the doc.
>
>
>         Stefan

-- 
  Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]