unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Incorrect error message for file operation in Windows
@ 2013-06-02 10:53 Ivanov Dmitry
  2013-06-02 15:57 ` Eli Zaretskii
  2013-06-02 20:50 ` Stefan Monnier
  0 siblings, 2 replies; 7+ messages in thread
From: Ivanov Dmitry @ 2013-06-02 10:53 UTC (permalink / raw)
  To: emacs-devel

I am using Emacs 24.1.1 (i386-mingw-nt5.1.2600) on Windows XP.

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?




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-06-03 15:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-02 10:53 Incorrect error message for file operation in Windows Ivanov Dmitry
2013-06-02 15:57 ` Eli Zaretskii
2013-06-02 16:45   ` Re[2]: " Ivanov Dmitry
2013-06-02 17:11     ` Eli Zaretskii
2013-06-03 15:04       ` Eli Zaretskii
2013-06-02 20:50 ` Stefan Monnier
2013-06-03  7:31   ` Re[2]: " Ivanov Dmitry

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).