LWN: Comments on "Re: [PATCH -mm] 1/2: MMCONFIG: validate against ACPI motherboard resources" https://lwn.net/Articles/237118/ This is a special feed containing comments posted to the individual LWN article titled "Re: [PATCH -mm] 1/2: MMCONFIG: validate against ACPI motherboard resources". en-us Tue, 07 Oct 2025 17:45:04 +0000 Tue, 07 Oct 2025 17:45:04 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net [PATCH]format=flowed https://lwn.net/Articles/380540/ https://lwn.net/Articles/380540/ foom I've been using format=flowed in my mail-reader for years (Apple Mail) -- and have not had the problems you have. In my experience, the assumption in the RFC about space-stuffing not causing a big problem is spot on. Maybe it's because when I have something like a patch, I attach it to the mail instead of pasting it into the body. <p> I don't really understand why anyone likes to do it the other way. Having it as an attachment makes it easier to extract (save the file, vs find the beginning and end of the patch and copy/paste), and many mail-readers will display plaintext attachments inline, too... <p> Unfortunately, as of OSX 10.6.2, Apple Mail stopped sending format=flowed, and now always sends MIME quoted-printable encoding (without any added line-breaks encoded), which of course is a complete disaster, since mail-list archives are generally too stupid to do anything but decode the quoted-printable...and it ends up all on a single line, with soft-wrapping disallowed. :( <p> So you get things like: <a href="http://lists.cs.uiuc.edu/pipermail/llvmdev/2010- March/030418.html">http://lists.cs.uiuc.edu/pipermail/llvmdev/2010-March/030...</a><br> Fri, 26 Mar 2010 14:05:26 +0000 [PATCH]format=flowed https://lwn.net/Articles/380456/ https://lwn.net/Articles/380456/ jschrod <div class="FormattedComment"> <font class="QuotedText">&gt; [about:config] then set mailnews.send_plaintext_flowed [to] false.</font><br> <p> Thanks, thanks, thanks!<br> <p> There are some client environments where I have to use Thunderbird. Now I can make them behave a bit better.<br> </div> Thu, 25 Mar 2010 23:52:17 +0000 Offlineimap? https://lwn.net/Articles/240167/ https://lwn.net/Articles/240167/ stevem Yup, offlineimap rocks. And so does mairix, which you mention too. They make up a nice combination of tools to make imap mail Just Work. I should really finish writing up details of my mail system too.<br> Thu, 28 Jun 2007 17:43:38 +0000 KMail ate my hamster https://lwn.net/Articles/239180/ https://lwn.net/Articles/239180/ pointwood In regards to Kmail, this might be interesting: <a href="http://dot.kde.org/1182269390/">http://dot.kde.org/1182269390/</a><br> Thu, 21 Jun 2007 09:51:33 +0000 [PATCH]format=flowed https://lwn.net/Articles/238504/ https://lwn.net/Articles/238504/ slamb I don't get this either, but sometimes you have to let the wookie win. git users are very insistent on a particular format (see git's own Documentation/SubmittingPatches), and they merge enough patches that they don't want to mess around with figuring out your format. Whether their format is right or wrong, the consistency makes sense. <p>However, you may be able to just use <tt>git send-email</tt> when sending patches to these people, rather than alter your MUA's settings. format=flowed does serve a purpose, even if some people don't like the details of how it is done. Fri, 15 Jun 2007 21:50:13 +0000 Offlineimap? https://lwn.net/Articles/237988/ https://lwn.net/Articles/237988/ xoddam <p> Thankyou!<br> Wed, 13 Jun 2007 02:47:41 +0000 Offlineimap? https://lwn.net/Articles/237960/ https://lwn.net/Articles/237960/ dmarti If you like a mailer, but don't like its IMAP support, there's always offlineimap. (<a href="http://www.linuxworld.com/community/?q=node/143">how I use it</a>) Tue, 12 Jun 2007 22:31:50 +0000 KMail ate my hamster https://lwn.net/Articles/237823/ https://lwn.net/Articles/237823/ landley No, IMAP is definitely kmail's kryptonite. I remember the time I told it <br> to download my email IMAP and it attempted to index my home directory as a <br> mail folder. (I have no idea WHY, but it did. Much "kill -9" ensued.) <br> <br> Pop sort of worked, for definitions of "sort of" that didn't really make <br> it worth setting up pop (no encryption of any kind, if I recall). <br> <br> These days I do all the network stuff through ssh tunneling. I do <br> something approximately this gross to download mail (as a prefetch script <br> to get a local mbox): <br> <a href="http://landley.net/code/filchmail">http://landley.net/code/filchmail</a> <br> <br> And for sending, an ssh tunnel to my mail server so sending email to <br> 127.0.0.1:25 becomes a locally originating email on the mail server. <br> <br> Basically, if Kmail never touches the network, it's a really nice mail <br> gui. And pop sort of worked last time I tried, with no security. But <br> don't try to use IMAP with it. There be dragons there. <br> Tue, 12 Jun 2007 01:59:50 +0000 Re: [PATCH -mm] 1/2: MMCONFIG: validate against ACPI motherboard resources https://lwn.net/Articles/237404/ https://lwn.net/Articles/237404/ dirtyepic Well, it's been long enough since the last time to forget what I didn't like, so I guess it's time to try it again.<br> Fri, 08 Jun 2007 02:32:41 +0000 KMail ate my hamster https://lwn.net/Articles/237402/ https://lwn.net/Articles/237402/ xoddam I tried KMail and it ate my IMAP folders.<br> <p> Admittedly it was a build in Debian testing, about two years<br> back, so I'm not complaining too loudly, but I was burned<br> nevertheless and haven't used it much since.<br> <p> To my shame I never reported the bug. I couldn't reproduce it.<br> Fri, 08 Jun 2007 01:46:11 +0000 [PATCH]format=flowed https://lwn.net/Articles/237398/ https://lwn.net/Articles/237398/ xoddam <font class="QuotedText">&gt; It is an explicit attribute on the text/plain mime type.</font><br> <font class="QuotedText">&gt; It doesn't require a fixed display width.</font><br> <p> (I just meant you need a display width to render it)<br> <p> <font class="QuotedText">&gt; It is unambiguously convertible back into the unwrapped form.</font><br> <p> Round-trips are broken in several MUAs.<br> <p> <font class="QuotedText">&gt; It is not supposed to parse the same as plain text.</font><br> <p> Well alright, that wasn't a requirement. But it is supposed<br> to *display* the same as plain text in user agents which<br> do not support it. It doesn't. Moreover, it doesn't parse<br> the same.<br> <p> <font class="QuotedText">&gt; (where are you coming up with this?)</font><br> <p> RFC 2646 and RFC 3676, which make a false assumption:<br> <p> "Since lines which require space-stuffing rarely occur, and<br> the aesthetic consequences of unreversed space-stuffing<br> are minimal, this is not expected to be a significant problem."<br> <p> Programs parse email. Email messages can contain structured<br> text where leading white-space is significant, to human and<br> mechanical readers. Space stuffing stuffs it up. This *is*<br> a significant problem.<br> <p> <font class="QuotedText">&gt; You aren't suppsed to randomly apply format=flowed rules</font><br> <font class="QuotedText">&gt; to all incoming text. Just that which explicitly states</font><br> <font class="QuotedText">&gt; it was encoded using that scheme...</font><br> <p> The problem (with Mozilla Mail aka Thuderbird) is that<br> *all* *outgoing* plain text mail is format=flowed,<br> whether or not you want your text to be parseable at<br> the other end. A further problem is that the users<br> mostly have no idea they're sending email which isn't<br> (quite) text/plain. It took me years to discover what<br> the problem was, and how to fix it. Literally.<br> <p> FYI (or rather for the information of people who don't<br> like this behaviour), you *can* turn off format=flowed<br> for all outgoing mail:<br> <p> Tools -&gt; Options -&gt; Advanced -&gt; Config Editor<br> <p> then set mailnews.send_plaintext_flowed false.<br> <p> Unfortunately you can't turn it off easily per-message<br> while composing.<br> <p> I have no problem with mime attachments for the purpose<br> of sending files. But patches are supposed to be readable<br> by humans and by the patch program. They are often sent<br> for discussion to a mailing list.<br> <p> I have no problem with format=flowed for text which<br> is just paragraphs and non-indented lines. I have<br> not turned off the preference for *displaying* flowed<br> text. But as soon as whitespace (leading or trailing)<br> becomes significant, format=flowed ceases to be<br> appropriate. The obvious cases are patches, inline code<br> or pseudocode, ASCII art and "manually" indented<br> paragraphs such as outline lists.<br> <p> <font class="QuotedText">&gt; What are you using as a client, "/usr/bin/mail"?</font><br> <p> No, Thunderbird. Outlook. Evolution. KMail. Various<br> Web mail services. Piping emails to patch.<br> <p> Thunderbird is admittedly the worst of them, and maybe<br> the only one which consistently breaks round-trips. But<br> none of them give any indication that what they're sending<br> is not "fixed" text/plain; you have to dig deep into<br> preferences, FAQs and bug databases to learn the most basic<br> things about what is a very basic computing task.<br> Fri, 08 Jun 2007 01:13:50 +0000 [PATCH]format=flowed https://lwn.net/Articles/237382/ https://lwn.net/Articles/237382/ bronson Amen to this. I've long since given up on the 3 big fights:<br> - Plain, ASCII text only. No HTML!<br> - Inline all text. Avoid MIME!<br> - No top posting!<br> <p> Most people at my company top-post, and it does make sense when dashing off a quick reply.<br> <p> It only took a decade, but MIME is pretty much universally supported. <br> <p> And, finally, I receive email both on my 1920x1200 workstation and on my 320x240 handheld... There is no way for plain text to appear properly formatted on each screen whereas simple HTML works great.<br> <p> So, I agree. I also send all patches as attachments. If the receiver's client won't show it, the receiver should use a different client.<br> <p> Thu, 07 Jun 2007 22:18:42 +0000 [PATCH]format=flowed https://lwn.net/Articles/237355/ https://lwn.net/Articles/237355/ foom It's pretty ironic that my comments in this discussion are nearly unreadable in my RSS reader, <br> because LWN uses the HTML textarea wrap="physical" cols="75", and thus my browser is <br> hard-wrapping the comment text to 75 columns. <br> <p> Sigh.<br> <p> <p> <p> Thu, 07 Jun 2007 19:27:37 +0000 [PATCH]format=flowed https://lwn.net/Articles/237344/ https://lwn.net/Articles/237344/ foom <font class="QuotedText">&gt; If this 'flowed text' were a separate mime-type, and text was always converted to and from it </font><br> <font class="QuotedText">&gt; consistently (which requires a given display width and an unambiguous way to distinguish </font><br> <font class="QuotedText">&gt; wrappable paragraphs from "fixed lines"), there would be no problem. But it's also supposed </font><br> <font class="QuotedText">&gt; to be plain text, and display (and parse!) the same as plain text. It doesn't, and it can't.</font><br> <p> It is an explicit attribute on the text/plain mime type. It doesn't require a fixed display width. It is <br> unambiguously convertible back into the unwrapped form. It is not supposed to parse the same <br> as plain text. (where are you coming up with this?)<br> <p> You aren't suppsed to randomly apply format=flowed rules to all incoming text. Just that which <br> explicitly states it was encoded using that scheme...<br> <p> Prior to format=flowed, to send plaintext mail which round-trips paragraphs properly, the only <br> option was quoted-printable encoding. That worked and works great, but doesn't degrade very <br> well for people using crappy clients. With format=flowed, the emails roundtrip in useful clients, <br> and don't look completely terrible on lame clients. It is a total win.<br> <p> <font class="QuotedText">&gt; Knowing about it and implementing it *correctly* aren't quite the same.</font><br> <font class="QuotedText">&gt; </font><br> <font class="QuotedText">&gt; There are so many bugs persisting in eg. Thunderbird (follow</font><br> <font class="QuotedText">&gt; links from <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=168420">https://bugzilla.mozilla.org/show_bug.cgi?id=168420</a>)</font><br> <font class="QuotedText">&gt; that when I use the same program as composer and reader,</font><br> <font class="QuotedText">&gt; indentation is messed up *every time*.</font><br> <p> Okay, I've never used Thunderbird. Maybe it's absolutely totally worthless at email, I can believe <br> that. But it having a defective implementation doesn't make the thing it implements bad. Apple <br> Mail composes plaintext mail which round-trips perfectly. It's really not that mysterious a <br> process, the rules are plainly spelled out in the RFC.<br> <p> <font class="QuotedText">&gt; Attachments have an annoying habit of getting silently encoded as</font><br> <font class="QuotedText">&gt; quoted-printable or base64</font><br> <p> Well, yeah...Any mail client worth its salt will decode q-p and base64 encodings before you ever <br> see them. What are you using as a client, "/usr/bin/mail"?<br> <p> <p> <p> Thu, 07 Jun 2007 17:59:05 +0000 Re: [PATCH -mm] 1/2: MMCONFIG: validate against ACPI motherboard resources https://lwn.net/Articles/237323/ https://lwn.net/Articles/237323/ jospoortvliet I'm pretty happy with KMail. You can use the keyboard to control it, it <br> has all the features I want, and is pretty easy to use. Tried it?<br> Thu, 07 Jun 2007 15:56:11 +0000 [PATCH]format=flowed https://lwn.net/Articles/237302/ https://lwn.net/Articles/237302/ DonDiego Not if the patch is flagged as text/plain, text/x-diff or text/x-patch. Your mail client can then quote it inline for you in replies.<br> <p> If people send patches marked as binaries, mutt allows you to change the mime-type on the fly. I'm soooo in love with this feature ...<br> Thu, 07 Jun 2007 14:36:31 +0000 [PATCH]format=flowed https://lwn.net/Articles/237289/ https://lwn.net/Articles/237289/ dw I guess I've never seen this problem because I've been using MIME for embedding objects in mail since the dawn of my time. This is only a pseudo-troll, I know people dislike MIME but to me it seems a good pragmatic choice, since I'd imagine well over half of all e-mail uses it these days.<br> Thu, 07 Jun 2007 14:04:21 +0000 [PATCH]format=flowed https://lwn.net/Articles/237257/ https://lwn.net/Articles/237257/ ekj Also, often people reply to a patch with inline comments to stuff in it, which requires extra steps to do if the patch is an attachment. Thu, 07 Jun 2007 11:14:27 +0000 [PATCH]format=flowed https://lwn.net/Articles/237228/ https://lwn.net/Articles/237228/ xoddam <font class="QuotedText">&gt; No, _not_ using format=flowed wreaks havoc upon structured text.</font><br> <p> The purpose of format=flowed is to let some paragraphs be<br> re-wrapped for narrow displays. The intention was that<br> anything other than a wrappable paragraph would be a<br> fixed text line and be treated like plain text.<br> <p> But the inventors in their wisdom decided to fix other<br> things that also weren't broken (like wrapping of paragraphs<br> quoted with "&gt;"), and invented "space stuffing":<br> <p> "On reception, if the first character of a line is a space,<br> it is logically deleted."<br> <p> "On generation, any unquoted lines which start with "&gt;", and any<br> lines which start with a space or "From " MUST be space-stuffed.<br> Other lines MAY be space-stuffed as desired."<br> <p> ( from <a href="http://www.ietf.org/rfc/rfc3676.txt">http://www.ietf.org/rfc/rfc3676.txt</a> )<br> <p> If this 'flowed text' were a separate mime-type, and text<br> was always converted to and from it consistently (which<br> requires a given display width and an unambiguous way to<br> distinguish wrappable paragraphs from "fixed lines"), there<br> would be no problem. But it's also supposed to be plain<br> text, and display (and parse!) the same as plain text.<br> It doesn't, and it can't.<br> <p> <font class="QuotedText">&gt; assume that the receiver also uses a client that</font><br> <font class="QuotedText">&gt; wasn't written in the dark ages, and thus knows</font><br> <font class="QuotedText">&gt; about the format=flowed parameter.</font><br> <p> Knowing about it and implementing it *correctly* aren't quite the same.<br> <p> There are so many bugs persisting in eg. Thunderbird (follow<br> links from <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=168420">https://bugzilla.mozilla.org/show_bug.cgi?id=168420</a>)<br> that when I use the same program as composer and reader,<br> indentation is messed up *every time*.<br> <p> As long as anyone on a list is using an MUA which either (a) does <br> format=flowed *wrong*, like Thunderbird (and many other graphical<br> mail clients), or (b) doesn't do format=flowed at all, it makes<br> sense to deprecate it.<br> <p> <font class="QuotedText">&gt; lots of people on OSS mailing lists use clients that don't deal</font><br> <font class="QuotedText">&gt; with attachments very well either (I guess?), so those are also</font><br> <font class="QuotedText">&gt; disfavored...</font><br> <p> I think the preference for in-line patches is so that they can be<br> read in-line, and so that the patch and accompanying message can<br> be saved together as a plain text file which works with 'patch'.<br> Attachments have an annoying habit of getting silently encoded as<br> quoted-printable or base64 -- which is almost as annoying as<br> format=flowed.<br> <p> The habit of piping raw email messages to patch is compelling.<br> If format=flowed were implemented sufficiently consistently that<br> leading spaces were preserved across all MUAs which supported<br> it, there would be a compelling reason for 'patch' itself to<br> recognise the format=flowed line and parse the text accordingly.<br> <p> As long as popular MUAs do it wrong, there is no point trying<br> to support it at all.<br> Thu, 07 Jun 2007 10:31:58 +0000 [PATCH]format=flowed https://lwn.net/Articles/237222/ https://lwn.net/Articles/237222/ foom No, _not_ using format=flowed wreaks havoc upon structured text. Email is limited to 80 <br> characters in a lines by convention, and must be fewer than 997. If your code is wider than that, <br> the mail client should or must insert a linebreak in it. Without format=flowed, there is no way for <br> the receiver to distinguish the real linebreaks from the ones inserted by the client.<br> <p> However, with format=flowed, the receiver knows which linebreaks were inserted artificially by <br> the sending mail client, and which were part of the actual content. <br> <p> Having the unwrapping work properly does assume that the receiver also uses a client that <br> wasn't written in the dark ages, and thus knows about the format=flowed parameter. One would <br> think that would be a safe assumption by now.<br> <p> Of course, the best solution to attaching a patch to your email such that client won't mangle <br> them in any way is to use these things called (funnily enough) "attachments". But it seems that <br> lots of people on OSS mailing lists use clients that don't deal with attachments very well either (I <br> guess?), so those are also disfavored...<br> <p> <p> Thu, 07 Jun 2007 07:37:45 +0000 [PATCH]format=flowed https://lwn.net/Articles/237220/ https://lwn.net/Articles/237220/ xoddam <font class="QuotedText">&gt; With regards to format=flowed, what's wrong with it?</font><br> <p> It wreaks havoc upon any structured text where line breaks are <br> significant. In particular, it mangles patches.<br> Thu, 07 Jun 2007 07:09:18 +0000 Re: [PATCH -mm] 1/2: MMCONFIG: validate against ACPI motherboard resources https://lwn.net/Articles/237211/ https://lwn.net/Articles/237211/ dw I lived with mutt for years very happily, and before and after that Mozilla and Thunderbird, and very recently, after an entire year of having coworkers tell me it's the right thing to do, Gmail (they were right; I spend 1/10th the time on mail compared to previous).<br> <p> With regards to format=flowed, what's wrong with it? If your MUA ignores that parameter then it should still wrap at your terminal width, and if that isn't good enough, then you need to update your definition of compatibility to not include "first generation teletype devices." ;)<br> Thu, 07 Jun 2007 04:14:20 +0000 Re: [PATCH -mm] 1/2: MMCONFIG: validate against ACPI motherboard resources https://lwn.net/Articles/237210/ https://lwn.net/Articles/237210/ dirtyepic <i>I'm convinced there's some contest to see who can make the worst graphical mail client for Linux. I'm not sure what the prize is, or who's winning, but the entries so far are horrific.</i><br> <br> Amen. I've yet to find a GUI mail program i don't want to throw through a wood chipper a half dozen times. Choosing a client seems to be an exercise in finding the one whose broken behaviour annoys you the least. Thu, 07 Jun 2007 04:04:32 +0000