From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Rmail-mbox branch Date: Wed, 03 Sep 2008 11:46:01 +0900 Message-ID: <87od363q1i.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87zlprvod0.fsf@stupidchicken.com> <4868CF84.1040005@pajato.com> <48A90589.4020804@pajato.com> <48A91146.60200@pajato.com> <48A968A3.8050806@pajato.com> <48BA1DAE.2030005@pajato.com> <874p51xblf.fsf@cyd.mit.edu> <84od39q9mv.fsf@boris.laptop> <84abesum0g.fsf@boris.laptop> <841w03v389.fsf@boris.laptop> <84wshvtgoz.fsf@boris.laptop> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220409682 1622 80.91.229.12 (3 Sep 2008 02:41:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Sep 2008 02:41:22 +0000 (UTC) Cc: emacs-devel@gnu.org, monnier@IRO.UMontreal.CA, Evil Boris To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 03 04:42:15 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KaiJw-0001JE-Ie for ged-emacs-devel@m.gmane.org; Wed, 03 Sep 2008 04:42:12 +0200 Original-Received: from localhost ([127.0.0.1]:33517 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaiIx-0000aX-Ei for ged-emacs-devel@m.gmane.org; Tue, 02 Sep 2008 22:41:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KaiIs-0000XT-PD for emacs-devel@gnu.org; Tue, 02 Sep 2008 22:41:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KaiIs-0000Wb-Bc for emacs-devel@gnu.org; Tue, 02 Sep 2008 22:41:06 -0400 Original-Received: from [199.232.76.173] (port=43623 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaiIs-0000WT-2v for emacs-devel@gnu.org; Tue, 02 Sep 2008 22:41:06 -0400 Original-Received: from mtps01.sk.tsukuba.ac.jp ([130.158.97.223]:52697) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KaiIo-0001ZV-3M; Tue, 02 Sep 2008 22:41:02 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps01.sk.tsukuba.ac.jp (Postfix) with ESMTP id C8B1A1535BC; Wed, 3 Sep 2008 11:41:00 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 571E11A260E; Wed, 3 Sep 2008 11:46:01 +0900 (JST) In-Reply-To: X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta28) "fuki" 78738a40e31e XEmacs Lucid (x86_64-unknown-linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:103465 Archived-At: Richard M. Stallman writes: > Forgot an important point (of course): After such a manipulation > [undoing quoted-printable- or base64-encoded msg and hand-decoding it], > is it clear that the file is a legitimate mbox file, *chortle* mbox is a bastard format. http://www.jwz.org/doc/content-length.html is the canonical reference here. > usable by other applications? Usable, no. Applications that use mbox will expect the headers to be 100% ASCII; non-ASCII content must be represented as MIME-words. MIME media-type text bodies may use Content-Transfer-Encoding: 8bit, which would allow you to save the predecoded text body. But who cares? Nobody sends multimegabyte text/plain messages; decoding per display is not an efficiency problem. MIME media-type multipart bodies need to be left as is, in case the user prefers an alternative decoding in other applications. Other MIME media-types can't be saved in decoded format, since that is going to be an Emacs internal data-type (consider image/png). > I am not sure. If it isn't valid as an mbox file, perhaps > it is true that Rmail/mbox needs to do this decoding > each time it displays the message, rather than just once > (as some have claimed before). s/\(It\|perhaps\) //g > If you edit such a message, how can Rmail/mbox save the edit? Perhaps > it needs to re-enode the changed message body in the same encoding > that the message used. Yes.