diff options
| author | Basil L. Contovounesios | 2018-05-07 16:42:41 +0100 |
|---|---|---|
| committer | Basil L. Contovounesios | 2019-05-13 23:58:45 +0100 |
| commit | 364d4e156d80bff711d000bdb2e0ac765726c953 (patch) | |
| tree | ae1a7660e3b5350b5be43335c84f58cef56d51fc /lisp | |
| parent | f4c1d95bef2ee8077eef46a2e6c585c3fc8bc499 (diff) | |
| download | emacs-364d4e156d80bff711d000bdb2e0ac765726c953.tar.gz emacs-364d4e156d80bff711d000bdb2e0ac765726c953.zip | |
Do not hard-code message-mode keys in docstring
* lisp/gnus/message.el (message-mode): Replace hard-coded bindings
in docstring with summary of message-mode-map. (bug#31388)
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/gnus/message.el | 39 |
1 files changed, 3 insertions, 36 deletions
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index 1851337b439..6da6140c5bc 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -2897,42 +2897,9 @@ See also `message-forbidden-properties'." | |||
| 2897 | ;;;###autoload | 2897 | ;;;###autoload |
| 2898 | (define-derived-mode message-mode text-mode "Message" | 2898 | (define-derived-mode message-mode text-mode "Message" |
| 2899 | "Major mode for editing mail and news to be sent. | 2899 | "Major mode for editing mail and news to be sent. |
| 2900 | Like Text Mode but with these additional commands:\\<message-mode-map> | 2900 | Like `text-mode', but with these additional commands: |
| 2901 | C-c C-s `message-send' (send the message) C-c C-c `message-send-and-exit' | 2901 | |
| 2902 | C-c C-d Postpone sending the message C-c C-k Kill the message | 2902 | \\{message-mode-map}" |
| 2903 | C-c C-f move to a header field (and create it if there isn't): | ||
| 2904 | C-c C-f C-t move to To C-c C-f C-s move to Subject | ||
| 2905 | C-c C-f C-c move to Cc C-c C-f C-b move to Bcc | ||
| 2906 | C-c C-f C-w move to Fcc C-c C-f C-r move to Reply-To | ||
| 2907 | C-c C-f C-u move to Summary C-c C-f C-n move to Newsgroups | ||
| 2908 | C-c C-f C-k move to Keywords C-c C-f C-d move to Distribution | ||
| 2909 | C-c C-f C-o move to From (\"Originator\") | ||
| 2910 | C-c C-f C-f move to Followup-To | ||
| 2911 | C-c C-f C-m move to Mail-Followup-To | ||
| 2912 | C-c C-f C-e move to Expires | ||
| 2913 | C-c C-f C-i cycle through Importance values | ||
| 2914 | C-c C-f s change subject and append \"(was: <Old Subject>)\" | ||
| 2915 | C-c C-f x crossposting with FollowUp-To header and note in body | ||
| 2916 | C-c C-f t replace To: header with contents of Cc: or Bcc: | ||
| 2917 | C-c C-f a Insert X-No-Archive: header and a note in the body | ||
| 2918 | C-c C-t `message-insert-to' (add a To header to a news followup) | ||
| 2919 | C-c C-l `message-to-list-only' (removes all but list address in to/cc) | ||
| 2920 | C-c C-n `message-insert-newsgroups' (add a Newsgroup header to a news reply) | ||
| 2921 | C-c C-b `message-goto-body' (move to beginning of message text). | ||
| 2922 | C-c C-i `message-goto-signature' (move to the beginning of the signature). | ||
| 2923 | C-c C-w `message-insert-signature' (insert `message-signature-file' file). | ||
| 2924 | C-c C-y `message-yank-original' (insert current message, if any). | ||
| 2925 | C-c C-q `message-fill-yanked-message' (fill what was yanked). | ||
| 2926 | C-c C-e `message-elide-region' (elide the text between point and mark). | ||
| 2927 | C-c C-v `message-delete-not-region' (remove the text outside the region). | ||
| 2928 | C-c C-z `message-kill-to-signature' (kill the text up to the signature). | ||
| 2929 | C-c C-r `message-caesar-buffer-body' (rot13 the message body). | ||
| 2930 | C-c C-a `mml-attach-file' (attach a file as MIME). | ||
| 2931 | C-c C-u `message-insert-or-toggle-importance' (insert or cycle importance). | ||
| 2932 | C-c M-n `message-insert-disposition-notification-to' (request receipt). | ||
| 2933 | C-c M-m `message-mark-inserted-region' (mark region with enclosing tags). | ||
| 2934 | C-c M-f `message-mark-insert-file' (insert file marked with enclosing tags). | ||
| 2935 | M-RET `message-newline-and-reformat' (break the line and reformat)." | ||
| 2936 | (set (make-local-variable 'message-reply-buffer) nil) | 2903 | (set (make-local-variable 'message-reply-buffer) nil) |
| 2937 | (set (make-local-variable 'message-inserted-headers) nil) | 2904 | (set (make-local-variable 'message-inserted-headers) nil) |
| 2938 | (set (make-local-variable 'message-send-actions) nil) | 2905 | (set (make-local-variable 'message-send-actions) nil) |