* gnus-nocem.el patch
@ 1996-11-04 16:27 David Moore
0 siblings, 0 replies; only message in thread
From: David Moore @ 1996-11-04 16:27 UTC (permalink / raw)
For those of you who woke up this morning to gnus crashing when
scanning a nocem post with the "newsgroup" 43 listed, this patch will
make things work. Additional cleanup of the routine should be done, but
this will get things working again:
*** gnus-nocem.el.orig Mon Nov 4 07:53:50 1996
--- gnus-nocem.el Mon Nov 4 08:18:17 1996
***************
*** 190,201 ****
(narrow-to-region b (1+ (match-beginning 0)))
(goto-char (point-min))
(while (search-forward "\t" nil t)
(condition-case nil
(setq group (let ((obarray gnus-active-hashtb)) (read buf)))
(error nil))
! (if (not (boundp group))
;; Make sure all entries in the hashtb are bound.
! (set group nil)
(when (gnus-gethash (symbol-name group) gnus-newsrc-hashtb)
;; Valid group.
(beginning-of-line)
--- 190,207 ----
(narrow-to-region b (1+ (match-beginning 0)))
(goto-char (point-min))
(while (search-forward "\t" nil t)
+ ;;; FIX FIX should do the same group name checking and quoting
+ ;;; that gnus-active-to-gnus-format does.
(condition-case nil
(setq group (let ((obarray gnus-active-hashtb)) (read buf)))
(error nil))
! (if (not (and group
! (symbolp group)
! (boundp group)))
;; Make sure all entries in the hashtb are bound.
! ;; FIX FIX FIX why do this?
! (if (symbolp group)
! (set group nil))
(when (gnus-gethash (symbol-name group) gnus-newsrc-hashtb)
;; Valid group.
(beginning-of-line)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-11-04 16:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-11-04 16:27 gnus-nocem.el patch David Moore
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).