From mboxrd@z Thu Jan 1 00:00:00 1970 From: marc.hartstein@alum.vassar.edu (Marc Hartstein) Date: Fri, 04 Apr 2008 12:16:09 -0400 Subject: [sup-talk] About newlines In-Reply-To: <1207309393-sup-2829@ausone.inria.fr> References: <1207309393-sup-2829@ausone.inria.fr> Message-ID: <1207325501-sup-8401@cabinet> Excerpts from Nicolas Pouillard's message of Fri Apr 04 08:14:06 -0400 2008: > I'm hitting a bug concerning forwarding, all newlines get trimmed off. I'm > trying to fix the bug, but I don't understand if arrays of lines are supposed > to be ended by newlines or not. After a bit of chat in #sup on freenode, I have a workaround and some comments. Workaround (tested): make sure you instruct your editor to save the temporary file even when you are making no changes. This will force sup to capture the contents of the file, which will include the newlines. New bug: the same bug exists when replying if you don't edit your message before sending (why would you ever do that?) The problem seems to be that when the body of forward/reply messages is built, it is built without a newline terminator at the end of every line. This is infrequently noticed because those newlines get added to the temporary file for editing. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://rubyforge.org/pipermail/sup-talk/attachments/20080404/0ecde927/attachment.bin