Eli Zaretskii wrote: > Yet another possibility is to refrain from calling rename-file when > the moved file is a directory, and instead to do what rename-file > does, with a twist, "by hand". That is what I actually prefer, as > nothing is really wrong with rename-file. I'm afraid I don't understand your suggestion. I've attached the proof-of-concept patch that I came up with, which just modifies move-file-to-trash. I've tested it with files and directories, both same-filesystem and crossing filesystems. Did you have in mind something similar? cheers, mike