From: yamaoka Date: Tue, 5 Sep 2000 07:59:48 +0000 (+0000) Subject: Sync with `t-gnus-6_14'. X-Git-Tag: t-gnus-6_14-quimby-before-installer-changed-~112 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91e077a2f7598255754a6abe30d419de2c5a4169;p=elisp%2Fgnus.git- Sync with `t-gnus-6_14'. --- diff --git a/ChangeLog b/ChangeLog index 9e7e041..31bf910 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2000-09-05 TSUCHIYA Masatoshi + + * lisp/nnshimbun.el: Add `netbsd' support. + (nnshimbun-nov-fix-header): Change a form storing Message-Id. + (nnshimbun-search-id): Ditto. + (nnshimbun-make-mhonarc-contents): Use optional header + information. + 2000-09-05 Daiki Ueno * lisp/pop3.el (pop3-quit): Don't clear `pop3-uidl-obarray'. diff --git a/lisp/nnshimbun.el b/lisp/nnshimbun.el index 8f7edb3..8df9879 100644 --- a/lisp/nnshimbun.el +++ b/lisp/nnshimbun.el @@ -142,6 +142,17 @@ (get-headers . nnshimbun-xemacs-get-headers) (index-url . (nnshimbun-xemacs-concat-url nil)) (make-contents . nnshimbun-make-mhonarc-contents)) + ("netbsd" + (url . "http://www.jp.netbsd.org/ja/JP/ml/") + (groups "announce-ja" "junk-ja" "tech-misc-ja" "tech-pkg-ja" + "port-arm32-ja" "port-hpcmips-ja" "port-mac68k-ja" + "port-mips-ja" "port-powerpc-ja" "hpcmips-changes-ja" + "members-ja" "admin-ja" "www-changes-ja") + (coding-system . ,(if (boundp 'MULE) '*iso-2022-jp* 'iso-2022-jp)) + (generate-nov . nnshimbun-generate-nov-for-each-group) + (get-headers . nnshimbun-netbsd-get-headers) + (index-url . (format "%s%s/index.html" nnshimbun-url nnshimbun-current-group)) + (make-contents . nnshimbun-make-mhonarc-contents)) )) (defvar nnshimbun-x-face-alist @@ -527,7 +538,7 @@ (setq found t))) (unless found (goto-char (point-min)) - (when (search-forward (concat "X-Nnshimbun-Original-Id: " id) nil t) + (when (search-forward (concat "X-Nnshimbun-Id: " id) nil t) (forward-line 0) (setq found t))) (if found @@ -542,12 +553,13 @@ (when (nnheader-find-nov-line (mail-header-number header)) (dolist (arg args) (if (eq (car arg) 'id) - (let ((extra (mail-header-extra header)) x) - (when (setq x (assq 'X-Nnshimbun-Original-Id extra)) - (setq extra (delq x extra))) - (mail-header-set-extra - header - (cons (cons 'X-Nnshimbun-Original-Id (cdr arg)) extra))) + (let ((extra (mail-header-extra header))) + (unless (assq 'X-Nnshimbun-Id extra) + (mail-header-set-extra + header + (cons (cons 'X-Nnshimbun-Id (mail-header-id header)) + extra))) + (mail-header-set-id header (cdr arg))) (let ((func (intern (concat "mail-header-set-" (symbol-name (car arg)))))) (if (cdr arg) (eval (list func header (cdr arg))))))) (let ((xref (mail-header-xref header))) @@ -802,14 +814,23 @@ is enclosed by at least one regexp grouping construct." (while (search-forward " -->" nil t) (replace-match "")) (goto-char (point-min)) - (let (refs id) + (let (buf refs) (while (not (eobp)) (cond ((looking-at "