On 2015-10-02 21:21, David Bremner <da...@tethera.net> wrote: >>> The problem is a References header that is too long/not wrapped. >>> >> >> Hi Allan; >> >> Thanks for the report. I can see how notmuch-reply would generate a >> long references header in that situation. We rely on message-mode (part >> of Gnus) to actually send the message, and it isn't clear to me yet if >> message-mode (or some function it invokes) normally folds long headers. > > I have reported this as an emacs bug. > > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21608
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. By the way, the latest Exim release (4.87), at least as configured in Debian, does limit lines to 998 characters, and that limit has been causing me a few hiccups -- usually when I reply to a message sent by gmail with a zillion references (perhaps it lists every message in the thread). -Sanjoy _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch