Gnus development mailing list
 help / color / mirror / Atom feed
From: Felix Lee <flee@teleport.com>
Cc: ding@gnus.org
Subject: Re: gnus-async fix
Date: Mon, 23 Nov 1998 14:49:03 -0800	[thread overview]
Message-ID: <199811232249.RAA08417@sclp3.sclp.com> (raw)
In-Reply-To: <vxk7lwm2g3p.fsf@beaver.jprc.com> on 23 Nov 1998 17:34:34 EST.

Karl Kleinpaste <karl@justresearch.com>:
> Felix Lee <flee@teleport.com> writes:
> > "it works for me".  pgnus-0.52 and pgnus-0.53 with emacs
> > 20.2 and 20.3.  haven't tried it with xemacs.
> 
> Fails for XEmacs 20.4 and 0.53:

oops.  silly me.  it's trying to cancel a nonexistent timer.

add this patch too.

*** nntp.el	1998/11/23 22:46:48	1.2
--- nntp.el	1998/11/23 22:47:17
***************
*** 936,942 ****
  
  (defun nntp-async-stop (proc)
    (setq nntp-async-process-list (delq proc nntp-async-process-list))
!   (unless nntp-async-process-list
      (nnheader-cancel-timer nntp-async-timer)
      (setq nntp-async-timer nil)))
  
--- 936,942 ----
  
  (defun nntp-async-stop (proc)
    (setq nntp-async-process-list (delq proc nntp-async-process-list))
!   (when (and nntp-async-timer (not nntp-async-process-list))
      (nnheader-cancel-timer nntp-async-timer)
      (setq nntp-async-timer nil)))
  



  reply	other threads:[~1998-11-23 22:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-23 22:17 Felix Lee
1998-11-23 22:34 ` Karl Kleinpaste
1998-11-23 22:49   ` Felix Lee [this message]
1998-11-23 22:59     ` Karl Kleinpaste
1998-11-24 10:17 ` Lars Magne Ingebrigtsen
1998-11-24 12:24   ` Felix Lee

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=199811232249.RAA08417@sclp3.sclp.com \
    --to=flee@teleport.com \
    --cc=ding@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).