help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ELPA


From: Stefan Monnier
Subject: Re: ELPA
Date: Tue, 05 Jan 2021 14:45:05 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> As for ELPA ... this has happened to me for as long as
> I can remember.
>
>   Packages that can be upgraded: 11; type ā€˜Uā€™ to mark
>   for upgrading.
>   
>   (hit U)
>   
>   package-menu--mark-upgrades-1: Wrong type argument:
>   package-desc, nil

Sounds like a bug.  Please report it.  And if you can, try to get
a backtrace (e.g. via `M-x toggle-debug-on-error RET`).

> Also... can you do it without having to do this

Not sure what "it" refers to.

>   byte-compile=$(emacs) \
>      -batch \
>      -eval "(setq load-path (append load-path 
> '(\"~/.emacs.d/elpa/gnuplot-mode-20171013.1616/\" 
> \"~/.emacs.d/elpa/vterm-20201004.2057\" 
> \"~/.emacs.d/elpa/markdown-mode-20201015.1327\" 
> \"~/.emacs.d/elpa/w3m-20200818.141\" \"~/.emacs.d/emacs-init\" 
> \"~/.emacs.d/emacs-init/ide\" \"~/.emacs.d/emacs-init/w3m\" 
> \"~/.emacs.d/emacs-init/gnus\" 
> \"~/.emacs.d/elpa/google-translate-20190620.1416\" )))" \
>      -f batch-byte-compile
>
> In the Makefile? (Set the load-path again for every pack, I mean.)

Which Makefile?

I think the answer is something like:

    byte-compile=$(emacs)                      \
       --batch --eval "(package-activate-all)" \
       -f batch-byte-compile


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]