emacs-devel
[Top][All Lists]
Advanced

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

Re: Incorrect error message for file operation in Windows


From: Eli Zaretskii
Subject: Re: Incorrect error message for file operation in Windows
Date: Sun, 02 Jun 2013 18:57:37 +0300

> Date: Sun, 2 Jun 2013 14:53:43 +0400
> From: Ivanov Dmitry <address@hidden>
> 
> I am using Emacs 24.1.1 (i386-mingw-nt5.1.2600) on Windows XP.

Can you try a later version?  Emacs 24.3 was released 2 months ago.

> I tried the following code, copying file drupal.el from ~/.emacs.d  to 
> e:/video:
> 
> (condition-case ex
>      (copy-file "~/.emacs.d/drupal.el" "e:/video")
>          ('error (message (format "Caught exception: [%s]" ex))))
> 
> 
> My user doesn't have the right to write to "e:/video". So, I expected 
> "permission denied" error. Instead I got:
> 
> "Caught exception: [(file-error Copying file no such file or directory 
> d:/bin/cygwin/home/user/.emacs.d/drupal.el e:/video/drupal.el)]"
> 
> This error message is incorrect - file exists. Why is that? Bug?

Hard to say without more details.  Can you describe in detail what do
you mean by 'My user doesn't have the right to write to "e:/video"'?
What kind of filesystem is on drive E:, and why cannot your user write
there?



reply via email to

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