From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.devel Subject: eval-after-load causes recursive `require' error Date: Mon, 12 Jun 2006 01:39:09 +0200 Message-ID: <87lks36z4y.fsf@escher.local.home> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1150069187 25239 80.91.229.2 (11 Jun 2006 23:39:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 11 Jun 2006 23:39:47 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 12 01:39:46 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FpZWw-0007hm-Aw for ged-emacs-devel@m.gmane.org; Mon, 12 Jun 2006 01:39:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FpZWt-0001xn-FQ for ged-emacs-devel@m.gmane.org; Sun, 11 Jun 2006 19:39:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FpZWc-0001xf-1M for emacs-devel@gnu.org; Sun, 11 Jun 2006 19:39:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FpZWZ-0001x8-A7 for emacs-devel@gnu.org; Sun, 11 Jun 2006 19:39:21 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FpZWZ-0001x1-6V for emacs-devel@gnu.org; Sun, 11 Jun 2006 19:39:19 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FpZfA-0003fX-69 for emacs-devel@gnu.org; Sun, 11 Jun 2006 19:48:12 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FpZWW-0007gV-6Z for emacs-devel@gnu.org; Mon, 12 Jun 2006 01:39:16 +0200 Original-Received: from i577b9832.versanet.de ([87.123.152.50]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Jun 2006 01:39:16 +0200 Original-Received: from Stephen.Berman by i577b9832.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Jun 2006 01:39:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 48 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: i577b9832.versanet.de User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:55841 Archived-At: 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(#> 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(#> 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(#> 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(# 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