all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Berman <Stephen.Berman@gmx.net>
Subject: eval-after-load causes recursive `require' error
Date: Mon, 12 Jun 2006 01:39:09 +0200	[thread overview]
Message-ID: <87lks36z4y.fsf@escher.local.home> (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

                 reply	other threads:[~2006-06-11 23:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lks36z4y.fsf@escher.local.home \
    --to=stephen.berman@gmx.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 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.