Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error load this mode #35

Closed
zijianyue opened this issue Mar 12, 2015 · 2 comments
Closed

Error load this mode #35

zijianyue opened this issue Mar 12, 2015 · 2 comments
Milestone

Comments

@zijianyue
Copy link

Get the latest code ,and set below code in my .emacs file(only these two lines) ,
(require 'purpose)
(purpose-mode)
it reported below error,please check it.
Eager macro-expansion failure: (error "(alist-get key alist) is not a valid place expression")
WIN7 32bit,emacs 24.4

@bmag
Copy link
Owner

bmag commented Mar 12, 2015

Thanks for posting.

alist-get is a new Emacs feature, and Purpose should use it only when it's available. Does this error prevent you from using Purpose?
I work with two version of Emacs: 24.3 and the master branch. On Emacs 24.3 I also get this error message when Purpose loads, but it doesn't cause any problems when Purpose runs. On master branch I don't get any error, as alist-get exists there.

@zijianyue
Copy link
Author

Purpose runs well, but can you adapt purpose on 24.4 to avoid that error,thanks!

@bmag bmag modified the milestone: 1.4 Mar 19, 2015
bmag pushed a commit that referenced this issue Mar 22, 2015
alist-get isn't available in any stable Emacs release yet, but
supporting it causes trouble with eager macro expansion (and therefore
compilation), even if that code is never called, so we have to drop it.
@bmag bmag modified the milestones: 1.3, 1.4 Mar 22, 2015
@bmag bmag closed this as completed Mar 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants