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: Eli Zaretskii <eliz <at> gnu.org>
Cc: lunaryorn <at> gmail.com, monnier <at> iro.umontreal.ca, 14967 <at> debbugs.gnu.org, npostavs <at> users.sourceforge.net
Subject: bug#14967: 24.3.50; package-delete deletes by trashing?
Date: Mon, 12 Jun 2017 13:37:46 -0600
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> writes:

>> +(defvar package-trash-old-packages t
>> +  "If non-nil, `package-delete' may trash packages.
>
> Why "may"?

Since after this patch, `package-delete' may trash packages, or may not,
depending on the value of `delete-by-moving-to-trash'.

>> +`delete-by-moving-to-trash' must be non-nil for this variable to
>> +have an effect.")
>
> I think it would be better to make this defcustom.

Right, I forgot to do that. I updated and attached a new patch.

[0001-Make-package-delete-conditionally-not-use-the-trash.patch (text/x-patch, 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.