Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!mcsun!hp4nl!ruuinf!cs.ruu.nl From: piet@cs.ruu.nl (Piet van Oostrum) Newsgroups: gnu.emacs.gnews Subject: bug in gnews index processing (hook-kill) Message-ID: <2549@ruuinf.cs.ruu.nl> Date: 1 Mar 90 13:14:46 GMT Sender: news@ruuinf.cs.ruu.nl Reply-To: piet@cs.ruu.nl (Piet van Oostrum) Organization: Dept of Computer Science, Utrecht University, The Netherlands Lines: 24 I found a bug in the gnews fast index processing code. The problem is that hook kill processing doesn't work properly. I couldn't get rid of killed subjects in the index. It appears that a few variables were not properly initialized for each article considered. Here is a patch: *** NNTP.el.~1~ Fri Sep 15 15:25:47 1989 --- NNTP.el Thu Mar 1 14:11:21 1990 *************** *** 320,325 **** --- 320,326 ---- (setcdr z g) (nconc article-field-list (list (cons f g)))))) (forward-line 1)))) + (setq hook-kill-continue t hook hook-kill-per junk) (while (and hook hook-kill-continue (not junk)) (setq junk (hook-kill-do (car hook) t) hook (cdr hook))) -- Piet* van Oostrum, Dept of Computer Science, Utrecht University, Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands. Telephone: +31-30-531806 Uucp: uunet!mcsun!hp4nl!ruuinf!piet Telefax: +31-30-513791 Internet: piet@cs.ruu.nl (*`Pete')