From: Ivanov Dmitry <usr345@gmail.com>
To: emacs-devel@gnu.org
Subject: Incorrect error message for file operation in Windows
Date: Sun, 2 Jun 2013 14:53:43 +0400 [thread overview]
Message-ID: <1265839700.20130602145343@gmail.com> (raw)
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?
next reply other threads:[~2013-06-02 10:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-02 10:53 Ivanov Dmitry [this message]
2013-06-02 15:57 ` Incorrect error message for file operation in Windows 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1265839700.20130602145343@gmail.com \
--to=usr345@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.