From: "Jostein Kjønigsen" <jostein@secure.kjonigsen.net>
To: emacs-devel@gnu.org
Subject: Re: cl-macro-expandall symbol definition is void
Date: Tue, 25 Nov 2014 22:24:16 +0100 [thread overview]
Message-ID: <1416950656.3560983.195379005.39E1EEFA@webmail.messagingengine.com> (raw)
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
next reply other threads:[~2014-11-25 21:24 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-25 21:24 Jostein Kjønigsen [this message]
2014-11-25 22:12 ` cl-macro-expandall symbol definition is void 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
-- strict thread matches above, loose matches on Subject: below --
2014-10-20 22:37 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1416950656.3560983.195379005.39E1EEFA@webmail.messagingengine.com \
--to=jostein@secure.kjonigsen.net \
--cc=emacs-devel@gnu.org \
--cc=jostein@kjonigsen.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).