GNU bug report logs -
#21340
24.5; trash-directory uses FreeDesktop location on OSX
Previous Next
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: Harvey Chapman <hchapman <at> 3gfp.com>
> Date: Mon, 24 Aug 2015 13:49:33 -0400
> Cc: 21340 <at> debbugs.gnu.org
>
> > If the value is nil, Emacs uses a freedesktop.org-style trashcan.
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > The default is nil, so what you see is Emacs functioning as designed.
>
> I guess I considered it a bug, because `system-move-file-to-trash` is
> used by Emacs for Windows to put files in the correct location. If Emacs
> can cater to Windows, surely it can cater to another very largely used
> OS?
It doesn't cater to Windows, it caters to any platform that has a
'system-move-file-to-trash' primitive (which is supposed to know the
location of trash internally), and Windows just happens to have it.
When such a primitive is not available, Emacs moves the file using the
"normal" file I/O, and then it has to know where to move it.
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.