On Fri, Dec 03, 2021 at 05:16:20PM +0100, Lars Ingebrigtsen wrote: > Alan Third writes: > > > It looks like there's a method available to trash items on macOS 10.8 > > and above, so I suppose that's the logical thing to use. > > > > https://developer.apple.com/documentation/foundation/nsfilemanager/1414306-trashitematurl?language=objc > > > > macOS < 10.8 uses some Carbon API, which I'd rather not bother with, > > and GNUstep doesn't support it at all, so I imagine it's as well using > > the XDG location or whatever the default is. > > Sounds good to me. Well, I've written a patch but the function doesn't appear in lisp and I don't know what I've done wrong. Patch attached. -- Alan Third