From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Need some help with Rmail/mbox Date: Mon, 22 Sep 2008 21:48:44 +0300 Message-ID: References: <87y71o4xw6.fsf@xemacs.org> <48D33A10.4040102@pajato.com> <871vzfi93y.fsf@xemacs.org> <03b276ff-e070-465e-9486-c02e4725a3e0@broken.deisui.org> <1bd9e4e5-9349-438b-92af-c2a6293491e7@broken.deisui.org> <7706e34f-1555-4a18-b3b7-ce4a9ec5cbf8@broken.deisui.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1222109360 4797 80.91.229.12 (22 Sep 2008 18:49:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Sep 2008 18:49:20 +0000 (UTC) Cc: pmr@pajato.com, stephen@xemacs.org, ueno@unixuser.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 22 20:50:16 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 1KhqTu-0005gi-St for ged-emacs-devel@m.gmane.org; Mon, 22 Sep 2008 20:49:59 +0200 Original-Received: from localhost ([127.0.0.1]:51619 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhqSs-0003yv-To for ged-emacs-devel@m.gmane.org; Mon, 22 Sep 2008 14:48:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KhqSo-0003yq-9M for emacs-devel@gnu.org; Mon, 22 Sep 2008 14:48:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KhqSm-0003yd-5C for emacs-devel@gnu.org; Mon, 22 Sep 2008 14:48:49 -0400 Original-Received: from [199.232.76.173] (port=46739 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KhqSm-0003ya-0O for emacs-devel@gnu.org; Mon, 22 Sep 2008 14:48:48 -0400 Original-Received: from mtaout3.012.net.il ([84.95.2.7]:38560) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KhqSl-0005Sv-FC for emacs-devel@gnu.org; Mon, 22 Sep 2008 14:48:47 -0400 Original-Received: from HOME-C4E4A596F7 ([77.127.116.246]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K7M005FM1MY2R51@i_mtaout3.012.net.il> for emacs-devel@gnu.org; Mon, 22 Sep 2008 21:49:46 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 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:104045 Archived-At: > From: Stefan Monnier > Date: Sun, 21 Sep 2008 23:58:49 -0400 > Cc: pmr@pajato.com, Eli Zaretskii , stephen@xemacs.org, > emacs-devel@gnu.org > > >> That would mean Rmail/mbox will need to use another unibyte scratch > >> buffer for decoding MIME-encoded text: first qp- or b64-decode it into > >> another unibyte buffer, then decode-coding-region from there to the > >> (multibyte) display buffer. > > > Since the output of qp- or b64-decode is unibyte (unlike > > decode-coding-region), we can reuse the same source buffer. > > Actually, better not: the real source buffer is the actual mbox file > buffer Right, exactly. Besides, one of the main design goals of Rmail/mbox was to preserve the original mbox file intact, to avoid irreversible changes due to some types of decoding.