GNU bug report logs - #21340
24.5; trash-directory uses FreeDesktop location on OSX

Previous Next

Package: emacs;

Reported by: Harvey Chapman <hchapman <at> 3gfp.com>

Date: Mon, 24 Aug 2015 17:22:02 UTC

Severity: minor

Tags: moreinfo

Found in version 24.5

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alan Third <alan <at> idiocy.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Glenn Morris <rgm <at> gnu.org>, Harvey Chapman <hchapman <at> 3gfp.com>, Stefan Monnier <monnier <at> iro.umontreal.ca>, 21340 <at> debbugs.gnu.org
Subject: bug#21340: 24.5; trash-directory uses FreeDesktop location on OSX
Date: Fri, 3 Dec 2021 23:02:31 +0000
[Message part 1 (text/plain, inline)]
On Fri, Dec 03, 2021 at 05:16:20PM +0100, Lars Ingebrigtsen wrote:
> Alan Third <alan <at> 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
[0001-Make-use-of-Trash-on-macOS-bug-21340.patch (text/x-diff, attachment)]

This bug report was last modified 3 years and 174 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.