aboutsummaryrefslogtreecommitdiffhomepage
path: root/contrib/notmuch-mutt/README
diff options
context:
space:
mode:
authorGravatar Tomi Ollila <tomi.ollila@iki.fi>2013-09-06 17:32:18 +0300
committerGravatar David Bremner <bremner@debian.org>2013-09-08 22:41:19 -0300
commit4ceeaf8038ff241f438ad2a5d0bbda1c78aee385 (patch)
tree5c63f114a57ade04a814c3ecadd301f1ef6cdbef /contrib/notmuch-mutt/README
parent11a38054641b7b0e927bf574369d4d8dfc7b4742 (diff)
emacs: fix notmuch-mua-reply point placement when signature involved
When composing a reply, notmuch-mua-reply attempts to cite the the original message by inserting it before the user signature, if one is present. The existing method used to search the signature separator backward from the end of the buffer and then move one line up. In case of variable `message-signature-insert-empty-line' being nil this caused point to go to the beginning of '--text follows this line--' separator line, and citation was inserted there. This change checks the value of `message-signature-insert-empty-line' and doesn't move point if that is nil. Additional narrowing to the body region ensures that point never goes to the separator line (or beyond). `message-signature-setup-hook' or `message-setup-hook' may already have added some other content to the message body, therefore using simply (message-goto-body) to move point to the beginning of body might lead to unexpected results. Original patch from "Geoffrey H. Ferrari", continued with iterations from Jani and Mark.
Diffstat (limited to 'contrib/notmuch-mutt/README')
0 files changed, 0 insertions, 0 deletions