From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58690 Path: main.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: Variable binding depth exceeds max-specpdl-size Date: Sat, 02 Oct 2004 00:38:13 +0200 Organization: Probably a good idea Sender: ding-owner@lists.math.uh.edu Message-ID: <87brfmukru.fsf@dod.no> References: <87wu1is4jl.fsf@dod.no> <87oemtcdro.fsf@dod.no> <87fz84dirv.fsf@dod.no> <87wtyaupbx.fsf@dod.no> <87fz4yulpp.fsf@dod.no> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: sea.gmane.org 1096670333 21844 80.91.229.6 (1 Oct 2004 22:38:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Oct 2004 22:38:53 +0000 (UTC) Original-X-From: ding-owner+M7228@lists.math.uh.edu Sat Oct 02 00:38:41 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CDW2y-0000x0-00 for ; Sat, 02 Oct 2004 00:38:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1CDW2h-0007nD-00; Fri, 01 Oct 2004 17:38:23 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CDW2d-0007n8-00 for ding@lists.math.uh.edu; Fri, 01 Oct 2004 17:38:19 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CDW2e-0007WL-Ae for ding@lists.math.uh.edu; Fri, 01 Oct 2004 17:38:20 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.229.2]) by justine.libertine.org (Postfix) with ESMTP id A45943A0027 for ; Fri, 1 Oct 2004 17:38:17 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CDW2a-0005Sg-00 for ; Sat, 02 Oct 2004 00:38:16 +0200 Original-Received: from cm-80.111.90.110.chello.no ([80.111.90.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Oct 2004 00:38:16 +0200 Original-Received: from sb by cm-80.111.90.110.chello.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 02 Oct 2004 00:38:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 43 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cm-80.111.90.110.chello.no Mail-Copies-To: never User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Security Through Obscurity, linux) Cancel-Lock: sha1:0Ln2FacYbRiL6uhwGkSHKqn2fGI= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58690 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58690 >>>>> Steinar Bang : >>>>> Steinar Bang : >>>>> Kevin Greiner : >>> * gnus-agent-get-function calls gnus-online to see if the current >>> method is online. If it is, gnus-agent-get-function will return >>> the method (in your case nnimap) otherwise it returns nnagent. >> It returns nnagent. Should it have returned nnimap? This is an >> agentized nnimap server that was set offline during startup, because >> the IMAP server couldn't be contacted (it's behind a firewall at >> work, and I can't reach it from home). > It returns 'nnagent because gnus-online returns nil, because cadr of > the result of assoc of the method with gnus-opened-servers is > 'offline, which I think is correct for this nnimap server in this > situation. > So I guess it returns 'nnagent because it should. > So why does nnagent-request-type crash for me? Perhaps because I get infinite recursion? The breakpoint is in nnagent-request-type, and the argument to the funcall at the end, ie. (funcall (gnus-get-function gnus-command-method 'request-type) (gnus-group-real-name group) article))))) is... nnagent-request-type. Here's a bit of stack after the first recursion: * nnagent-request-type("INBOX" nil) * funcall(nnagent-request-type "INBOX" nil) * (if (not (gnus-check-backend-function ... ...)) (quote unknown) (funcall (gnus-get-function gnus-command-method ...) (gnus-group-real-name group) article)) * (let ((gnus-plugged t)) (if (not ...) (quote unknown) (funcall ... ... article))) * (if (stringp article) nil (let (...) (if ... ... ...))) * (unless (stringp article) (let (...) (if ... ... ...))) * nnagent-request-type("INBOX" nil) It's hard to debug into the new nnagent-request-type, though, because I have to step throught a lot of debug stuff, that's probably releated to what made the debugger break there in the first place.