From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/3469 Path: news.gmane.org!not-for-mail From: Kevin Greiner Newsgroups: gmane.emacs.gnus.user Subject: Re: Gnus plugged/unplugged error Date: Wed, 04 Feb 2004 00:03:51 -0500 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138669578 19102 80.91.229.2 (31 Jan 2006 01:06:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:06:18 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:32:16 2006 Original-Path: quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: rrcs-midsouth-24-172-86-250.biz.rr.com Original-X-Trace: quimby.gnus.org 1075871037 17254 24.172.86.250 (4 Feb 2004 05:03:57 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Wed, 4 Feb 2004 05:03:57 +0000 (UTC) User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:4Y3AKxNnBvW4m3oSQQ1aKfij3Tw= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:3610 Original-Lines: 60 X-Gnus-Article-Number: 3610 Tue Jan 17 17:32:16 2006 Xref: news.gmane.org gmane.emacs.gnus.user:3469 Archived-At: Miroslav Zubcic writes: > Kevin Greiner writes: > >> Miroslav Zubcic writes: > >>> The problem is: when I try to enter on/off-line with `J-j' I get >>> "Group: " prompt in minibuffer, just like if I pressed small letter >>> `j' in the group buffer. Typing `gnus-agent-toggle-group-plugged' >>> directly works, but the I get error entering any IMAP group - every >>> *second* time. For example: enter to nnimap+mail.foo.com:INBOX works, >>> get out, try again - trace, try again - works etc ... > >> Thanks for the configuration. However, I'm going to need a little >> more information. > > Just some info: bug is repeatable only when IMAP server is > unplugged. When online, gnus is executing starttls, and I can enter > several times in and out without problem. > > In unplugged mode, when I get an error, I can also see summary buffer > opened (but empty) in some new (but background) tab. > >> Start gnus, trigger the error to make sure that it is still >> repeatable, then do the following. > > Yes, it is repeatable - every *second* time I enter the imap group. > >> M-x load-librarynnagent.el >> >> Finally, trigger the error again then post the new debug-on-error >> info. >> >> By loading the lisp (.el) file rather than the compiled file (.elc), >> the stack trace will provide specific information about the statements >> that are causing the recursion. > Miroslav, I'm sorry but I'm unable to isolate the error. I suspect that it is related to the variable gnus-server-method-cache but can't be sure. If you don't mind, I'd like you to try something for me. First, evaluate this form: (defun kjg () (let (print-level print-length) (pp gnus-server-method-cache))) Now, I'd like you to open an imap group. I'd like you to eval the kjg function when you expect to successfully open the group and again when you expect it to fail. I suspect that the value of gnus-server-method-cache is changing, if so, I'd like you to send me both copies. At that point, I'll probably be able to instrument some functions such that you can detect which call is corrupting gnus-server-method-cache. Kevin