From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/18441 Path: main.gmane.org!not-for-mail From: Shenghuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: bug: agentize nnweb Date: 08 Nov 1998 00:55:32 -0500 Organization: Computer Dept of U Rochester Sender: owner-ding@hpc.uh.edu Message-ID: <2nlnlmhgob.fsf@zsh.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035156965 6191 80.91.224.250 (20 Oct 2002 23:36:05 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:36:05 +0000 (UTC) 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 AAA27155 for ; Sun, 8 Nov 1998 00:48:22 -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 XAB13063; Sat, 7 Nov 1998 23:48:14 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sat, 07 Nov 1998 23:48:10 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id XAA02553 for ; Sat, 7 Nov 1998 23:48:01 -0600 (CST) Original-Received: from cayuga.cs.rochester.edu (cayuga.cs.rochester.edu [192.5.53.209]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id AAA27149 for ; Sun, 8 Nov 1998 00:47:55 -0500 (EST) Original-Received: from slate.cs.rochester.edu (slate.cs.rochester.edu [192.5.53.101]) by cayuga.cs.rochester.edu (8.6.9/O) with ESMTP id AAA07933 for ; Sun, 8 Nov 1998 00:47:55 -0500 Original-Received: from brain.cs.rochester.edu (heart.cs.rochester.edu [192.5.53.109]) by slate.cs.rochester.edu (8.6.9/O) with ESMTP id AAA20445 for ; Sun, 8 Nov 1998 00:47:52 -0500 Original-Received: (from zsh@localhost) by brain.cs.rochester.edu (8.9.0/8.8.5) id AAA01646; Sun, 8 Nov 1998 00:55:32 -0500 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q Original-Lines: 31 User-Agent: Gnus/5.070041 (Pterodactyl Gnus v0.41) XEmacs/20.4 (Emerald) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:18441 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:18441 When I tried to agentize nnweb, I found a bug in gnus-agent.el. A patch is attached. -- Shenghuo :- cut -------- --- ChangeLog 1998/11/08 05:44:38 1.2 +++ ChangeLog 1998/11/08 05:47:56 @@ -1,3 +1,7 @@ +Sun Nov 8 00:45:13 1998 Shenghuo ZHU + + * gnus-agent.el (gnus-agent-fetch-articles): Use with-temp-buffer. + Sat Nov 7 23:07:24 1998 Shenghuo ZHU * message.el (message-make-date): Fix for negative time zones. --- gnus-agent.el 1998/11/08 05:43:32 1.1 +++ gnus-agent.el 1998/11/08 05:44:22 @@ -673,7 +673,7 @@ ;; Fetch the articles from the backend. (if (gnus-check-backend-function 'retrieve-articles group) (setq pos (gnus-retrieve-articles articles group)) - (with-temp-file nil + (with-temp-buffer (let (article) (while (setq article (pop articles)) (when (gnus-request-article article group)