[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Recent change in master breaks async package update using paradox
From: |
Eli Zaretskii |
Subject: |
Re: Recent change in master breaks async package update using paradox |
Date: |
Fri, 07 Apr 2017 10:25:47 +0300 |
> From: Lars Brinkhoff <address@hidden>
> Date: Fri, 07 Apr 2017 07:42:49 +0200
>
> This code (in paradox-execute.el) is executed in the parent emacs:
>
> (eval
> `(async-start
> (lambda ()
> (require 'package)
> ,(async-inject-variables "\\`package-")
> (setq package-menu-async nil)
> (dolist (elt package-alist)
> (package-activate (car elt) 'force))
> (let ((alist ,(macroexpand
> `(paradox--perform-package-transaction
> ',install-list ',delete-list))))
> (list package-alist
> (when (boundp 'package-selected-packages)
> package-selected-packages)
> package-archive-contents
> ;; This is the alist that will be passed to the hook.
> (cons '(noquery . ,noquery) (cons '(async . t) alist)))))
> (lambda () ... )))
>
> The first lambda is executed in a subprocess emacs and throws the error
> (wrong-type-argument sequencep #s(package-desc swiper ... ))
>
> I'm going to study async.el documentation and code to see if there's a
> way to debug this. But if anyone has any hints, that would be appreciated.
What is package-desc? If its value and/or its semantics are only
valid in the parent Emacs process, then it might not work to use it in
the subprocess.
- Re: Recent change in master breaks async package update using paradox, (continued)
- Re: Recent change in master breaks async package update using paradox, Kaushal Modi, 2017/04/05
- Re: Recent change in master breaks async package update using paradox, Lars Brinkhoff, 2017/04/06
- Re: Recent change in master breaks async package update using paradox, Kaushal Modi, 2017/04/06
- Re: Recent change in master breaks async package update using paradox, Lars Brinkhoff, 2017/04/06
- Re: Recent change in master breaks async package update using paradox, Kaushal Modi, 2017/04/06
- Re: Recent change in master breaks async package update using paradox, Lars Brinkhoff, 2017/04/06
- Re: Recent change in master breaks async package update using paradox, Noam Postavsky, 2017/04/06
- Re: Recent change in master breaks async package update using paradox, Lars Brinkhoff, 2017/04/06
Re: Recent change in master breaks async package update using paradox, Lars Brinkhoff, 2017/04/06
Re: Recent change in master breaks async package update using paradox, Lars Brinkhoff, 2017/04/07
- Re: Recent change in master breaks async package update using paradox,
Eli Zaretskii <=
- Re: Recent change in master breaks async package update using paradox, Lars Brinkhoff, 2017/04/07
- Re: Recent change in master breaks async package update using paradox, Eli Zaretskii, 2017/04/07
- Debugging problems using async.el, Lars Brinkhoff, 2017/04/07
- Re: Debugging problems using async.el, Kaushal Modi, 2017/04/07
- Re: Debugging problems using async.el, Eli Zaretskii, 2017/04/07
- Re: Debugging problems using async.el, Lars Brinkhoff, 2017/04/07
Re: Recent change in master breaks async package update using paradox, Stefan Monnier, 2017/04/07
What is a "sequence"?, Lars Brinkhoff, 2017/04/07
Re: What is a "sequence"?, Stefan Monnier, 2017/04/07
If records are not sequences, why does aref work on records?, Paul Eggert, 2017/04/07