mirror of https://github.com/djcb/mu.git
mu4e: try to honor `message-cite-reply-position'
Try to respect gnu's `message-cite-reply-position' by placing the cursor in the right position.
This commit is contained in:
parent
4859cb802f
commit
1c4caf198d
|
@ -579,7 +579,14 @@ tempfile)."
|
||||||
|
|
||||||
(if (member compose-type '(new forward))
|
(if (member compose-type '(new forward))
|
||||||
(message-goto-to)
|
(message-goto-to)
|
||||||
(message-goto-body))
|
;; otherwise, it depends...
|
||||||
|
(case message-cite-reply-position
|
||||||
|
(above
|
||||||
|
(message-goto-body))
|
||||||
|
(t
|
||||||
|
(when (message-goto-signature)
|
||||||
|
(forward-line -2)))))
|
||||||
|
|
||||||
;; bind to `mu4e-compose-parent-message' of compose buffer
|
;; bind to `mu4e-compose-parent-message' of compose buffer
|
||||||
(set (make-local-variable 'mu4e-compose-parent-message) original-msg)
|
(set (make-local-variable 'mu4e-compose-parent-message) original-msg)
|
||||||
(put 'mu4e-compose-parent-message 'permanent-local t)
|
(put 'mu4e-compose-parent-message 'permanent-local t)
|
||||||
|
|
Loading…
Reference in New Issue