emacs-devel
[Top][All Lists]
Advanced

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

Re: patch about moving file (or directory) to the Recycle Bin on Windows


From: Toru TSUNEYOSHI
Subject: Re: patch about moving file (or directory) to the Recycle Bin on Windows NT series
Date: Sat, 26 Apr 2008 06:10:34 +0900

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" <address@hidden>
To: <address@hidden>
Cc: "Stefan Monnier" <address@hidden>
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.

Attachment: move-file-to-trash.el
Description: Binary data

Attachment: patch__enable_delete_to_trash.diff
Description: Binary data


reply via email to

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