From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#21340: 24.5; trash-directory uses FreeDesktop location on OSX Date: Fri, 03 Dec 2021 17:16:20 +0100 Message-ID: <871r2ty88b.fsf@gnus.org> References: <831tesh9t6.fsf@gnu.org> <70E8D053-E9ED-4E5A-8BB4-36BDA8B4BDA8@3gfp.com> <83y4h0ftrk.fsf@gnu.org> <878rx373ps.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21975"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Glenn Morris , Harvey Chapman , Stefan Monnier , 21340@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 03 17:17:25 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtBFU-0005TC-JC for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Dec 2021 17:17:24 +0100 Original-Received: from localhost ([::1]:34738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtBFT-0006FL-H6 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 03 Dec 2021 11:17:23 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52840) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtBFA-0006F7-SG for bug-gnu-emacs@gnu.org; Fri, 03 Dec 2021 11:17:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40512) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mtBF8-0001q1-7l for bug-gnu-emacs@gnu.org; Fri, 03 Dec 2021 11:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mtBF8-0003VK-0l for bug-gnu-emacs@gnu.org; Fri, 03 Dec 2021 11:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Dec 2021 16:17:01 +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: moreinfo Original-Received: via spool by 21340-submit@debbugs.gnu.org id=B21340.163854819412130 (code B ref 21340); Fri, 03 Dec 2021 16:17:01 +0000 Original-Received: (at 21340) by debbugs.gnu.org; 3 Dec 2021 16:16:34 +0000 Original-Received: from localhost ([127.0.0.1]:52058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtBEf-00039L-VB for submit@debbugs.gnu.org; Fri, 03 Dec 2021 11:16:34 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:53948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mtBEd-000336-Qq for 21340@debbugs.gnu.org; Fri, 03 Dec 2021 11:16:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=M7f6s6uI3Yo34ws/PGVKAGIZzVaHamwW5lmBM2NV9Dg=; b=fCyEbxWNufCCX/AUQytO155u2N zcsExbgKx7EuPF25iJqKkvRM+dl+IvlYNadxVx8tYLtFe/aWDUlLgt+LPgz0VJsH5ckDTIDQvMTiD Hc2aYgV/6SkiOyJ1apFHM9wcUTdfknf5HQ9zFPfYLOvozHSfFR5rxLzY2Y24T0nxwpSc=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mtBES-0004NU-SC; Fri, 03 Dec 2021 17:16:23 +0100 X-Now-Playing: Joni Mitchell's _Blue_: "A Case Of You" In-Reply-To: (Alan Third's message of "Thu, 2 Dec 2021 21:58:35 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:221393 Archived-At: 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. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no