From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58693 Path: main.gmane.org!not-for-mail From: Kevin Greiner Newsgroups: gmane.emacs.gnus.general Subject: Re: Variable binding depth exceeds max-specpdl-size Date: Sat, 02 Oct 2004 00:50:06 -0500 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <87wu1is4jl.fsf@dod.no> <87oemtcdro.fsf@dod.no> <87fz84dirv.fsf@dod.no> <87wtyaupbx.fsf@dod.no> <87fz4yulpp.fsf@dod.no> <87brfmukru.fsf@dod.no> <877jqaukbe.fsf@dod.no> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1096696309 16057 80.91.229.6 (2 Oct 2004 05:51:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 2 Oct 2004 05:51:49 +0000 (UTC) Original-X-From: ding-owner+M7231@lists.math.uh.edu Sat Oct 02 07:51:36 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 1CDcnw-0007ON-00 for ; Sat, 02 Oct 2004 07:51:36 +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 1CDcme-00006q-00; Sat, 02 Oct 2004 00:50:16 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CDcma-00006l-00 for ding@lists.math.uh.edu; Sat, 02 Oct 2004 00:50:12 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CDcmZ-0001vz-TF for ding@lists.math.uh.edu; Sat, 02 Oct 2004 00:50:11 -0500 Original-Received: from quimby.gnus.org (quimby.gnus.org [80.91.224.244]) by justine.libertine.org (Postfix) with ESMTP id 1E5A43A00BB for ; Sat, 2 Oct 2004 00:50:09 -0500 (CDT) Original-Received: from news by quimby.gnus.org with local (Exim 3.35 #1 (Debian)) id 1CDcmW-0001hZ-00 for ; Sat, 02 Oct 2004 07:50:08 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 41 Original-NNTP-Posting-Host: dialup-216-12-206-39.ev1.net Original-X-Trace: quimby.gnus.org 1096696208 5642 216.12.206.39 (2 Oct 2004 05:50:08 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sat, 2 Oct 2004 05:50:08 +0000 (UTC) User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (windows-nt) Cancel-Lock: sha1:d9+i3I7rj5PDF15VaALgnY7PinU= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58693 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58693 Steinar Bang writes: >>>>>> Steinar Bang : > >> 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. > > Bug if I do > M-x cancel-debug-on-entry RET nnagent-request-type RET > after ending up in the debugger, I can step into nnagent-request-type > again, and it looks a lot like infinite recursion. A bit of stack > trace: > > * 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) > * 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) > * 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) Thanks for the detailed analysis. It makes this much easier. I just checked in a patch to nnagent. Instead of binding gnus-plugged to t, it binds gnus-agent to nil. The gnus-get-function call will now return the real backend even though it is offline. Kevin