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

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

Date: Thu, 19 Jan 2012 17:52:23 -0500

To: Austin Clements, Pieter Praet

Cc: notmuch@notmuchmail.org

From: Aaron Ecay


On Thu, 19 Jan 2012 17:46:31 -0500, Austin Clements <amdragon@MIT.EDU> wrote:
> > ### OT:
> > For some reason, `mml-quote-region' explicitly re-quotes
> > already quoted MML tags:
> > 
> >   "<#!*/?\\(multipart\\|part\\|external\\|mml\\)"
> > 
> > Why is that ?
> 
> Probably so the transformation is invertible, though as far as I can
> tell there's no mml-unquote-region.

Sending the message (or doing M-x mml-preview) undoes the quoting.  So
if the original message contains an already-quoted tag, constructing the
reply double-quotes it, and sending the reply will produce the original
single-quoted tag again.

-- 
Aaron Ecay

Thread: