Eager macro-expansion failure #268

Closed
marcbowes opened this Issue Dec 29, 2014 · 3 comments

Comments

Projects
None yet
2 participants

I've just tried to install company (20141216.409 according to package-list-packages) and I get this:

Eager macro-expansion failure: (wrong-number-of-arguments (lambda (old new) (\` (progn (defalias (\, old) (\, new)) (put (\, old) (quote byte-obsolete-variable) (\, new))))) 3)
Company back-end 'company-gtags' could not be initialized:
Wrong number of arguments: (lambda (old new) (\` (progn (defalias (\, old) (\, new)) (put (\, old) (quote byte-obsolete-variable) (\, new))))), 3
emacs-version: GNU Emacs 24.4.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of 2014-10-21 on builder10-9.porkrind.org
company-version: Company version: 0.8.8-cvs

(That lines up with

;; Version: 0.8.8-cvs
)

Please let me know what other information I can provide to help debugging..

Owner

dgutov commented Dec 30, 2014

It looks like there might be something wrong with define-obsolete-variable-alias in your setup. That macro should accept a third argument since at least Emacs 23.1.

Could you try HOME=/tmp emacs, add MELPA as an archive in that session, and install company? I just did that in Emacs 24.3, as well as the version that would probably become 24.5, and saw no problems.

I think this is explained in jwiegley/emacs-async#46. The fix is to uninstall the impacted packages, restart emacs and reinstall; or use async-bytecomp to get a clean compile.

I think what happened is I installed company while upgrading some other packages and the compile order didn't work out.

@marcbowes marcbowes closed this Dec 30, 2014

Owner

dgutov commented Dec 30, 2014

I don't know if that's a good explanation for the problem. If you can reproduce it reliably, that would be a good bug report for emacs-async.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment