[gnu.emacs.gnews] bug in gnews index processing

piet@cs.ruu.nl (Piet van Oostrum) (03/01/90)

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')