diff options
| author | Karl Heuer | 1995-12-21 18:20:21 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-12-21 18:20:21 +0000 |
| commit | 1e17195615fc97dd86a7321a781fa0f79d6395b2 (patch) | |
| tree | 8e32f1c79d5291e2af924161e68ef270c19bf56d | |
| parent | 4c61f92c4e09978219750fdc8ec9d25df37cb64b (diff) | |
| download | emacs-1e17195615fc97dd86a7321a781fa0f79d6395b2.tar.gz emacs-1e17195615fc97dd86a7321a781fa0f79d6395b2.zip | |
Comment fixes.
| -rw-r--r-- | lisp/mail/mailabbrev.el | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/lisp/mail/mailabbrev.el b/lisp/mail/mailabbrev.el index 1715e7fc1c0..93112997da3 100644 --- a/lisp/mail/mailabbrev.el +++ b/lisp/mail/mailabbrev.el | |||
| @@ -31,14 +31,11 @@ | |||
| 31 | ;;; the MAILRC environment variable) if it exists. Your mail aliases will | 31 | ;;; the MAILRC environment variable) if it exists. Your mail aliases will |
| 32 | ;;; expand any time you type a word-delimiter at the end of an abbreviation. | 32 | ;;; expand any time you type a word-delimiter at the end of an abbreviation. |
| 33 | ;;; | 33 | ;;; |
| 34 | ;;; What you see is what you get: no abbreviations will be expanded after you | 34 | ;;; What you see is what you get: if mailabbrev is in use when you type |
| 35 | ;;; have sent the mail, unlike the old system. This means you don't suffer | 35 | ;;; a name, and the name does not expand, you know it is not an abbreviation. |
| 36 | ;;; the annoyance of having the system do things behind your back -- if an | 36 | ;;; However, if you yank abbreviations into the headers |
| 37 | ;;; address you typed is going to be rewritten, you know it immediately, | 37 | ;;; in a way that bypasses the check for abbreviations, |
| 38 | ;;; instead of after the mail has been sent and it's too late to do anything | 38 | ;;; they are expanded (but not visibly) when you send the message. |
| 39 | ;;; about it. You will never again be screwed because you forgot to delete an | ||
| 40 | ;;; old alias from your .mailrc when a new local user arrives and is given a | ||
| 41 | ;;; userid which conflicts with one of your aliases, for example. | ||
| 42 | ;;; | 39 | ;;; |
| 43 | ;;; Your mail alias abbrevs will be in effect only when the point is in an | 40 | ;;; Your mail alias abbrevs will be in effect only when the point is in an |
| 44 | ;;; appropriate header field. When in the body of the message, or other | 41 | ;;; appropriate header field. When in the body of the message, or other |
| @@ -109,8 +106,13 @@ | |||
| 109 | ;;; move out of the mail-header into the message body (instead of having to | 106 | ;;; move out of the mail-header into the message body (instead of having to |
| 110 | ;;; type SPC at the end of the abbrev before moving away) then you can do | 107 | ;;; type SPC at the end of the abbrev before moving away) then you can do |
| 111 | ;;; | 108 | ;;; |
| 112 | ;;; (define-key mail-mode-map "\C-n" 'mail-abbrev-next-line) | 109 | ;;; (add-hook |
| 113 | ;;; (define-key mail-mode-map "\M->" 'mail-abbrev-end-of-buffer) | 110 | ;;; 'mail-setup-hook |
| 111 | ;;; '(lambda () | ||
| 112 | ;;; (substitute-key-definition 'next-line 'mail-abbrev-next-line | ||
| 113 | ;;; mail-mode-map global-map) | ||
| 114 | ;;; (substitute-key-definition 'end-of-buffer 'mail-abbrev-end-of-buffer | ||
| 115 | ;;; mail-mode-map global-map))) | ||
| 114 | ;;; | 116 | ;;; |
| 115 | ;;; If you want multiple addresses separated by a string other than ", " then | 117 | ;;; If you want multiple addresses separated by a string other than ", " then |
| 116 | ;;; you can set the variable mail-alias-separator-string to it. This has to | 118 | ;;; you can set the variable mail-alias-separator-string to it. This has to |