emacs-devel
[Top][All Lists]
Advanced

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

eval-after-load causes recursive `require' error


From: Stephen Berman
Subject: eval-after-load causes recursive `require' error
Date: Mon, 12 Jun 2006 01:39:09 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Since cvs updating on 2006-06-10, I get the following error when I type
`C-h i':

Debugger entered--Lisp error: (error "Recursive `require' for feature 
`sb-info'")
  require(sb-info)
  eval((require (quote sb-info)))
  eval-after-load("info" (require (quote sb-info)))
  eval-buffer(#<buffer  *load*<4>> nil 
"/home/steve/lib/site-lisp/cedet-cvs/speedbar/sb-info.el" nil t)  ; Reading at 
buffer position 9460
  
load-with-code-conversion("/home/steve/lib/site-lisp/cedet-cvs/speedbar/sb-info.el"
 "/home/steve/lib/site-lisp/cedet-cvs/speedbar/sb-info.el" nil t)
  require(sb-info)
  eval((require (quote sb-info)))
  eval-after-load("info" (require (quote sb-info)))
  eval-buffer(#<buffer  *load*<3>> nil 
"/home/steve/lib/site-lisp/cedet-cvs/speedbar/sb-info.el" nil t)  ; Reading at 
buffer position 9460
  
load-with-code-conversion("/home/steve/lib/site-lisp/cedet-cvs/speedbar/sb-info.el"
 "/home/steve/lib/site-lisp/cedet-cvs/speedbar/sb-info.el" nil t)
  require(sb-info)
  eval((require (quote sb-info)))
  eval-after-load("info" (require (quote sb-info)))
  eval-buffer(#<buffer  *load*<2>> nil 
"/home/steve/lib/site-lisp/cedet-cvs/speedbar/sb-info.el" nil t)  ; Reading at 
buffer position 9460
  
load-with-code-conversion("/home/steve/lib/site-lisp/cedet-cvs/speedbar/sb-info.el"
 "/home/steve/lib/site-lisp/cedet-cvs/speedbar/sb-info.el" nil t)
  require(sb-info)
  eval((require (quote sb-info)))
  eval-after-load("info" (require (quote sb-info)))
  eval-buffer(#<buffer  *load*> nil 
"/home/steve/lib/site-lisp/cedet-cvs/speedbar/sb-info.el" nil t)  ; Reading at 
buffer position 9460
  
load-with-code-conversion("/home/steve/lib/site-lisp/cedet-cvs/speedbar/sb-info.el"
 "/home/steve/lib/site-lisp/cedet-cvs/speedbar/sb-info.el" nil t)
  require(sb-info)
  eval((require (quote sb-info)))
  do-after-load-evaluation("/usr/local/share/emacs/22.0.50/lisp/info.elc")

The file sb-info.el is part of the Cedet package
(http://cedet.sourceforge.net), and the error is apparently due to the
following line at the end of that file (which is also preceded by an
autoload cookie):

(eval-after-load "info" '(require 'sb-info))

If I comment out this line, I don't get the error.  But prior to the
cvs update I also didn't get the error using the same sb-info.el with
that line.  My previous cvs update was on 2006-04-16, so some change
in Emacs between then and 2006-06-10 makes the above eval-after-load
raise an error.  Does anyone know what change that might be?  (AFAICT,
there was no change in that time span to the source code of `require',
which is where the error is raised.  Also, FWIW, if I again type `C-h
i' while in the recursive edit entered by the debugger, the Info
buffer opens fine; but if I abort the recursive edit and type `C-h i'
again, I get the error again.)

Thanks,
Steve Berman





reply via email to

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