GNU bug report logs - #20817
25.0.50; Problems with upgrading of packages

Previous Next

Package: emacs;

Reported by: Mark Karpov <markkarpov <at> openmailbox.org>

Date: Mon, 15 Jun 2015 11:59:02 UTC

Severity: normal

Found in version 25.0.50

Done: Artur Malabarba <bruce.connor.am <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Artur Malabarba <bruce.connor.am <at> gmail.com>
To: Mark Karpov <markkarpov <at> openmailbox.org>
Cc: 20817 <at> debbugs.gnu.org
Subject: Re: bug#20817: 25.0.50; Problems with upgrading of packages
Date: Thu, 18 Jun 2015 18:26:40 +0100
Ok I think I see the problem. From the docstring of add-function:

‘:filter-args’    (lambda (&rest r) (apply OLDFUN (funcall FUNCTION r)))

However, you're using it as if it were this:

‘:filter-args’    (lambda (&rest r) (apply OLDFUN (apply FUNCTION r)))

Try changing your function to be:


(defun pkgi-filter-args (args)
  "How to filter arguments of `package-install' command.
PKG is passed to the command, while DONT-SELECT is always T, so
one can select any packages only by manually adding them to
`package-selected-packages' variable."
  (list (car args) t))




This bug report was last modified 10 years and 34 days ago.

Previous Next


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