Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: asynch prefetch backtrace
Date: Mon, 06 Jan 2003 03:28:31 +0100	[thread overview]
Message-ID: <m34r8n57w0.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <ilu7kdj8hq4.fsf@latte.josefsson.org>

Simon Josefsson <jas@extundo.com> 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



  reply	other threads:[~2003-01-06  2:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-03 14:49 Simon Josefsson
2003-01-03 20:14 ` Lars Magne Ingebrigtsen
2003-01-05 20:27   ` Simon Josefsson
2003-01-06  2:28     ` Lars Magne Ingebrigtsen [this message]
2003-01-06  4:23       ` Lars Magne Ingebrigtsen
2003-01-08  3:28         ` Simon Josefsson
2003-01-08  4:19           ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m34r8n57w0.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).