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


Message #39 received at 14967 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alex <agrambot <at> gmail.com>
Cc: lunaryorn <at> gmail.com, monnier <at> iro.umontreal.ca, 14967 <at> debbugs.gnu.org,
 npostavs <at> users.sourceforge.net
Subject: Re: bug#14967: 24.3.50; package-delete deletes by trashing?
Date: Mon, 12 Jun 2017 17:27:47 +0300
> From: Alex <agrambot <at> gmail.com>
> Date: Sun, 11 Jun 2017 21:26:20 -0600
> Cc: Sebastian Wiesner <lunaryorn <at> gmail.com>,
> 	Stefan Monnier <monnier <at> iro.umontreal.ca>, 14967 <at> debbugs.gnu.org
> 
> Here's a patch for it.

Thanks.

> +*** The new variable 'package-trash-old-packages' has been added to
> +control whether or not 'package-delete' trashes old packages files.

This should say something about the default behavior.

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

Why "may"?

> +`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.




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.