From: yamaoka Date: Mon, 30 Aug 2004 08:21:33 +0000 (+0000) Subject: Synch to No Gnus 200408300820. X-Git-Tag: t-gnus-6_17_4-quimby-~788 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=8ca543af8a7e56f1febcd53f0f70b312944ebe83;p=elisp%2Fgnus.git- Synch to No Gnus 200408300820. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c6d64df..f168fc0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,28 @@ 2004-08-30 Katsumi Yamaoka + * gnus-agent.el (gnus-agent-restore-gcc): Use ^ and regexp-quote. + + * gnus-sum.el (gnus-summary-morse-message): Use search-forward + instead of re-search-forward. + + * gnus-uu.el (gnus-uu-save-article): Ditto. + (gnus-uu-post-encode-uuencode): Ditto. + + * html2text.el (html2text-clean-list-items): Ditto. + (html2text-clean-dtdd): Ditto. + (html2text-format-tags): Ditto. + + * message.el (message-send-mail-with-sendmail): Fix regexp. + (message-fill-field-general): Use search-forward instead of + re-search-forward. + (unbold-region): Ditto. + + * nnrss.el (nnrss-request-article): Ditto. + + * nnslashdot.el (nnslashdot-request-article): Ditto. + + * nnweb.el (nnweb-gmane-wash-article): Ditto. + * gnus-sum.el (gnus-summary-make-menu-bar): Avoid the "Unrecognized menu descriptor" error in XEmacs. diff --git a/lisp/gnus-agent.el b/lisp/gnus-agent.el index 6f7961d..8456a3a 100644 --- a/lisp/gnus-agent.el +++ b/lisp/gnus-agent.el @@ -708,7 +708,8 @@ be a select method." "Restore GCC field from saved header." (save-excursion (goto-char (point-min)) - (while (re-search-forward (concat gnus-agent-gcc-header ":") nil t) + (while (re-search-forward + (concat "^" (regexp-quote gnus-agent-gcc-header) ":") nil t) (replace-match "Gcc:" 'fixedcase)))) (defun gnus-agent-any-covered-gcc () diff --git a/lisp/gnus-sum.el b/lisp/gnus-sum.el index dec1100..70eb325 100644 --- a/lisp/gnus-sum.el +++ b/lisp/gnus-sum.el @@ -8997,7 +8997,7 @@ forward." (when (message-goto-body) (gnus-narrow-to-body)) (goto-char (point-min)) - (while (re-search-forward "·" (point-max) t) + (while (search-forward "·" (point-max) t) (replace-match ".")) (unmorse-region (point-min) (point-max)) (widen) diff --git a/lisp/gnus-uu.el b/lisp/gnus-uu.el index 82e1381..f7908cd 100644 --- a/lisp/gnus-uu.el +++ b/lisp/gnus-uu.el @@ -1,6 +1,6 @@ ;;; gnus-uu.el --- extract (uu)encoded files in Gnus ;; Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, 1998, 2000, -;; 2001, 2002, 2003 Free Software Foundation, Inc. +;; 2001, 2002, 2003, 2004 Free Software Foundation, Inc. ;; Author: Lars Magne Ingebrigtsen ;; Created: 2 Oct 1993 @@ -851,7 +851,7 @@ When called interactively, prompt for REGEXP." (put-text-property (point-min) (point-max) 'invisible nil) (put-text-property (point-min) (point-max) 'intangible nil)) (goto-char (point-min)) - (re-search-forward "\n\n") + (search-forward "\n\n") (unless gnus-uu-digest-buffer ;; Quote all 30-dash lines. (save-excursion @@ -1886,7 +1886,7 @@ The user will be asked for a file name." (when (gnus-uu-post-encode-file "uuencode" path file-name) (goto-char (point-min)) (forward-line 1) - (while (re-search-forward " " nil t) + (while (search-forward " " nil t) (replace-match "`")) t)) diff --git a/lisp/html2text.el b/lisp/html2text.el index b5c7478..1fa0c0b 100644 --- a/lisp/html2text.el +++ b/lisp/html2text.el @@ -176,12 +176,12 @@ formatting, and then moved afterward.") (goto-char p1) (let ((item-nr 0) (items 0)) - (while (re-search-forward "
  • " p2 t) + (while (search-forward "
  • " p2 t) (setq items (1+ items))) (goto-char p1) (while (< item-nr items) (setq item-nr (1+ item-nr)) - (re-search-forward "
  • " (point-max) t) + (search-forward "
  • " (point-max) t) (cond ((string= list-type "ul") (insert " o ")) ((string= list-type "ol") (insert (format " %s: " item-nr))) @@ -191,7 +191,7 @@ formatting, and then moved afterward.") (goto-char p1) (let ((items 0) (item-nr 0)) - (while (re-search-forward "
    " p2 t) + (while (search-forward "
    " p2 t) (setq items (1+ items))) (goto-char p1) (while (< item-nr items) @@ -370,7 +370,7 @@ See the documentation for that variable." (attr (match-string 0))) (search-backward "<" (point-min) t) (setq p1 (point)) - (re-search-forward (format "" tag) (point-max) t) + (search-forward (format "" tag) (point-max) t) (setq p4 (point)) (search-backward "\n" text "\n") (goto-char point) - (while (re-search-forward "\n" nil t) + (while (search-forward "\n" nil t) (replace-match " ")) (goto-char (point-max)) (insert "\n\n")) diff --git a/lisp/nnslashdot.el b/lisp/nnslashdot.el index 614de21..f871beb 100644 --- a/lisp/nnslashdot.el +++ b/lisp/nnslashdot.el @@ -1,5 +1,6 @@ ;;; nnslashdot.el --- interfacing with Slashdot -;; Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 +;; Free Software Foundation, Inc. ;; Author: Lars Magne Ingebrigtsen ;; Keywords: news @@ -253,8 +254,7 @@ (when (numberp article) (if (= article 1) (progn - (re-search-forward - "Posted by") + (search-forward "Posted by") (search-forward "
    ") (setq contents (buffer-substring diff --git a/lisp/nnweb.el b/lisp/nnweb.el index c6d4d3f..8976209 100644 --- a/lisp/nnweb.el +++ b/lisp/nnweb.el @@ -1,5 +1,5 @@ ;;; nnweb.el --- retrieving articles via web search engines -;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 +;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 ;; Free Software Foundation, Inc. ;; Author: Lars Magne Ingebrigtsen @@ -489,7 +489,7 @@ Valid types include `google', `dejanews', and `gmane'.") (defun nnweb-gmane-wash-article () (let ((case-fold-search t)) (goto-char (point-min)) - (re-search-forward "" nil t) + (search-forward "" nil t) (delete-region (point-min) (point)) (goto-char (point-min)) (while (looking-at "^
  • \\([^ ]+\\).*
  • ")