bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#21340: 24.5; trash-directory uses FreeDesktop location on OSX


From: Alan Third
Subject: bug#21340: 24.5; trash-directory uses FreeDesktop location on OSX
Date: Fri, 3 Dec 2021 23:02:31 +0000

On Fri, Dec 03, 2021 at 05:16:20PM +0100, Lars Ingebrigtsen wrote:
> Alan Third <alan@idiocy.org> 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

Attachment: 0001-Make-use-of-Trash-on-macOS-bug-21340.patch
Description: Text Data


reply via email to

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