From: Artur Malabarba <bruce.connor.am@gmail.com>
To: Mark Karpov <markkarpov@openmailbox.org>
Cc: 20817@debbugs.gnu.org
Subject: bug#20817: 25.0.50; Problems with upgrading of packages
Date: Thu, 18 Jun 2015 18:26:40 +0100 [thread overview]
Message-ID: <CAAdUY-Jp3YykhnA_rk7CkMO72TmMWy6aVv=r9SvqDNYpdp4V8w@mail.gmail.com> (raw)
In-Reply-To: <87ioalatzr.fsf@openmailbox.org>
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))
next prev parent reply other threads:[~2015-06-18 17:26 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-15 11:55 bug#20817: 25.0.50; Problems with upgrading of packages Mark Karpov
2015-06-17 16:01 ` Artur Malabarba
2015-06-18 6:54 ` Mark Karpov
2015-06-18 12:50 ` Artur Malabarba
2015-06-18 13:29 ` Mark Karpov
2015-06-18 13:31 ` bruce.connor.am
2015-06-18 13:51 ` Mark Karpov
2015-06-18 14:05 ` bruce.connor.am
2015-06-18 14:21 ` Mark Karpov
2015-06-18 15:07 ` Artur Malabarba
2015-06-18 15:23 ` Mark Karpov
2015-06-18 15:41 ` Artur Malabarba
2015-06-18 15:58 ` Mark Karpov
2015-06-18 17:26 ` Artur Malabarba [this message]
2015-06-18 17:34 ` Mark Karpov
2015-06-18 17:59 ` Artur Malabarba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAAdUY-Jp3YykhnA_rk7CkMO72TmMWy6aVv=r9SvqDNYpdp4V8w@mail.gmail.com' \
--to=bruce.connor.am@gmail.com \
--cc=20817@debbugs.gnu.org \
--cc=markkarpov@openmailbox.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).