Re: [PATCH 2/2] emacs: Quote MML tags in replies

Subject: Re: [PATCH 2/2] emacs: Quote MML tags in replies

Date: Mon, 30 Jan 2012 10:23:31 +0200

To: Aaron Ecay, notmuch@notmuchmail.org

Cc:

From: Tomi Ollila


On Sun, 29 Jan 2012 01:07:08 -0500, Aaron Ecay <aaronecay@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

Thread: