aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2004-03-22 15:14:11 +0000
committerStefan Monnier2004-03-22 15:14:11 +0000
commit4e7d02211985b0015b3568c11a1c7673a60f863d (patch)
tree260337da2ffb7b651f64805eb38af6c2a9f6ad8a
parent87e8daba667979a8eacead21f9a2a1bb943ef806 (diff)
downloademacs-4e7d02211985b0015b3568c11a1c7673a60f863d.tar.gz
emacs-4e7d02211985b0015b3568c11a1c7673a60f863d.zip
Use inhibit-read-only instead of buffer-read-only.
(gnus-narrow-to-page): Don't assume point-min == 1. (gnus-article-edit-mode): Derive from message-mode. (gnus-button-alist): Add buttons to (info "(emacs)Keymaps").
-rw-r--r--lisp/gnus/gnus-art.el79
1 files changed, 41 insertions, 38 deletions
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index 0a9920c0387..5f0487968f6 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -1,6 +1,6 @@
1;;; gnus-art.el --- article mode commands for Gnus 1;;; gnus-art.el --- article mode commands for Gnus
2 2
3;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002 3;; Copyright (C) 1996, 97, 98, 1999, 2000, 01, 02, 2004
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> 6;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
@@ -1142,7 +1142,7 @@ Initialized from `text-mode-syntax-table.")
1142 (unless gnus-inhibit-hiding 1142 (unless gnus-inhibit-hiding
1143 (save-excursion 1143 (save-excursion
1144 (save-restriction 1144 (save-restriction
1145 (let ((buffer-read-only nil) 1145 (let ((inhibit-read-only t)
1146 (case-fold-search t) 1146 (case-fold-search t)
1147 (max (1+ (length gnus-sorted-header-list))) 1147 (max (1+ (length gnus-sorted-header-list)))
1148 (ignored (when (not gnus-visible-headers) 1148 (ignored (when (not gnus-visible-headers)
@@ -1200,7 +1200,7 @@ always hide."
1200 (not gnus-show-all-headers)) 1200 (not gnus-show-all-headers))
1201 (save-excursion 1201 (save-excursion
1202 (save-restriction 1202 (save-restriction
1203 (let ((buffer-read-only nil) 1203 (let ((inhibit-read-only t)
1204 (list gnus-boring-article-headers) 1204 (list gnus-boring-article-headers)
1205 (inhibit-point-motion-hooks t) 1205 (inhibit-point-motion-hooks t)
1206 elem) 1206 elem)
@@ -1303,7 +1303,7 @@ always hide."
1303(defun article-normalize-headers () 1303(defun article-normalize-headers ()
1304 "Make all header lines 40 characters long." 1304 "Make all header lines 40 characters long."
1305 (interactive) 1305 (interactive)
1306 (let ((buffer-read-only nil) 1306 (let ((inhibit-read-only t)
1307 column) 1307 column)
1308 (save-excursion 1308 (save-excursion
1309 (save-restriction 1309 (save-restriction
@@ -1346,7 +1346,7 @@ FROM is a string of characters to translate from; to is a string of
1346characters to translate to." 1346characters to translate to."
1347 (save-excursion 1347 (save-excursion
1348 (when (article-goto-body) 1348 (when (article-goto-body)
1349 (let ((buffer-read-only nil) 1349 (let ((inhibit-read-only t)
1350 (x (make-string 225 ?x)) 1350 (x (make-string 225 ?x))
1351 (i -1)) 1351 (i -1))
1352 (while (< (incf i) (length x)) 1352 (while (< (incf i) (length x))
@@ -1362,7 +1362,7 @@ characters to translate to."
1362MAP is an alist where the elements are on the form (\"from\" \"to\")." 1362MAP is an alist where the elements are on the form (\"from\" \"to\")."
1363 (save-excursion 1363 (save-excursion
1364 (when (article-goto-body) 1364 (when (article-goto-body)
1365 (let ((buffer-read-only nil) 1365 (let ((inhibit-read-only t)
1366 elem) 1366 elem)
1367 (while (setq elem (pop map)) 1367 (while (setq elem (pop map))
1368 (save-excursion 1368 (save-excursion
@@ -1374,7 +1374,7 @@ MAP is an alist where the elements are on the form (\"from\" \"to\")."
1374 (interactive) 1374 (interactive)
1375 (save-excursion 1375 (save-excursion
1376 (when (article-goto-body) 1376 (when (article-goto-body)
1377 (let ((buffer-read-only nil)) 1377 (let ((inhibit-read-only t))
1378 (while (search-forward "\b" nil t) 1378 (while (search-forward "\b" nil t)
1379 (let ((next (char-after)) 1379 (let ((next (char-after))
1380 (previous (char-after (- (point) 2)))) 1380 (previous (char-after (- (point) 2))))
@@ -1399,7 +1399,7 @@ MAP is an alist where the elements are on the form (\"from\" \"to\")."
1399 "Fill lines that are wider than the window width." 1399 "Fill lines that are wider than the window width."
1400 (interactive) 1400 (interactive)
1401 (save-excursion 1401 (save-excursion
1402 (let ((buffer-read-only nil) 1402 (let ((inhibit-read-only t)
1403 (width (window-width (get-buffer-window (current-buffer))))) 1403 (width (window-width (get-buffer-window (current-buffer)))))
1404 (save-restriction 1404 (save-restriction
1405 (article-goto-body) 1405 (article-goto-body)
@@ -1417,7 +1417,7 @@ MAP is an alist where the elements are on the form (\"from\" \"to\")."
1417 "Capitalize the first word in each sentence." 1417 "Capitalize the first word in each sentence."
1418 (interactive) 1418 (interactive)
1419 (save-excursion 1419 (save-excursion
1420 (let ((buffer-read-only nil) 1420 (let ((inhibit-read-only t)
1421 (paragraph-start "^[\n\^L]")) 1421 (paragraph-start "^[\n\^L]"))
1422 (article-goto-body) 1422 (article-goto-body)
1423 (while (not (eobp)) 1423 (while (not (eobp))
@@ -1428,7 +1428,7 @@ MAP is an alist where the elements are on the form (\"from\" \"to\")."
1428 "Remove trailing CRs and then translate remaining CRs into LFs." 1428 "Remove trailing CRs and then translate remaining CRs into LFs."
1429 (interactive) 1429 (interactive)
1430 (save-excursion 1430 (save-excursion
1431 (let ((buffer-read-only nil)) 1431 (let ((inhibit-read-only t))
1432 (goto-char (point-min)) 1432 (goto-char (point-min))
1433 (while (re-search-forward "\r+$" nil t) 1433 (while (re-search-forward "\r+$" nil t)
1434 (replace-match "" t t)) 1434 (replace-match "" t t))
@@ -1440,7 +1440,7 @@ MAP is an alist where the elements are on the form (\"from\" \"to\")."
1440 "Remove all trailing blank lines from the article." 1440 "Remove all trailing blank lines from the article."
1441 (interactive) 1441 (interactive)
1442 (save-excursion 1442 (save-excursion
1443 (let ((buffer-read-only nil)) 1443 (let ((inhibit-read-only t))
1444 (goto-char (point-max)) 1444 (goto-char (point-max))
1445 (delete-region 1445 (delete-region
1446 (point) 1446 (point)
@@ -1583,7 +1583,7 @@ If FORCE, decode the article whether it is marked as quoted-printable
1583or not." 1583or not."
1584 (interactive (list 'force)) 1584 (interactive (list 'force))
1585 (save-excursion 1585 (save-excursion
1586 (let ((buffer-read-only nil) type charset) 1586 (let ((inhibit-read-only t) type charset)
1587 (if (gnus-buffer-live-p gnus-original-article-buffer) 1587 (if (gnus-buffer-live-p gnus-original-article-buffer)
1588 (with-current-buffer gnus-original-article-buffer 1588 (with-current-buffer gnus-original-article-buffer
1589 (setq type 1589 (setq type
@@ -1610,7 +1610,7 @@ or not."
1610If FORCE, decode the article whether it is marked as base64 not." 1610If FORCE, decode the article whether it is marked as base64 not."
1611 (interactive (list 'force)) 1611 (interactive (list 'force))
1612 (save-excursion 1612 (save-excursion
1613 (let ((buffer-read-only nil) type charset) 1613 (let ((inhibit-read-only t) type charset)
1614 (if (gnus-buffer-live-p gnus-original-article-buffer) 1614 (if (gnus-buffer-live-p gnus-original-article-buffer)
1615 (with-current-buffer gnus-original-article-buffer 1615 (with-current-buffer gnus-original-article-buffer
1616 (setq type 1616 (setq type
@@ -1643,14 +1643,14 @@ If FORCE, decode the article whether it is marked as base64 not."
1643 (interactive) 1643 (interactive)
1644 (require 'rfc1843) 1644 (require 'rfc1843)
1645 (save-excursion 1645 (save-excursion
1646 (let ((buffer-read-only nil)) 1646 (let ((inhibit-read-only t))
1647 (rfc1843-decode-region (point-min) (point-max))))) 1647 (rfc1843-decode-region (point-min) (point-max)))))
1648 1648
1649(defun article-wash-html () 1649(defun article-wash-html ()
1650 "Format an html article." 1650 "Format an html article."
1651 (interactive) 1651 (interactive)
1652 (save-excursion 1652 (save-excursion
1653 (let ((buffer-read-only nil) 1653 (let ((inhibit-read-only t)
1654 charset) 1654 charset)
1655 (if (gnus-buffer-live-p gnus-original-article-buffer) 1655 (if (gnus-buffer-live-p gnus-original-article-buffer)
1656 (with-current-buffer gnus-original-article-buffer 1656 (with-current-buffer gnus-original-article-buffer
@@ -1794,7 +1794,7 @@ always hide."
1794 (save-excursion 1794 (save-excursion
1795 (set-buffer gnus-article-buffer) 1795 (set-buffer gnus-article-buffer)
1796 (when (article-goto-body) 1796 (when (article-goto-body)
1797 (let* ((buffer-read-only nil) 1797 (let* ((inhibit-read-only t)
1798 (start (point)) 1798 (start (point))
1799 (end (point-max)) 1799 (end (point-max))
1800 (orig (buffer-substring start end)) 1800 (orig (buffer-substring start end))
@@ -1812,7 +1812,7 @@ always hide."
1812 (unless (gnus-article-check-hidden-text 'signature arg) 1812 (unless (gnus-article-check-hidden-text 'signature arg)
1813 (save-excursion 1813 (save-excursion
1814 (save-restriction 1814 (save-restriction
1815 (let ((buffer-read-only nil)) 1815 (let ((inhibit-read-only t))
1816 (when (gnus-article-narrow-to-signature) 1816 (when (gnus-article-narrow-to-signature)
1817 (gnus-article-hide-text-type 1817 (gnus-article-hide-text-type
1818 (point-min) (point-max) 'signature))))))) 1818 (point-min) (point-max) 'signature)))))))
@@ -2001,7 +2001,7 @@ means show, 0 means toggle."
2001(defun gnus-article-show-hidden-text (type &optional dummy) 2001(defun gnus-article-show-hidden-text (type &optional dummy)
2002 "Show all hidden text of type TYPE. 2002 "Show all hidden text of type TYPE.
2003Originally it is hide instead of DUMMY." 2003Originally it is hide instead of DUMMY."
2004 (let ((buffer-read-only nil) 2004 (let ((inhibit-read-only t)
2005 (inhibit-point-motion-hooks t)) 2005 (inhibit-point-motion-hooks t))
2006 (gnus-remove-text-properties-when 2006 (gnus-remove-text-properties-when
2007 'article-type type 2007 'article-type type
@@ -2054,7 +2054,7 @@ should replace the \"Date:\" one, or should be added below it."
2054 (forward-line 1)) 2054 (forward-line 1))
2055 (when (and date (not (string= date ""))) 2055 (when (and date (not (string= date "")))
2056 (goto-char (point-min)) 2056 (goto-char (point-min))
2057 (let ((buffer-read-only nil)) 2057 (let ((inhibit-read-only t))
2058 ;; Delete any old Date headers. 2058 ;; Delete any old Date headers.
2059 (while (re-search-forward date-regexp nil t) 2059 (while (re-search-forward date-regexp nil t)
2060 (if pos 2060 (if pos
@@ -2238,7 +2238,7 @@ This format is defined by the `gnus-article-time-format' variable."
2238 "Show all hidden text in the article buffer." 2238 "Show all hidden text in the article buffer."
2239 (interactive) 2239 (interactive)
2240 (save-excursion 2240 (save-excursion
2241 (let ((buffer-read-only nil)) 2241 (let ((inhibit-read-only t))
2242 (gnus-article-unhide-text (point-min) (point-max))))) 2242 (gnus-article-unhide-text (point-min) (point-max)))))
2243 2243
2244(defun article-emphasize (&optional arg) 2244(defun article-emphasize (&optional arg)
@@ -2252,7 +2252,7 @@ This format is defined by the `gnus-article-time-format' variable."
2252 gnus-article-emphasis-alist) 2252 gnus-article-emphasis-alist)
2253 (error)) 2253 (error))
2254 gnus-emphasis-alist)) 2254 gnus-emphasis-alist))
2255 (buffer-read-only nil) 2255 (inhibit-read-only t)
2256 (props (append '(article-type emphasis) 2256 (props (append '(article-type emphasis)
2257 gnus-hidden-properties)) 2257 gnus-hidden-properties))
2258 regexp elem beg invisible visible face) 2258 regexp elem beg invisible visible face)
@@ -2837,7 +2837,7 @@ If ALL-HEADERS is non-nil, no headers are hidden."
2837 (when (and (boundp 'transient-mark-mode) 2837 (when (and (boundp 'transient-mark-mode)
2838 transient-mark-mode) 2838 transient-mark-mode)
2839 (setq mark-active nil)) 2839 (setq mark-active nil))
2840 (if (not (setq result (let ((buffer-read-only nil)) 2840 (if (not (setq result (let ((inhibit-read-only t))
2841 (gnus-request-article-this-buffer 2841 (gnus-request-article-this-buffer
2842 article group)))) 2842 article group))))
2843 ;; There is no such article. 2843 ;; There is no such article.
@@ -3671,7 +3671,7 @@ If given a numerical ARG, move forward ARG pages."
3671 (widen) 3671 (widen)
3672 ;; Remove any old next/prev buttons. 3672 ;; Remove any old next/prev buttons.
3673 (when (gnus-visual-p 'page-marker) 3673 (when (gnus-visual-p 'page-marker)
3674 (let ((buffer-read-only nil)) 3674 (let ((inhibit-read-only t))
3675 (gnus-remove-text-with-property 'gnus-prev) 3675 (gnus-remove-text-with-property 'gnus-prev)
3676 (gnus-remove-text-with-property 'gnus-next))) 3676 (gnus-remove-text-with-property 'gnus-next)))
3677 (when 3677 (when
@@ -3686,12 +3686,12 @@ If given a numerical ARG, move forward ARG pages."
3686 (match-beginning 0) 3686 (match-beginning 0)
3687 (point))) 3687 (point)))
3688 (when (and (gnus-visual-p 'page-marker) 3688 (when (and (gnus-visual-p 'page-marker)
3689 (not (= (point-min) 1))) 3689 (> (point-min) (save-restriction (widen) (point-min))))
3690 (save-excursion 3690 (save-excursion
3691 (goto-char (point-min)) 3691 (goto-char (point-min))
3692 (gnus-insert-prev-page-button))) 3692 (gnus-insert-prev-page-button)))
3693 (when (and (gnus-visual-p 'page-marker) 3693 (when (and (gnus-visual-p 'page-marker)
3694 (< (+ (point-max) 2) (buffer-size))) 3694 (< (point-max) (save-restriction (widen) (point-max))))
3695 (save-excursion 3695 (save-excursion
3696 (goto-char (point-max)) 3696 (goto-char (point-max))
3697 (gnus-insert-next-page-button))))) 3697 (gnus-insert-next-page-button)))))
@@ -4044,7 +4044,7 @@ If given a prefix, show the hidden text instead."
4044 (methods (and (stringp article) 4044 (methods (and (stringp article)
4045 gnus-refer-article-method)) 4045 gnus-refer-article-method))
4046 result 4046 result
4047 (buffer-read-only nil)) 4047 (inhibit-read-only t))
4048 (if (or (not (listp methods)) 4048 (if (or (not (listp methods))
4049 (and (symbolp (car methods)) 4049 (and (symbolp (car methods))
4050 (assq (car methods) nnoo-definition-alist))) 4050 (assq (car methods) nnoo-definition-alist)))
@@ -4140,7 +4140,7 @@ If given a prefix, show the hidden text instead."
4140 "\C-c\C-w" gnus-article-edit-mode-map) 4140 "\C-c\C-w" gnus-article-edit-mode-map)
4141 "f" gnus-article-edit-full-stops)) 4141 "f" gnus-article-edit-full-stops))
4142 4142
4143(define-derived-mode gnus-article-edit-mode text-mode "Article Edit" 4143(define-derived-mode gnus-article-edit-mode message-mode "Article Edit"
4144 "Major mode for editing articles. 4144 "Major mode for editing articles.
4145This is an extended text-mode. 4145This is an extended text-mode.
4146 4146
@@ -4212,7 +4212,7 @@ groups."
4212 (gnus-article-edit-exit) 4212 (gnus-article-edit-exit)
4213 (save-excursion 4213 (save-excursion
4214 (set-buffer buf) 4214 (set-buffer buf)
4215 (let ((buffer-read-only nil)) 4215 (let ((inhibit-read-only t))
4216 (funcall func arg)) 4216 (funcall func arg))
4217 ;; The cache and backlog have to be flushed somewhat. 4217 ;; The cache and backlog have to be flushed somewhat.
4218 (when gnus-keep-backlog 4218 (when gnus-keep-backlog
@@ -4289,6 +4289,9 @@ groups."
4289 ("\\bmailto:\\([^ \n\t]+\\)" 0 t gnus-url-mailto 1) 4289 ("\\bmailto:\\([^ \n\t]+\\)" 0 t gnus-url-mailto 1)
4290 ;; This is how URLs _should_ be embedded in text... 4290 ;; This is how URLs _should_ be embedded in text...
4291 ("<URL: *\\([^<>]*\\)>" 0 t gnus-button-embedded-url 1) 4291 ("<URL: *\\([^<>]*\\)>" 0 t gnus-button-embedded-url 1)
4292 ;; Info manual references.
4293 ("(\\(info\\|Info-goto-node\\)[ \n\t]+\"\\(([^)\"\n]+)[^\"\n]+\\)\")"
4294 0 t Info-goto-node 2)
4292 ;; Raw URLs. 4295 ;; Raw URLs.
4293 (,gnus-button-url-regexp 0 t browse-url 0)) 4296 (,gnus-button-url-regexp 0 t browse-url 0))
4294 "*Alist of regexps matching buttons in article bodies. 4297 "*Alist of regexps matching buttons in article bodies.
@@ -4296,7 +4299,7 @@ groups."
4296Each entry has the form (REGEXP BUTTON FORM CALLBACK PAR...), where 4299Each entry has the form (REGEXP BUTTON FORM CALLBACK PAR...), where
4297REGEXP: is the string matching text around the button, 4300REGEXP: is the string matching text around the button,
4298BUTTON: is the number of the regexp grouping actually matching the button, 4301BUTTON: is the number of the regexp grouping actually matching the button,
4299FORM: is a lisp expression which must eval to true for the button to 4302FORM: is a Lisp expression which must eval to true for the button to
4300be added, 4303be added,
4301CALLBACK: is the function to call when the user push this button, and each 4304CALLBACK: is the function to call when the user push this button, and each
4302PAR: is a number of a regexp grouping whose text will be passed to CALLBACK. 4305PAR: is a number of a regexp grouping whose text will be passed to CALLBACK.
@@ -4405,7 +4408,7 @@ do the highlighting. See the documentation for those functions."
4405 (set-buffer gnus-article-buffer) 4408 (set-buffer gnus-article-buffer)
4406 (save-restriction 4409 (save-restriction
4407 (let ((alist gnus-header-face-alist) 4410 (let ((alist gnus-header-face-alist)
4408 (buffer-read-only nil) 4411 (inhibit-read-only t)
4409 (case-fold-search t) 4412 (case-fold-search t)
4410 (inhibit-point-motion-hooks t) 4413 (inhibit-point-motion-hooks t)
4411 entry regexp header-face field-face from hpoints fpoints) 4414 entry regexp header-face field-face from hpoints fpoints)
@@ -4444,7 +4447,7 @@ It does this by highlighting everything after
4444 (interactive) 4447 (interactive)
4445 (save-excursion 4448 (save-excursion
4446 (set-buffer gnus-article-buffer) 4449 (set-buffer gnus-article-buffer)
4447 (let ((buffer-read-only nil) 4450 (let ((inhibit-read-only t)
4448 (inhibit-point-motion-hooks t)) 4451 (inhibit-point-motion-hooks t))
4449 (save-restriction 4452 (save-restriction
4450 (when (and gnus-signature-face 4453 (when (and gnus-signature-face
@@ -4469,7 +4472,7 @@ specified by `gnus-button-alist'."
4469 (interactive (list 'force)) 4472 (interactive (list 'force))
4470 (save-excursion 4473 (save-excursion
4471 (set-buffer gnus-article-buffer) 4474 (set-buffer gnus-article-buffer)
4472 (let ((buffer-read-only nil) 4475 (let ((inhibit-read-only t)
4473 (inhibit-point-motion-hooks t) 4476 (inhibit-point-motion-hooks t)
4474 (case-fold-search t) 4477 (case-fold-search t)
4475 (alist gnus-button-alist) 4478 (alist gnus-button-alist)
@@ -4514,7 +4517,7 @@ specified by `gnus-button-alist'."
4514 (save-excursion 4517 (save-excursion
4515 (set-buffer gnus-article-buffer) 4518 (set-buffer gnus-article-buffer)
4516 (save-restriction 4519 (save-restriction
4517 (let ((buffer-read-only nil) 4520 (let ((inhibit-read-only t)
4518 (inhibit-point-motion-hooks t) 4521 (inhibit-point-motion-hooks t)
4519 (case-fold-search t) 4522 (case-fold-search t)
4520 (alist gnus-header-button-alist) 4523 (alist gnus-header-button-alist)
@@ -4572,7 +4575,7 @@ specified by `gnus-button-alist'."
4572(defun gnus-signature-toggle (end) 4575(defun gnus-signature-toggle (end)
4573 (save-excursion 4576 (save-excursion
4574 (set-buffer gnus-article-buffer) 4577 (set-buffer gnus-article-buffer)
4575 (let ((buffer-read-only nil) 4578 (let ((inhibit-read-only t)
4576 (inhibit-point-motion-hooks t)) 4579 (inhibit-point-motion-hooks t))
4577 (if (text-property-any end (point-max) 'article-type 'signature) 4580 (if (text-property-any end (point-max) 'article-type 'signature)
4578 (gnus-remove-text-properties-when 4581 (gnus-remove-text-properties-when
@@ -4737,7 +4740,7 @@ forbidden in URL encoding."
4737 (define-key gnus-prev-page-map "\r" 'gnus-button-prev-page)) 4740 (define-key gnus-prev-page-map "\r" 'gnus-button-prev-page))
4738 4741
4739(defun gnus-insert-prev-page-button () 4742(defun gnus-insert-prev-page-button ()
4740 (let ((buffer-read-only nil)) 4743 (let ((inhibit-read-only t))
4741 (gnus-eval-format 4744 (gnus-eval-format
4742 gnus-prev-page-line-format nil 4745 gnus-prev-page-line-format nil
4743 `(gnus-prev t local-map ,gnus-prev-page-map 4746 `(gnus-prev t local-map ,gnus-prev-page-map
@@ -4768,7 +4771,7 @@ forbidden in URL encoding."
4768 (select-window win))) 4771 (select-window win)))
4769 4772
4770(defun gnus-insert-next-page-button () 4773(defun gnus-insert-next-page-button ()
4771 (let ((buffer-read-only nil)) 4774 (let ((inhibit-read-only t))
4772 (gnus-eval-format gnus-next-page-line-format nil 4775 (gnus-eval-format gnus-next-page-line-format nil
4773 `(gnus-next 4776 `(gnus-next
4774 t local-map ,gnus-next-page-map 4777 t local-map ,gnus-next-page-map
@@ -4796,8 +4799,8 @@ forbidden in URL encoding."
4796 "List of methods used to decode headers. 4799 "List of methods used to decode headers.
4797 4800
4798This variable is a list of FUNCTION or (REGEXP . FUNCTION). If item 4801This variable is a list of FUNCTION or (REGEXP . FUNCTION). If item
4799is FUNCTION, FUNCTION will be apply to all newsgroups. If item is a 4802is FUNCTION, FUNCTION will be applied to all newsgroups. If item is a
4800\(REGEXP . FUNCTION), FUNCTION will be only apply to these newsgroups 4803\(REGEXP . FUNCTION), FUNCTION will be only applied to these newsgroups
4801whose names match REGEXP. 4804whose names match REGEXP.
4802 4805
4803For example: 4806For example: