all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* eval-after-load causes recursive `require' error
@ 2006-06-11 23:39 Stephen Berman
  0 siblings, 0 replies; only message in thread
From: Stephen Berman @ 2006-06-11 23:39 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-11 23:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-11 23:39 eval-after-load causes recursive `require' error Stephen Berman

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.