The title of this file has been updated so that it no longer mentions Microsoft Windows in deference to a request by Richard Stallman.
Click on the following link for more info: http://www.geocities.com/davinpearson/research/2006/mopa2e.html#trashcan Here is a summary of the system: The file trashcan.el changes the behaviour of deleting files with the "x" key in dired mode. Instead of deleting files permanently, which is Emacs' default behaviour, they are either moved to a Trashcan Directory (the actual directory depends on the value of the string variable trashcan--dir which has a default value of ".TRASHCAN") or if you are already in the trashcan directory, then the files are deleted permanently. Like the Windows Recycle Bin, files in the trashcan can be restored (undeleted) and in Windows for efficiency each hard drive has own trashcan directory. Files can be restored by viewing the trashcan directory in dired mode, selecting the file(s) you wish to restore with the "m" key and then executing the command M-x trashcan--restore. If no files or directories have been selected, then the file or directory currently pointed to by the cursor is restored. Each trashcan directory can be emptied via the command M-x trashcan--empty while you are viewing that directory in dired mode. The name "trashcan" comes from the Amiga Computer's equivalent of the Windows Recycle Bin. _______________________________________________ gnu-emacs-sources mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
