all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: nyc4bos@aol.com
Cc: 14083@debbugs.gnu.org
Subject: bug#14083: 24.3.50; Dired error deleting directory
Date: Fri, 29 Mar 2013 00:09:04 +0200	[thread overview]
Message-ID: <83k3orw51b.fsf@gnu.org> (raw)
In-Reply-To: <xl51uazry93.fsf@aol.com>

> From: nyc4bos@aol.com
> Date: Thu, 28 Mar 2013 17:49:12 -0400
> 
> After invoking Dired and marking a directory (recursively) and executing
> `(dired-do-flagged-delete)' I got the following message:
> 
> (file-error Removing directory permission denied
> c:/Users/tempuser/AppData/Local/Temp/temp-dir)
> 
> Trying to delete the directory from the command line I got:
> 
> The process cannot access the file because it is being used by another
> process.
> 
> Is there any way for Emacs to display this message rather than the
> generic "(file-error Removing directory permission denied)"

Not easily.  Emacs uses Posix errno variable values to produce the
text of the error messages.  Windows has a much richer set of possible
error values (this one is ERROR_SHARING_VIOLATION), but the Windows
runtime and sometimes Emacs code itself map them to the Posix errno
values, in this case EPERM, and only those errno values are exposed to
the Emacs primitives.





      reply	other threads:[~2013-03-28 22:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-28 21:49 bug#14083: 24.3.50; Dired error deleting directory nyc4bos
2013-03-28 22:09 ` Eli Zaretskii [this message]

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=83k3orw51b.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=14083@debbugs.gnu.org \
    --cc=nyc4bos@aol.com \
    /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.