Bug/Issue: References header doesn't wrap in emacs package

Sanjoy Mahajan sanjoy at olin.edu
Tue Jun 7 08:51:25 PDT 2016


On 2016-06-07 06:28, David Bremner <david at tethera.net> wrote:

> Sanjoy Mahajan <sanjoy at olin.edu> writes:
>
>
>> I'm not sure whether fixing it in emacs is right.  The command 'notmuch
>> reply' is itself (with the sexp or json formats) generating the too-long
>> References: header.  Shouldn't it generate an RFC-compliant message?
>>
>> Or should the json/sexp formats remain agnostic about line length,
>> because wrapping doesn't make sense with key/value pairs?  In that case,
>> I agree that message-mode should fix any long lines.
>
> For me the main issue is that the references header is editable by the
> user before sending. So some input sanitization is needed at the sending
> stage.

Further supporting that argument, the user could also include a
1000-character line in the message body, which would require sanitizing
at the sending stage.

-Sanjoy


More information about the notmuch mailing list