aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorBasil L. Contovounesios2018-05-07 16:42:41 +0100
committerBasil L. Contovounesios2019-05-13 23:58:45 +0100
commit364d4e156d80bff711d000bdb2e0ac765726c953 (patch)
treeae1a7660e3b5350b5be43335c84f58cef56d51fc /lisp
parentf4c1d95bef2ee8077eef46a2e6c585c3fc8bc499 (diff)
downloademacs-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.el39
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.
2900Like Text Mode but with these additional commands:\\<message-mode-map> 2900Like `text-mode', but with these additional commands:
2901C-c C-s `message-send' (send the message) C-c C-c `message-send-and-exit' 2901
2902C-c C-d Postpone sending the message C-c C-k Kill the message 2902\\{message-mode-map}"
2903C-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
2918C-c C-t `message-insert-to' (add a To header to a news followup)
2919C-c C-l `message-to-list-only' (removes all but list address in to/cc)
2920C-c C-n `message-insert-newsgroups' (add a Newsgroup header to a news reply)
2921C-c C-b `message-goto-body' (move to beginning of message text).
2922C-c C-i `message-goto-signature' (move to the beginning of the signature).
2923C-c C-w `message-insert-signature' (insert `message-signature-file' file).
2924C-c C-y `message-yank-original' (insert current message, if any).
2925C-c C-q `message-fill-yanked-message' (fill what was yanked).
2926C-c C-e `message-elide-region' (elide the text between point and mark).
2927C-c C-v `message-delete-not-region' (remove the text outside the region).
2928C-c C-z `message-kill-to-signature' (kill the text up to the signature).
2929C-c C-r `message-caesar-buffer-body' (rot13 the message body).
2930C-c C-a `mml-attach-file' (attach a file as MIME).
2931C-c C-u `message-insert-or-toggle-importance' (insert or cycle importance).
2932C-c M-n `message-insert-disposition-notification-to' (request receipt).
2933C-c M-m `message-mark-inserted-region' (mark region with enclosing tags).
2934C-c M-f `message-mark-insert-file' (insert file marked with enclosing tags).
2935M-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)