Bug/Issue: References header doesn't wrap in emacs package
David Bremner
david at tethera.net
Thu Jan 26 16:32:37 PST 2017
Sanjoy Mahajan <sanjoy at olin.edu> writes:
> 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
Headers are now folded in emacs master, apparently
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21608
More information about the notmuch
mailing list