[PATCH] emacs: Quote MML tags in replies

Aaron Ecay aaronecay at gmail.com
Thu Jan 19 14:52:23 PST 2012


On Thu, 19 Jan 2012 17:46:31 -0500, Austin Clements <amdragon at 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


More information about the notmuch mailing list