From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/19089 Path: main.gmane.org!not-for-mail From: Felix Lee Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-async fix Date: Mon, 23 Nov 1998 14:49:03 -0800 Sender: owner-ding@hpc.uh.edu Message-ID: <199811232249.RAA08417@sclp3.sclp.com> References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035157503 9789 80.91.224.250 (20 Oct 2002 23:45:03 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:45:03 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id RAA08442 for ; Mon, 23 Nov 1998 17:50:09 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.1/8.9.1) with ESMTP id QAB21896; Mon, 23 Nov 1998 16:49:32 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 23 Nov 1998 16:49:28 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id QAA20573 for ; Mon, 23 Nov 1998 16:49:17 -0600 (CST) Original-Received: from mail1.teleport.com (mail1.teleport.com [192.108.254.26]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id RAA08417 for ; Mon, 23 Nov 1998 17:49:09 -0500 (EST) Original-Received: (qmail 18081 invoked from network); 23 Nov 1998 22:49:05 -0000 Original-Received: from pdx56-i48-07.teleport.com (HELO teleport.com) (204.202.167.21) by mail1.teleport.com with SMTP; 23 Nov 1998 22:49:05 -0000 Original-To: Karl Kleinpaste In-reply-to: on 23 Nov 1998 17:34:34 EST. Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:19089 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:19089 Karl Kleinpaste : > Felix Lee 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)))