From: David Moore <dmoore@UCSD.EDU>
Subject: gnus-nocem.el patch
Date: 04 Nov 1996 08:27:43 -0800 [thread overview]
Message-ID: <rvviblyge8.fsf@sdnp5.ucsd.edu> (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)
reply other threads:[~1996-11-04 16:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=rvviblyge8.fsf@sdnp5.ucsd.edu \
--to=dmoore@ucsd.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).