A bug was function w32-move-file-to-trash in w32.c example: ("~/test" is directory) (w32-move-file-to-trash "~/test") => ok (w32-move-file-to-trash "~/test/") => error So I fixed it. (w32-move-file-to-trash "~/test/") => ok Please use this patch not old one. ----- Original Message ----- From: "Toru TSUNEYOSHI" To: Cc: "Stefan Monnier" Sent: Saturday, April 26, 2008 5:18 AM Subject: Re: patch about moving file (or directory) to the Recycle Bin on Windows NT series > Now I made new patch for function move-file-to-trash (maybe as you > wrote). > > step to enable move-file-to-trash: > > cd src > patch -i patch__enable_delete_to_trash.diff > make all install > > Run emacs > (load-file "move-file-to-trash.el") > (setq delete-by-moving-to-trash t) > > I think it is useful. And I wish that someone else improve the code.