diff options
| author | Richard M. Stallman | 1995-02-23 04:59:43 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-02-23 04:59:43 +0000 |
| commit | d9f86af9ab45faa9b400ec395446899579582983 (patch) | |
| tree | 028c33a2ec18f8f073a21d906797aec1fc3c5cb4 /lisp/mail | |
| parent | 824977b67ebda6e0a4f87188c77a118b8b82ef0b (diff) | |
| download | emacs-d9f86af9ab45faa9b400ec395446899579582983.tar.gz emacs-d9f86af9ab45faa9b400ec395446899579582983.zip | |
Various doc fixes.
(news-post-news): Add autoload cookie.
Diffstat (limited to 'lisp/mail')
| -rw-r--r-- | lisp/mail/rnewspost.el | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/lisp/mail/rnewspost.el b/lisp/mail/rnewspost.el index 778933ad83f..8ecf46ae665 100644 --- a/lisp/mail/rnewspost.el +++ b/lisp/mail/rnewspost.el | |||
| @@ -110,15 +110,15 @@ C-c C-r caesar rotate all letters by 13 places in the article's body (rot13)." | |||
| 110 | (run-hooks 'text-mode-hook 'news-reply-mode-hook)) | 110 | (run-hooks 'text-mode-hook 'news-reply-mode-hook)) |
| 111 | 111 | ||
| 112 | (defvar news-reply-yank-from | 112 | (defvar news-reply-yank-from |
| 113 | "Save From: field for news-reply-yank-original." | 113 | "Save `From:' field for `news-reply-yank-original'." |
| 114 | "") | 114 | "") |
| 115 | 115 | ||
| 116 | (defvar news-reply-yank-message-id | 116 | (defvar news-reply-yank-message-id |
| 117 | "Save Message-Id: field for news-reply-yank-original." | 117 | "Save `Message-Id:' field for `news-reply-yank-original'." |
| 118 | "") | 118 | "") |
| 119 | 119 | ||
| 120 | (defun news-reply-yank-original (arg) | 120 | (defun news-reply-yank-original (arg) |
| 121 | "Insert the message being replied to, if any (in rmail). | 121 | "Insert the message being replied to, if any (in Mail mode). |
| 122 | Puts point before the text and mark after. | 122 | Puts point before the text and mark after. |
| 123 | Indents each nonblank line ARG spaces (default 3). | 123 | Indents each nonblank line ARG spaces (default 3). |
| 124 | Just \\[universal-argument] as argument means don't indent | 124 | Just \\[universal-argument] as argument means don't indent |
| @@ -135,22 +135,23 @@ and don't delete any header fields." | |||
| 135 | "Hook for inserting a header at the top of a yanked message.") | 135 | "Hook for inserting a header at the top of a yanked message.") |
| 136 | 136 | ||
| 137 | (defun news-reply-newsgroups () | 137 | (defun news-reply-newsgroups () |
| 138 | "Move point to end of Newsgroups: field. | 138 | "Move point to end of `Newsgroups:' field. |
| 139 | RFC 850 constrains the Newsgroups: field to be a comma separated list of valid | 139 | RFC 850 constrains the `Newsgroups:' field to be a comma-separated list |
| 140 | newsgroups names at your site: | 140 | of valid newsgroup names at your site. For example, |
| 141 | Newsgroups: news.misc,comp.misc,rec.misc" | 141 | Newsgroups: news.misc,comp.misc,rec.misc" |
| 142 | (interactive) | 142 | (interactive) |
| 143 | (expand-abbrev) | 143 | (expand-abbrev) |
| 144 | (goto-char (point-min)) | 144 | (goto-char (point-min)) |
| 145 | (mail-position-on-field "Newsgroups")) | 145 | (mail-position-on-field "Newsgroups")) |
| 146 | 146 | ||
| 147 | (defun news-reply-followup-to () | 147 | (defun news-reply-followup-to () |
| 148 | "Move point to end of Followup-To: field. Create the field if none. | 148 | "Move point to end of `Followup-To:' field. Create the field if none. |
| 149 | One usually requests followups to only one newsgroup. | 149 | One usually requests followups to only one newsgroup. |
| 150 | RFC 850 constrains the Followup-To: field to be a comma separated list of valid | 150 | RFC 850 constrains the `Followup-To:' field to be a comma-separated list |
| 151 | newsgroups names at your site, that are also in the Newsgroups: field: | 151 | of valid newsgroups names at your site, and it must be a subset of the |
| 152 | Newsgroups: news.misc,comp.misc,rec.misc,misc.misc,soc.misc | 152 | `Newsgroups:' field. For example: |
| 153 | Followup-To: news.misc,comp.misc,rec.misc" | 153 | Newsgroups: news.misc,comp.misc,rec.misc,misc.misc,soc.misc |
| 154 | Followup-To: news.misc,comp.misc,rec.misc" | ||
| 154 | (interactive) | 155 | (interactive) |
| 155 | (expand-abbrev) | 156 | (expand-abbrev) |
| 156 | (or (mail-position-on-field "Followup-To" t) | 157 | (or (mail-position-on-field "Followup-To" t) |
| @@ -161,7 +162,7 @@ Followup-To: news.misc,comp.misc,rec.misc" | |||
| 161 | ) | 162 | ) |
| 162 | 163 | ||
| 163 | (defun news-reply-distribution () | 164 | (defun news-reply-distribution () |
| 164 | "Move point to end of Distribution: optional field. | 165 | "Move point to end of `Distribution:' optional field. |
| 165 | Create the field if none. Without this field the posting goes to all of | 166 | Create the field if none. Without this field the posting goes to all of |
| 166 | USENET. The field is used to restrict the posting to parts of USENET." | 167 | USENET. The field is used to restrict the posting to parts of USENET." |
| 167 | (interactive) | 168 | (interactive) |
| @@ -172,7 +173,7 @@ USENET. The field is used to restrict the posting to parts of USENET." | |||
| 172 | ) | 173 | ) |
| 173 | 174 | ||
| 174 | (defun news-reply-keywords () | 175 | (defun news-reply-keywords () |
| 175 | "Move point to end of Keywords: optional field. Create the field if none. | 176 | "Move point to end of `Keywords:' optional field. Create the field if none. |
| 176 | Used as an aid to the news reader, it can contain a few, well selected keywords | 177 | Used as an aid to the news reader, it can contain a few, well selected keywords |
| 177 | identifying the message." | 178 | identifying the message." |
| 178 | (interactive) | 179 | (interactive) |
| @@ -180,7 +181,7 @@ identifying the message." | |||
| 180 | (mail-position-on-field "Keywords")) | 181 | (mail-position-on-field "Keywords")) |
| 181 | 182 | ||
| 182 | (defun news-reply-summary () | 183 | (defun news-reply-summary () |
| 183 | "Move point to end of Summary: optional field. Create the field if none. | 184 | "Move point to end of `Summary:' optional field. Create the field if none. |
| 184 | Used as an aid to the news reader, it can contain a succinct | 185 | Used as an aid to the news reader, it can contain a succinct |
| 185 | summary (abstract) of the message." | 186 | summary (abstract) of the message." |
| 186 | (interactive) | 187 | (interactive) |
| @@ -193,8 +194,7 @@ summary (abstract) of the message." | |||
| 193 | (message "~/.signature will be appended automatically.")) | 194 | (message "~/.signature will be appended automatically.")) |
| 194 | 195 | ||
| 195 | (defun news-setup (to subject in-reply-to newsgroups replybuffer) | 196 | (defun news-setup (to subject in-reply-to newsgroups replybuffer) |
| 196 | "Setup the news reply or posting buffer with the proper headers and in | 197 | "Set up the news reply or posting buffer with the proper headers and mode." |
| 197 | news-reply-mode." | ||
| 198 | (setq mail-reply-buffer replybuffer) | 198 | (setq mail-reply-buffer replybuffer) |
| 199 | (let ((mail-setup-hook nil)) | 199 | (let ((mail-setup-hook nil)) |
| 200 | (if (null to) | 200 | (if (null to) |
| @@ -363,6 +363,7 @@ original message into it." | |||
| 363 | (message ""))) | 363 | (message ""))) |
| 364 | 364 | ||
| 365 | ;@@ the guts of news-reply and news-post-news should be combined. -tower | 365 | ;@@ the guts of news-reply and news-post-news should be combined. -tower |
| 366 | ;;;###autoload | ||
| 366 | (defun news-post-news () | 367 | (defun news-post-news () |
| 367 | "Begin editing a new USENET news article to be posted. | 368 | "Begin editing a new USENET news article to be posted. |
| 368 | Type \\[describe-mode] once editing the article to get a list of commands." | 369 | Type \\[describe-mode] once editing the article to get a list of commands." |