Mercurial > emacs
changeset 15551:9cbd488c1872
(ispell-message): Support message-mode.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 28 Jun 1996 08:55:00 +0000 |
parents | 4df6e0ffab90 |
children | 2f12648b746a |
files | lisp/textmodes/ispell.el |
diffstat | 1 files changed, 13 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/ispell.el Fri Jun 28 08:44:25 1996 +0000 +++ b/lisp/textmodes/ispell.el Fri Jun 28 08:55:00 1996 +0000 @@ -130,6 +130,10 @@ ;; ;; HISTORY ;; +;; Revision 2.38 1996/5/30 ethanb@phys.washington.edu +;; Update ispell-message for gnus 5 (news-inews-hook => message-send-hook; +;; different header for quoted message). +;; ;; Revision 2.37 1995/6/13 12:05:28 stevens ;; Removed autoload from ispell-dictionary-alist. *choices* mode-line shows ;; misspelled word. Block skip for pgp & forwarded messages added. @@ -2093,13 +2097,13 @@ Don't check spelling of message headers except the Subject field. Don't check included messages. -To abort spell checking of a message REGION and send the message anyway, -use the `x' or `q' command. (Any subsequent regions will be checked.) +To abort spell checking of a message region and send the message anyway, +use the `x' command. (Any subsequent regions will be checked.) The `X' command aborts the message send so that you can edit the buffer. To spell-check whenever a message is sent, include the appropriate lines in your .emacs file: - (add-hook 'news-inews-hook 'ispell-message) + (add-hook 'message-send-hook 'ispell-message) (add-hook 'mail-send-hook 'ispell-message) (add-hook 'mh-before-send-letter-hook 'ispell-message) @@ -2131,11 +2135,16 @@ ((featurep 'sc) ; sc 2.3 (concat "\\(" sc-cite-regexp "\\)" "\\|" (ispell-non-empty-string sc-reference-tag-string))) - ((equal major-mode 'news-reply-mode) ;GNUS + ((equal major-mode 'news-reply-mode) ;GNUS 4 & below (concat "In article <" "\\|" (if mail-yank-prefix (ispell-non-empty-string mail-yank-prefix) "^ \\|^\t"))) + ((equal major-mode 'message-mode) ;GNUS 5 + (concat ".*@.* writes:$" "\\|" + (if mail-yank-prefix + (ispell-non-empty-string mail-yank-prefix) + "^ \\|^\t"))) ((equal major-mode 'mh-letter-mode) ; mh mail message (ispell-non-empty-string mh-ins-buf-prefix)) ((not internal-messagep) ; Assume n sent us this message.