{"thread":{"id":"17493","subject":"Linus and whitespace","startedAt":"2009-02-01T22:36:28Z","lastAt":"2009-02-02T07:22:17Z","messageCount":4,"participants":["jidanni@jidanni.org","A Large Angry SCM","Linus Torvalds","Johannes Gilger"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"102789","messageId":"87fxix3hub.fsf@jidanni.org","threadId":"17493","inReplyTo":null,"subject":"Linus and whitespace","fromName":"","fromEmail":"jidanni@jidanni.org","sentAt":"2009-02-01T22:36:28Z","receivedAt":"2009-02-01T22:36:28Z","isPatch":false,"sender":{"key":"jidanni@jidanni.org","avatar":"https://gravatar.com/avatar/36568d4af4c8d3e71627ef3b8c8d00e39065b12f29676cccd38ced75e68fa2a6?d=mp&s=160"},"body":"Gentlemen, I couldn't help but notice a certain Linus B. Torvalds is\nproducing mail with trailing whitespace.\n\nI recall one should (linux-doc-*/Documentation/CodingStyle*:)\n\"Get a decent editor and don't leave whitespace at the end of lines.\"\n\nIndeed, with my GNU Emacs show-trailing-whitespace X-ray\neyespecs on all day, whitespace becomes screaming purple space, so you\ncan't blame me for noticing.\n\nAnyway, I have analyzed his messages,\n(User-Agent: Alpine 2.00 (LFD 1167 2008-08-23))\nand discovered that the whitespace phenomenon almost always occurs if\nthe lines are more than 60 characters long, the \"danger zone\", we might say.\n\n$ perl -nwle 'print length if / $/' recent_linus_postings|\nsort|uniq -c|sort -k 2nr\n      1 77\n      1 76\n     17 75\n     17 74\n     11 73\n     18 72\n     12 71\n      6 70\n      8 69\n      6 68\n      2 67\n      1 66\n      2 64\n      1 63\n      1 40\n      9 2\n"},{"id":"102794","messageId":"498626D3.1020202@gmail.com","threadId":"17493","inReplyTo":"87fxix3hub.fsf@jidanni.org","subject":"Re: Linus and whitespace","fromName":"A Large Angry SCM","fromEmail":"gitzilla@gmail.com","sentAt":"2009-02-01T22:48:51Z","receivedAt":"2009-02-01T22:48:51Z","isPatch":false,"sender":{"key":"gitzilla@gmail.com","avatar":"https://gravatar.com/avatar/354625c442439908ff3dd99757dee330e29e9df7847472384faf7a00add247fb?d=mp&s=160"},"body":"jidanni@jidanni.org wrote:\n> Gentlemen, I couldn't help but notice a certain Linus B. Torvalds is\n> producing mail with trailing whitespace.\n> \n> I recall one should (linux-doc-*/Documentation/CodingStyle*:)\n> \"Get a decent editor and don't leave whitespace at the end of lines.\"\n> \n> Indeed, with my GNU Emacs show-trailing-whitespace X-ray\n> eyespecs on all day, whitespace becomes screaming purple space, so you\n> can't blame me for noticing.\n> \n> Anyway, I have analyzed his messages,\n> (User-Agent: Alpine 2.00 (LFD 1167 2008-08-23))\n> and discovered that the whitespace phenomenon almost always occurs if\n> the lines are more than 60 characters long, the \"danger zone\", we might say.\n> \n> $ perl -nwle 'print length if / $/' recent_linus_postings|\n> sort|uniq -c|sort -k 2nr\n>       1 77\n>       1 76\n>      17 75\n>      17 74\n>      11 73\n>      18 72\n>      12 71\n>       6 70\n>       8 69\n>       6 68\n>       2 67\n>       1 66\n>       2 64\n>       1 63\n>       1 40\n>       9 2\n\nCodingStyle applies to *patches* not to discussion. In how many of those \nemails you analyzed were there any trailing whitespace in a patch?\n"},{"id":"102795","messageId":"alpine.LFD.2.00.0902011455310.4704@localhost.localdomain","threadId":"17493","inReplyTo":"87fxix3hub.fsf@jidanni.org","subject":"Re: Linus and whitespace","fromName":"Linus Torvalds","fromEmail":"torvalds@linux-foundation.org","sentAt":"2009-02-01T22:56:20Z","receivedAt":"2009-02-01T22:56:20Z","isPatch":false,"sender":{"key":"torvalds@linux-foundation.org","avatar":"https://avatars.githubusercontent.com/u/1024025?v=4"},"body":"\n\nOn Mon, 2 Feb 2009, jidanni@jidanni.org wrote:\n>\n> Gentlemen, I couldn't help but notice a certain Linus B. Torvalds is\n> producing mail with trailing whitespace.\n\nalpine does it when word-wrapping my messages. \n\nBut I don't word-wrap my _patches_. Those I just insert, and alpine gets \nit right.\n\n\t\t\tLinus\n"},{"id":"102831","messageId":"gm66v9$3io$1@ger.gmane.org","threadId":"17493","inReplyTo":"87fxix3hub.fsf@jidanni.org","subject":"Re: Linus and whitespace","fromName":"Johannes Gilger","fromEmail":"heipei@hackvalue.de","sentAt":"2009-02-02T07:22:17Z","receivedAt":"2009-02-02T07:22:17Z","isPatch":false,"sender":{"key":"heipei@hackvalue.de","avatar":"https://avatars.githubusercontent.com/u/6072?v=4"},"body":"On 2009-02-01, jidanni@jidanni.org <jidanni@jidanni.org> wrote:\n> Gentlemen, I couldn't help but notice a certain Linus B. Torvalds is\n> producing mail with trailing whitespace.\n\nBoy, do you have too much free time on your hands...\n\nGreetings,\nJojo\n\n-- \nJohannes Gilger <heipei@hackvalue.de>\nhttp://hackvalue.de/heipei/\nGPG-Key: 0x42F6DE81\nGPG-Fingerprint: BB49 F967 775E BB52 3A81  882C 58EE B178 42F6 DE81\n"}]}