[PATCH 2/2] emacs: Quote MML tags in replies
Tomi Ollila
tomi.ollila at iki.fi
Mon Jan 30 00:23:31 PST 2012
On Sun, 29 Jan 2012 01:07:08 -0500, Aaron Ecay <aaronecay at gmail.com> wrote:
> Emacs message-mode uses certain text strings to indicate how to attach
> files to outgoing mail. If these are present in the text of an email,
> and a user is tricked into replying to the message, the user’s files
> could be exposed.
> ---
[ ... ]
>
> - (message-goto-body))
> + (message-goto-body)
> + (mml-quote-region (point) (mark)))
As asked before, comment why mmm-quote-region is needed
and why (mark) is used instead of (point-max) is there.
We know the reasons but future viewers of the code will
wonder a while...
Tomi
More information about the notmuch
mailing list