[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: using use-package
From: |
tomas |
Subject: |
Re: using use-package |
Date: |
Thu, 13 Aug 2015 23:11:02 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, Aug 13, 2015 at 04:31:03PM -0400, Stefan Monnier wrote:
> >> Please do keep us informed of those problems: it's indeed very important
> >> to make package.el more robust.
> > My hunch now is that the package brought with it an .elc file (probably
> > magit.elc) compiled with the wrong Emacs version.
>
> Sounds unlikely both because of the way the ELPA package gets built and
> because many other people would have bumped into this problem.
Sounds compelling, but...
> > Removing all .elc and recompiling the directory seems to succeed [...]
> My crystal ball tells me that you upgraded Magit from an Emacs where the
> previous Magit was already loaded, and the old (loaded) version
> interfered while byte-compiling the new version.
> [ The typical interference, looks like this: Emacs tries to compile
> foo-1.el which does (require 'foo-2) to get some macros, but (the old)
> `foo-2' is already loaded so we end up using the old version of the
> macros (or the macros may simply not be defined at all). ]
... the only version of magit to hit my computer was this one loaded
via ELPA (once). Unless I fat-fingered something (does happen sometimes).
> Normally byte-code is upward compatible, so the problem is only if you
> compile with Emacs-NN and then use that file with Emacs-MM where MM<NN.
> Admittedly, handling this more cleanly would be good.
I'll try to reproduce it -- after nuking .emacs.d/elpa (I can afford
this luxury since magit was my first dabbling in elpa anyway :-)
I'll report back.
Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlXNB+YACgkQBcgs9XrR2kb8zACeIMcDlIaCbn/Fe+MkBHNOkQYc
E6cAn3B2WmNu2n2COtcKfkOHJiaXocy3
=2Ete
-----END PGP SIGNATURE-----
- Re: using use-package, (continued)
- Re: using use-package, Phillip Lord, 2015/08/11
- Message not available
- Re: using use-package, Rusi, 2015/08/12
- Re: using use-package, Ian Zimmerman, 2015/08/12
- Re: using use-package, Stefan Monnier, 2015/08/12
- Re: using use-package, tomas, 2015/08/13
- Re: using use-package, Stefan Monnier, 2015/08/13
- Re: using use-package, tomas, 2015/08/13
- Message not available
- Re: using use-package, Stefan Monnier, 2015/08/13
- Re: using use-package,
tomas <=
- Re: using use-package, Michael Heerdegen, 2015/08/13
- Re: using use-package, Stefan Monnier, 2015/08/13
- Re: using use-package, John Mastro, 2015/08/13
- Re: using use-package, Rasmus, 2015/08/13
- Re: using use-package, Stefan Monnier, 2015/08/13
- Re: using use-package, Rasmus, 2015/08/15
- Message not available
- Re: using use-package, Stefan Monnier, 2015/08/15
- Re: using use-package, Thierry Volpiatto, 2015/08/14
- Re: using use-package, John Wiegley, 2015/08/13
- Re: using use-package, Phillip Lord, 2015/08/13