From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harvey Chapman Newsgroups: gmane.emacs.bugs Subject: bug#21340: 24.5; trash-directory uses FreeDesktop location on OSX Date: Mon, 24 Aug 2015 13:49:33 -0400 Message-ID: <70E8D053-E9ED-4E5A-8BB4-36BDA8B4BDA8@3gfp.com> References: <831tesh9t6.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1440438633 12594 80.91.229.3 (24 Aug 2015 17:50:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Aug 2015 17:50:33 +0000 (UTC) Cc: 21340@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 24 19:50:16 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZTvst-0001gO-Eu for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Aug 2015 19:50:15 +0200 Original-Received: from localhost ([::1]:55857 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTvss-0003zT-Qd for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Aug 2015 13:50:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46183) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTvsp-0003z8-A4 for bug-gnu-emacs@gnu.org; Mon, 24 Aug 2015 13:50:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTvsj-0004gP-Ld for bug-gnu-emacs@gnu.org; Mon, 24 Aug 2015 13:50:11 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTvsj-0004ft-Im for bug-gnu-emacs@gnu.org; Mon, 24 Aug 2015 13:50:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZTvsi-0005ma-VV for bug-gnu-emacs@gnu.org; Mon, 24 Aug 2015 13:50:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Harvey Chapman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Aug 2015 17:50:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21340 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21340-submit@debbugs.gnu.org id=B21340.144043857922182 (code B ref 21340); Mon, 24 Aug 2015 17:50:04 +0000 Original-Received: (at 21340) by debbugs.gnu.org; 24 Aug 2015 17:49:39 +0000 Original-Received: from localhost ([127.0.0.1]:37186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZTvsI-0005li-RL for submit@debbugs.gnu.org; Mon, 24 Aug 2015 13:49:39 -0400 Original-Received: from cdptpa-outbound-snat.email.rr.com ([107.14.166.231]:15937 helo=cdptpa-oedge-vip.email.rr.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZTvsG-0005la-PT for 21340@debbugs.gnu.org; Mon, 24 Aug 2015 13:49:37 -0400 Original-Received: from [72.187.19.10] ([72.187.19.10:46378] helo=blue) by cdptpa-oedge01 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 30/1A-30648-E295BD55; Mon, 24 Aug 2015 17:49:35 +0000 Original-Received: from localhost (localhost [127.0.0.1]) by blue (Postfix) with ESMTP id 6A3A81080361; Mon, 24 Aug 2015 13:49:34 -0400 (EDT) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at localdomain Original-Received: from blue ([127.0.0.1]) by localhost (blue.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 53hpcbCKojJm; Mon, 24 Aug 2015 13:49:33 -0400 (EDT) Original-Received: from [192.168.25.142] (rrcs-67-79-147-138.se.biz.rr.com [67.79.147.138]) by blue (Postfix) with ESMTPSA id A79D410802A7; Mon, 24 Aug 2015 13:49:33 -0400 (EDT) In-Reply-To: <831tesh9t6.fsf@gnu.org> X-Mailer: Apple Mail (2.2104) X-RR-Connecting-IP: 107.14.168.118:25 X-Cloudmark-Score: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:105782 Archived-At: > On Aug 24, 2015, at 1:32 PM, Eli Zaretskii wrote: >=20 >> From: Harvey Chapman >> Date: Mon, 24 Aug 2015 12:55:19 -0400 >>=20 >> I set "(setq delete-by-moving-to-trash t)", and emacs moved >> deleted files to ~/.local/share/Trash, the FreeDesktop location. >=20 > As expected. >=20 >> The files should have been moved to ~/.Trash, the standard OSX >> location. I was deleting files in my home directory using dired. >>=20 >> Work around: (setq trash-directory "~/.Trash") >=20 > You need to customize that variable to point to the directory where > you want your trash. The doc string says: >=20 > Directory for `move-file-to-trash' to move files and directories = to. > This directory is only used when the function = `system-move-file-to-trash' > is not defined. > Relative paths are interpreted relative to `default-directory'. > If the value is nil, Emacs uses a freedesktop.org-style trashcan. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >=20 > 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? Emacs putting files in ~/.local on OSX just makes it appear that it doesn=E2=80=99t know what it is doing. Thank you all the same.