GNU bug report logs - #14967
24.3.50; package-delete deletes by trashing?

Previous Next

Package: emacs;

Reported by: Sebastian Wiesner <lunaryorn <at> gmail.com>

Date: Sat, 27 Jul 2013 11:36:02 UTC

Severity: wishlist

Tags: notabug

Found in version 24.3.50

Fixed in version 26.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alex <agrambot <at> gmail.com>
To: npostavs <at> users.sourceforge.net
Cc: Sebastian Wiesner <lunaryorn <at> gmail.com>, Glenn Morris <rgm <at> gnu.org>, Stefan Monnier <monnier <at> iro.umontreal.ca>, 14967 <at> debbugs.gnu.org
Subject: bug#14967: 24.3.50; package-delete deletes by trashing?
Date: Sun, 11 Jun 2017 21:26:20 -0600
[Message part 1 (text/plain, inline)]
npostavs <at> users.sourceforge.net writes:

> severity 14967 wishlist
> quit
>
> Alex <agrambot <at> gmail.com> writes:
>
>> Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
>>
>>>> Well, obviously I consider this behavior a bug.  Trash is no place for
>>>> deleted packages.  I mean, does apt-get remove use the Trash?!
>>>
>>> I think the reasoning goes as follows:
>>> Emacs uses "trash" when deleting a file upon the user's request (as
>>> opposed to things like temp files used internally).
>>
>> Could there perhaps be a separate configuration option for deleting
>> packages versus trashing them? I usually like Emacs using the trash, but
>> I don't see a reason why packages should go there myself.
>
> Seems reasonable.

Here's a patch for it.

[0001-Make-package-delete-conditionally-not-use-the-trash.patch (text/x-diff, attachment)]

This bug report was last modified 8 years and 30 days ago.

Previous Next


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