diff options
| author | Dave Love | 2000-11-10 17:37:31 +0000 |
|---|---|---|
| committer | Dave Love | 2000-11-10 17:37:31 +0000 |
| commit | 9e30862d6e29d1e2d7b6affaeac91a7d4ab4d8b3 (patch) | |
| tree | e1598b7276d89807edfed814f8a0ea052d45ff82 | |
| parent | 185a608e0ffd2ea53ce1e38782b8f9725b11129a (diff) | |
| download | emacs-9e30862d6e29d1e2d7b6affaeac91a7d4ab4d8b3.tar.gz emacs-9e30862d6e29d1e2d7b6affaeac91a7d4ab4d8b3.zip | |
(message-mode) <adaptive-fill-regexp>:
<adaptive-fill-first-line-regexp>: Use [:alnum:] in regexp range.
(message-newline-and-reformat): Likewise.
| -rw-r--r-- | lisp/gnus/message.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 66ea87b2228..3f688adfd82 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; message.el --- composing mail and news messages | 1 | ;;; message.el --- composing mail and news messages -*- coding: iso-latin-1 -*- |
| 2 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2000 | 2 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2000 |
| 3 | ;; Free Software Foundation, Inc. | 3 | ;; Free Software Foundation, Inc. |
| 4 | 4 | ||
| @@ -1522,12 +1522,12 @@ M-RET message-newline-and-reformat (break the line and reformat)." | |||
| 1522 | (message-set-auto-save-file-name) | 1522 | (message-set-auto-save-file-name) |
| 1523 | (make-local-variable 'adaptive-fill-regexp) | 1523 | (make-local-variable 'adaptive-fill-regexp) |
| 1524 | (setq adaptive-fill-regexp | 1524 | (setq adaptive-fill-regexp |
| 1525 | (concat "[ \t]*[-a-z0-9A-Z]*\\(>[ \t]*\\)+[ \t]*\\|" adaptive-fill-regexp)) | 1525 | (concat "[ \t]*[-[:alnum:]]*\\(>[ \t]*\\)+[ \t]*\\|" adaptive-fill-regexp)) |
| 1526 | (unless (boundp 'adaptive-fill-first-line-regexp) | 1526 | (unless (boundp 'adaptive-fill-first-line-regexp) |
| 1527 | (setq adaptive-fill-first-line-regexp nil)) | 1527 | (setq adaptive-fill-first-line-regexp nil)) |
| 1528 | (make-local-variable 'adaptive-fill-first-line-regexp) | 1528 | (make-local-variable 'adaptive-fill-first-line-regexp) |
| 1529 | (setq adaptive-fill-first-line-regexp | 1529 | (setq adaptive-fill-first-line-regexp |
| 1530 | (concat "[ \t]*[-a-z0-9A-Z]*\\(>[ \t]*\\)+[ \t]*\\|" | 1530 | (concat "[ \t]*[-[:alnum:]]*\\(>[ \t]*\\)+[ \t]*\\|" |
| 1531 | adaptive-fill-first-line-regexp)) | 1531 | adaptive-fill-first-line-regexp)) |
| 1532 | (make-local-variable 'auto-fill-inhibit-regexp) | 1532 | (make-local-variable 'auto-fill-inhibit-regexp) |
| 1533 | (setq auto-fill-inhibit-regexp "^[A-Z][^: \n\t]+:") | 1533 | (setq auto-fill-inhibit-regexp "^[A-Z][^: \n\t]+:") |
| @@ -1708,8 +1708,9 @@ With the prefix argument FORCE, insert the header anyway." | |||
| 1708 | (defun message-newline-and-reformat () | 1708 | (defun message-newline-and-reformat () |
| 1709 | "Insert four newlines, and then reformat if inside quoted text." | 1709 | "Insert four newlines, and then reformat if inside quoted text." |
| 1710 | (interactive) | 1710 | (interactive) |
| 1711 | ;; The Latin-1 angle quote looks pretty dubious. -- fx | ||
| 1711 | (let ((prefix "[]>»|:}+ \t]*") | 1712 | (let ((prefix "[]>»|:}+ \t]*") |
| 1712 | (supercite-thing "[-._a-zA-Z0-9]*[>]+[ \t]*") | 1713 | (supercite-thing "[-._[:alnum:]]*[>]+[ \t]*") |
| 1713 | quoted point) | 1714 | quoted point) |
| 1714 | (unless (bolp) | 1715 | (unless (bolp) |
| 1715 | (save-excursion | 1716 | (save-excursion |