unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* cl-macro-expandall symbol definition is void
@ 2014-10-20 22:37 covici
  2014-10-21  0:18 ` Kelvin White
  0 siblings, 1 reply; 16+ messages in thread
From: covici @ 2014-10-20 22:37 UTC (permalink / raw)
  To: emacs-devel

Hi.  I am getting this immediately upon starting emacs 24.4-rc1.  How do
I even troubleshoot as it seems to be something in my .emacs file?

Thanks in advance for any suggestions.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici@ccs.covici.com



^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: cl-macro-expandall symbol definition is void
@ 2014-11-25 21:24 Jostein Kjønigsen
  2014-11-25 22:12 ` Glenn Morris
  0 siblings, 1 reply; 16+ messages in thread
From: Jostein Kjønigsen @ 2014-11-25 21:24 UTC (permalink / raw)
  To: emacs-devel

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
jostein@kjonigsen.net / jostein@secure.kjonigsen.net


> 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



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-11-27 17:09 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-20 22:37 cl-macro-expandall symbol definition is void covici
2014-10-21  0:18 ` Kelvin White
2014-10-21  1:45   ` covici
2014-10-21  5:33     ` Stephen J. Turnbull
2014-10-21  6:59       ` covici
2014-10-21 13:45         ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2014-11-25 21:24 Jostein Kjønigsen
2014-11-25 22:12 ` Glenn Morris
2014-11-25 22:35   ` Glenn Morris
2014-11-26  8:22     ` Jostein Kjønigsen
2014-11-26 14:23       ` Stefan Monnier
2014-11-27  9:58         ` Jostein Kjønigsen
2014-11-27 17:09           ` Stefan Monnier
2014-11-26 16:47       ` Glenn Morris
2014-11-26 18:41         ` Stefan Monnier
2014-11-26 21:34           ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).