aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-11-12 00:27:05 +0000
committerDave Love2000-11-12 00:27:05 +0000
commit0eafc06c5e9ca35302687c69e72c674d85e37636 (patch)
treea9e398f319f02ab0d4bdad403f513fdda4e36735
parente873dcf5741c75b38706d717265bc7bbddfc1712 (diff)
downloademacs-0eafc06c5e9ca35302687c69e72c674d85e37636.tar.gz
emacs-0eafc06c5e9ca35302687c69e72c674d85e37636.zip
(mail-font-lock-keywords): Use [:alpha:], not
a-z. (mail-mode): Use [:alnum:] in some regexps.
-rw-r--r--ChangeLog4
-rw-r--r--lisp/mail/sendmail.el8
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 45ef55171bc..c576feecf29 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12000-11-11 Dave Love <fx@gnu.org>
2
3 * config.sub, config.guess: Updated from master source.
4
12000-11-07 Dave Love <fx@gnu.org> 52000-11-07 Dave Love <fx@gnu.org>
2 6
3 * configure.in: Test for mkstemp. 7 * configure.in: Test for mkstemp.
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index edc60dbf36a..e3992b3e187 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -316,7 +316,7 @@ actually occur.")
316(defvar mail-font-lock-keywords 316(defvar mail-font-lock-keywords
317 (eval-when-compile 317 (eval-when-compile
318 (let* ((cite-chars "[>|}]") 318 (let* ((cite-chars "[>|}]")
319 (cite-prefix "A-Za-z") 319 (cite-prefix "[:alpha:]")
320 (cite-suffix (concat cite-prefix "0-9_.@-`'\""))) 320 (cite-suffix (concat cite-prefix "0-9_.@-`'\"")))
321 (list '("^\\(To\\|Newsgroups\\):" . font-lock-function-name-face) 321 (list '("^\\(To\\|Newsgroups\\):" . font-lock-function-name-face)
322 '("^\\(B?CC\\|Reply-to\\):" . font-lock-keyword-face) 322 '("^\\(B?CC\\|Reply-to\\):" . font-lock-keyword-face)
@@ -473,19 +473,19 @@ Here are commands that move to a header field (and create it if there isn't):
473 (make-local-variable 'adaptive-fill-regexp) 473 (make-local-variable 'adaptive-fill-regexp)
474 (setq adaptive-fill-regexp 474 (setq adaptive-fill-regexp
475 (concat "[ \t]*\\([-|#;>*]+ *\\|(?[0-9]+[.)] *\\)+" 475 (concat "[ \t]*\\([-|#;>*]+ *\\|(?[0-9]+[.)] *\\)+"
476 "\\|[ \t]*[-a-z0-9A-Z]*>+[ \t]*" 476 "\\|[ \t]*[-[:alnum:]]*>+[ \t]*"
477 "\\|[ \t]*")) 477 "\\|[ \t]*"))
478 (make-local-variable 'adaptive-fill-first-line-regexp) 478 (make-local-variable 'adaptive-fill-first-line-regexp)
479 (setq adaptive-fill-first-line-regexp 479 (setq adaptive-fill-first-line-regexp
480 (concat adaptive-fill-first-line-regexp 480 (concat adaptive-fill-first-line-regexp
481 "\\|[ \t]*[-a-z0-9A-Z]*>+[ \t]*")) 481 "\\|[ \t]*[-[:alnum:]]*>+[ \t]*"))
482 ;; `-- ' precedes the signature. `-----' appears at the start of the 482 ;; `-- ' precedes the signature. `-----' appears at the start of the
483 ;; lines that delimit forwarded messages. 483 ;; lines that delimit forwarded messages.
484 ;; Lines containing just >= 3 dashes, perhaps after whitespace, 484 ;; Lines containing just >= 3 dashes, perhaps after whitespace,
485 ;; are also sometimes used and should be separators. 485 ;; are also sometimes used and should be separators.
486 (setq paragraph-start (concat (regexp-quote mail-header-separator) 486 (setq paragraph-start (concat (regexp-quote mail-header-separator)
487 "$\\|\t*\\([-|#;>* ]\\|(?[0-9]+[.)]\\)+$" 487 "$\\|\t*\\([-|#;>* ]\\|(?[0-9]+[.)]\\)+$"
488 "\\|[ \t]*[a-z0-9A-Z]*>+[ \t]*$\\|[ \t]*$\\|" 488 "\\|[ \t]*[[:alnum:]]*>+[ \t]*$\\|[ \t]*$\\|"
489 "-- $\\|---+$\\|" 489 "-- $\\|---+$\\|"
490 page-delimiter)) 490 page-delimiter))
491 (setq paragraph-separate paragraph-start) 491 (setq paragraph-separate paragraph-start)