[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cl-macro-expandall symbol definition is void
From: |
Jostein Kjønigsen |
Subject: |
Re: cl-macro-expandall symbol definition is void |
Date: |
Tue, 25 Nov 2014 22:24:16 +0100 |
If you're attempt to open some C#-files using the current Emacs 24.4
Windows-build, a bug in cc-defs.el is triggered during the
initialization of csharp-mode, and the mode fails to load.
This code here, while not the "production" fix, illustrates what goes
wrong:
https://gist.github.com/bsuh/f8b12b0d7e15f75f9a7c
The current fix in the repo can be found here:
237bf45a (Stefan Monnier 2014-10-29 23:50:15 -0400 177)
(eval-and-compile
237bf45a (Stefan Monnier 2014-10-29 23:50:15 -0400 178)
(defalias 'c--macroexpand-all
237bf45a (Stefan Monnier 2014-10-29 23:50:15 -0400 179) (if
(fboundp 'macroexpand-all)
237bf45a (Stefan Monnier 2014-10-29 23:50:15 -0400 180)
'macroexpand-all 'cl-macroexpand-all)))
That commit should (hopefully) contain the rest of the patching needed,
but it's mostly just applying the wrapper function instead of
cl-macroexpand-all directly.
Any chance of getting a new 24.4 build built for the Windows-users with
this patch built in?
--
Jostein Kjønigsen
address@hidden / address@hidden
> So, does anyone know about csharp-mode and why it would give me this
> error?
I think I have some idea of what's the underlying problem (in cc-mode,
used by csharp-mode). Try:
emacs --debug-init
and hopefully you'll get a backtrace. In any case, open a bug with `M-x
report-emacs-bug` so we can track it there.
Stefan
- Re: cl-macro-expandall symbol definition is void,
Jostein Kjønigsen <=