[PATCH v6] emacs: Use the new JSON reply format and message-cite-original

Adam Wolfe Gordon awg+notmuch at xvx.ca
Sat Mar 10 10:19:40 PST 2012


On Fri, Mar 9, 2012 at 16:13, Jani Nikula <jani at nikula.org> wrote:
>> +     (set-mark (point))
>> +     (goto-char start)
>> +     ;; Quote the original message according to the user's configured style.
>> +     (message-cite-original)
>> +     (goto-char (point-max)))))
>> +
>> +  (push-mark)
>>    (message-goto-body)
>> -  ;; Original message may contain (malicious) MML tags.  We must
>> -  ;; properly quote them in the reply.  Note that using `point-max'
>> -  ;; instead of `mark' here is wrong.  The buffer may include user's
>> -  ;; signature which should not be MML-quoted.
>> -  (mml-quote-region (point) (mark)))
>
> Is it okay to drop mml quoting? Why?

As Austin pointed out on an earlier version, message-cite-original
already does the quoting, so doing it ourselves will result in
double-quoting MML tags.


More information about the notmuch mailing list