I had this problem in 2.2.6 (and earlier versions) and in 2.2.7.  In 2.2.6,
increasing max-lisp-eval-depth (and max-specpdl-size) as Paul and others had
suggested did not work for me on certain files (I'd increase one, then the
other would be exceeded; I'd increase the other, and now the first would be
exceeded again; and so on...).  In 2.2.7, increasing those values now works
for me.  And I did have to increase them -- I get errors with the default
settings.

This combination (in my .emacs) works for even my most problematic file:

(setq max-specpdl-size 2000)
(setq max-lisp-eval-depth 1000)

I recently noticed the troubleshooting guide says to get the latest cc-mode.
That might be a good place to start (I did not try that).

Martin

----
Martin Dickau, ByAllAccounts
[EMAIL PROTECTED]



Reply via email to