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

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

Date: Tue, 07 Jun 2016 07:28:40 -0300

To: Sanjoy Mahajan, Allan Streib, notmuch@notmuchmail.org

Cc:

From: David Bremner


Sanjoy Mahajan <sanjoy@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.

d

Thread: