emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: max-specpdl-size exceeded on "make recompile"


From: Thien-Thi Nguyen
Subject: Re: max-specpdl-size exceeded on "make recompile"
Date: 18 Nov 2004 18:20:26 -0500

Stefan Monnier <address@hidden> writes:

   What makes you think that it's not a bug in vc-rcs.el?

i'm ignorant of byte compiler internals, but am under the impression
that generally compilation of defuns (such as is the case here) does
not imply their evaluation.  that's one reason to discount possible
vc-rcs.el bugginess.  another is that the upstream variant[1] of the
code byte-compiles and executes w/o this error, if i (locally) bump
`max-specpdl-size' to 1000.[2]

of course, if you define buggy as "pushes the byte-compiler past its
comfort level", then sure...

btw, i tried placing `max-specpdl-size' in an end-of-file local
variables block, but that resulted in:

  Ignoring risky spec in the local variables list

i suppose it's time to browse bytecomp.el.

thi

________________________________________________________________________
 [1] http://www.glug.org/people/ttn/software/ttn-pers-elisp/standalone/
 [2] (defun do-the-make! ()
       (flet ((ls (type) (split-string
                          (with-temp-buffer
                            (insert-file-contents
                             (expand-file-name type "file-lists"))
                            (buffer-string)))))
         (let ((vc-handled-backends nil)     ; disable vc
               (max-specpdl-size 1000)       ; comma-v.el needs this (!)
               (subdirs (ls "lisp-subdirs")))
           ...
           (byte-compile-file file)
           ...
           )))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]