Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
"Don't know how to make a localized variable an alias" error when loading in some modes #528
Comments
|
See Important note regarding bug reporting, it's not clear to me exactly how to reproduce this. I imagine a call to |
|
Closing as I don't know how to reproduce this. I have some ideas how to fix it based on the description, but I won't try if I can't test that the fix works... |
npostavs
closed this
Oct 24, 2014
npostavs
added
the
cannot reproduce
label
Oct 24, 2014
vjohansen
commented
Aug 22, 2015
|
I have this bug now after updating all packages. Windows 7, "GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11 on LEG570"
|
|
Can you get this error starting from |
vjohansen
commented
Aug 22, 2015
|
No. it works when using -Q Now I can start emacs without error and it is only when I eval (yas-global-mode t) i get the error Before it happened during initialization. The only important change I think I did was to bytecompile yasnippet.el (I deleted the elc files to get a better backtrace) So now yasnippet is enabled after the initialization but I cannot turn it off (I get "Don't know how to make a localized variable an alias"). With -Q I can turn it off. |
vjohansen
commented
Aug 22, 2015
|
When I press TAB on file in a magit to show a diff I now get
|
vjohansen
commented
Aug 22, 2015
|
Please ignore these bug reports for now . It seems I had two yasnippet installations (git clone and from elpa). I was playing around with https://github.com/AndreaCrotti/minimal-emacs-configuration/blob/master/init.el which installed a yasnippet for me |
Does seem like a recipe for messing things up :-) |
This was referenced Sep 7, 2015
baerrach
commented
Jan 15, 2016
|
I found I was using the old functions through copy-and-paste :) which were being used in make-local-variable. So look closely at your code and you should be able to spot the problem. |
jml commentedOct 11, 2014
I got this error:
After running
yas-global-modeinrust-mode. Debugging revealed that it happened when yasnippet defined backwards aliases:Commenting out these blocks and reloading prevented the error.