🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gnu.emacs.gnews
1 messages
1 total messages Started by Piet van Oostrum Thu, 01 Mar 1990 13:14
bug in gnews index processing (hook-kill)
#59
Author: Piet van Oostrum
Date: Thu, 01 Mar 1990 13:14
24 lines
1435 bytes
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')
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads