comparison lisp/gnus/message.el @ 49034:b6e082e00b00

(message-split-line): New function. (message-mode-map): Remap split-line to message-split-line.
author Kim F. Storm <storm@cua.dk>
date Fri, 03 Jan 2003 22:48:19 +0000
parents 52d99cc2e9e3
children 0d8b17d428b5
comparison
equal deleted inserted replaced
49033:4a660dffff16 49034:b6e082e00b00
1412 1412
1413 (define-key message-mode-map "\C-c\C-e" 'message-elide-region) 1413 (define-key message-mode-map "\C-c\C-e" 'message-elide-region)
1414 (define-key message-mode-map "\C-c\C-v" 'message-delete-not-region) 1414 (define-key message-mode-map "\C-c\C-v" 'message-delete-not-region)
1415 (define-key message-mode-map "\C-c\C-z" 'message-kill-to-signature) 1415 (define-key message-mode-map "\C-c\C-z" 'message-kill-to-signature)
1416 (define-key message-mode-map "\M-\r" 'message-newline-and-reformat) 1416 (define-key message-mode-map "\M-\r" 'message-newline-and-reformat)
1417 (define-key message-mode-map [remap split-line] 'message-split-line)
1417 1418
1418 (define-key message-mode-map "\C-c\C-a" 'mml-attach-file) 1419 (define-key message-mode-map "\C-c\C-a" 'mml-attach-file)
1419 1420
1420 (define-key message-mode-map "\t" 'message-tab)) 1421 (define-key message-mode-map "\t" 'message-tab))
1421 1422
1775 (when quoted 1776 (when quoted
1776 (insert quoted)) 1777 (insert quoted))
1777 (fill-paragraph nil) 1778 (fill-paragraph nil)
1778 (goto-char point) 1779 (goto-char point)
1779 (forward-line 1))) 1780 (forward-line 1)))
1781
1782 (defun message-split-line ()
1783 "Split current line, moving portion beyond point vertically down.
1784 If the current line has `message-yank-prefix', insert it on the new line."
1785 (interactive "*")
1786 (split-line message-yank-prefix))
1780 1787
1781 (defun message-insert-signature (&optional force) 1788 (defun message-insert-signature (&optional force)
1782 "Insert a signature. See documentation for variable `message-signature'." 1789 "Insert a signature. See documentation for variable `message-signature'."
1783 (interactive (list 0)) 1790 (interactive (list 0))
1784 (let* ((signature 1791 (let* ((signature