From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/48797 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: asynch prefetch backtrace Date: Mon, 06 Jan 2003 03:28:31 +0100 Organization: Programmerer Ingebrigtsen Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1041820132 15480 80.91.224.249 (6 Jan 2003 02:28:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 6 Jan 2003 02:28:52 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18VN0T-00041P-00 for ; Mon, 06 Jan 2003 03:28:49 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18VN0V-00089W-00; Sun, 05 Jan 2003 20:28:51 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 05 Jan 2003 20:29:46 -0600 (CST) Original-Received: from sclp3.sclp.com (sclp3.sclp.com [66.230.238.2]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id UAA06042 for ; Sun, 5 Jan 2003 20:29:32 -0600 (CST) Original-Received: (qmail 88173 invoked by alias); 6 Jan 2003 02:28:32 -0000 Original-Received: (qmail 88168 invoked from network); 6 Jan 2003 02:28:32 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by 66.230.238.6 with SMTP; 6 Jan 2003 02:28:32 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18VN34-0003fj-00 for ; Mon, 06 Jan 2003 03:31:30 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 51 Original-NNTP-Posting-Host: quimbies.gnus.org Original-X-Trace: quimby.gnus.org 1041820290 13002 80.91.231.2 (6 Jan 2003 02:31:30 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 6 Jan 2003 02:31:30 GMT Mail-Copies-To: never X-Now-Playing: DJ Krush's _Back In The Base_: "DJ Vadim - B Boy" User-Agent: Gnus/5.09001 (Oort Gnus v0.10) Emacs/21.2.50 (i686-pc-linux-gnu) X-Face: (&i|8YX3l/_JMrO;.c9bcs\?FB9rLg6La73l:@VfAV>iGZ7,z@QgWVAZ/'8X/&;;!2zd@54 WeHP*CR{s`XR)PQ!35eXT6$e73anu{wGw.,-u5yN writes: > Interestingly it happens only in nnimap groups. Here is a backtrace > without bytecode. It is probably a nnimap bug... > > Debugger entered--Lisp error: (error "Buffer *Async Prefetch Article* has no process") > process-status(nil) > nntp-accept-process-output(nil 1) [...] > gnus-async-wait-for-article(2630) It's calling the nntp function instead of the nnimap function, so I'm guessing that the Gnus async function(s) just haven't been fixed to rely on other backends than nntp. *read code* Yes, that seem to be the case. (That's odd. I really thought that the async stuff should work for all backends. Do I misremember totally? Am I misreading the code? I have a suspicion that there's something I'm not remembering...) If that is, indeed, the case, then the following patch is the right one. :-/ *** nnimap.el.~6.56.~ Sat Dec 28 19:03:35 2002 --- nnimap.el Mon Jan 6 03:26:37 2003 *************** *** 842,848 **** (cons group article)))))) (deffoo nnimap-asynchronous-p () ! t) (deffoo nnimap-request-article (article &optional group server to-buffer) (if (imap-capability 'IMAP4rev1 nnimap-server-buffer) --- 842,848 ---- (cons group article)))))) (deffoo nnimap-asynchronous-p () ! nil) (deffoo nnimap-request-article (article &optional group server to-buffer) (if (imap-capability 'IMAP4rev1 nnimap-server-buffer) -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen