From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.bugs Subject: bug#20817: 25.0.50; Problems with upgrading of packages Date: Thu, 18 Jun 2015 18:26:40 +0100 Message-ID: References: <87y4jhyvjj.fsf@openmailbox.org> <871th9gkri.fsf@openmailbox.org> <87egl959cq.fsf@openmailbox.org> <87ioalatzr.fsf@openmailbox.org> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1434648448 19949 80.91.229.3 (18 Jun 2015 17:27:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Jun 2015 17:27:28 +0000 (UTC) Cc: 20817@debbugs.gnu.org To: Mark Karpov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 18 19:27:19 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z5das-0004nU-Ka for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Jun 2015 19:27:14 +0200 Original-Received: from localhost ([::1]:54184 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5dar-0005HE-UH for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Jun 2015 13:27:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5dal-0005Co-7M for bug-gnu-emacs@gnu.org; Thu, 18 Jun 2015 13:27:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5dag-0000ND-C2 for bug-gnu-emacs@gnu.org; Thu, 18 Jun 2015 13:27:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49814) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5dag-0000N2-8B for bug-gnu-emacs@gnu.org; Thu, 18 Jun 2015 13:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z5daf-0003Cz-RG for bug-gnu-emacs@gnu.org; Thu, 18 Jun 2015 13:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Jun 2015 17:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20817 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20817-submit@debbugs.gnu.org id=B20817.143464840812314 (code B ref 20817); Thu, 18 Jun 2015 17:27:01 +0000 Original-Received: (at 20817) by debbugs.gnu.org; 18 Jun 2015 17:26:48 +0000 Original-Received: from localhost ([127.0.0.1]:51260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z5daS-0003CY-FY for submit@debbugs.gnu.org; Thu, 18 Jun 2015 13:26:48 -0400 Original-Received: from mail-la0-f52.google.com ([209.85.215.52]:36757) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z5daQ-0003CL-1R for 20817@debbugs.gnu.org; Thu, 18 Jun 2015 13:26:46 -0400 Original-Received: by lacny3 with SMTP id ny3so58887817lac.3 for <20817@debbugs.gnu.org>; Thu, 18 Jun 2015 10:26:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=5V/mAY2AZlztrgC0U0LUB3mqPA5Quwy9ES0rHtyIxGQ=; b=QOZGFOgFwmS1v5yuZm3l72wlE/MZRccf081OfKRseOucoQ6vWrv5HSSqEngdm/dUU3 IXZJaeMUJzQzc0t0QRRiMtkAGJBWqB+J50ccpCl9bA0EYv+byBfNya8cft/wlvb7Qn6J zcsDuy/gegoO59pbpu6f1xfjWqtPeF5kl9nZ62jdPDu8m4JqstL9TPEJ8vH6wIV9f18Z xwC9SxOn8oHoFW3SQKIawveXZ82rRT60GHFt41JlVOeuUXOQcmjJ6SHdAdD0zMZFydva vyxVQmebHXt+x6hUsSk5s822lwCVxNZFW0Iq8UyZCRkM4dBD9X8X8o6pKk0QskyYe+Ib 7emQ== X-Received: by 10.112.204.6 with SMTP id ku6mr13753255lbc.73.1434648400190; Thu, 18 Jun 2015 10:26:40 -0700 (PDT) Original-Received: by 10.25.214.133 with HTTP; Thu, 18 Jun 2015 10:26:40 -0700 (PDT) In-Reply-To: <87ioalatzr.fsf@openmailbox.org> X-Google-Sender-Auth: bPLBwoluagtPs-kfevs4_e89hmM X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:104103 Archived-At: Ok I think I see the problem. From the docstring of add-function: =E2=80=98:filter-args=E2=80=99 (lambda (&rest r) (apply OLDFUN (funcall = FUNCTION r))) However, you're using it as if it were this: =E2=80=98:filter-args=E2=80=99 (lambda (&rest r) (apply OLDFUN (apply FU= NCTION 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))