From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: RMAIL, MIME-related bug Date: Thu, 16 Oct 2003 19:06:49 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200310121947.h9CJlhKH006102@oak.pohoyda.family> <7137-Thu16Oct2003085921+0200-eliz@elta.co.il> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1066346338 17403 80.91.224.253 (16 Oct 2003 23:18:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2003 23:18:58 +0000 (UTC) Cc: alexander.pohoyda@gmx.net, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Oct 17 01:18:55 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AAHOR-0001VG-00 for ; Fri, 17 Oct 2003 01:18:55 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AAHOR-00079V-00 for ; Fri, 17 Oct 2003 01:18:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AAHNk-00074C-5m for emacs-devel@quimby.gnus.org; Thu, 16 Oct 2003 19:18:12 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AAHGm-0001s1-Ll for emacs-devel@gnu.org; Thu, 16 Oct 2003 19:11:00 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AAHGG-0001iU-FY for emacs-devel@gnu.org; Thu, 16 Oct 2003 19:10:59 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AAHGE-0001iI-DD for emacs-devel@gnu.org; Thu, 16 Oct 2003 19:10:26 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1AAHCj-0002Yp-0b; Thu, 16 Oct 2003 19:06:49 -0400 Original-To: Eli Zaretskii In-reply-to: <7137-Thu16Oct2003085921+0200-eliz@elta.co.il> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17184 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17184 > When we convert the email to babyl format, Paul Riley and I have made a version of Rmail that doesn't use Babyl format. We want to get rid of it entirely. I think it is currently available in a branch called rmail-mbox-branch. So please don't think in terms of conversion to Babyl format when designing future Rmail changes. we can do some MIME-related > processing on it, for example: all text/* bodyparts may be > transfer-encoding (quoted-printable and base64) decoded, PGP/GPG > signatures verified, PGP/GPG decryption done, header fields of type > =?...?B?...?= decoded (RFC 2047) and unfolded (RFC 2822), etc. > This needs to be done once. No information is lost in this step. No > structure information is lost either. I agree that these are best done while converting to Babyl. I disagree. I don't want any decryption done and saved on my disk. (You won't be able to do the decryption without asking me for my passphrase, and I would not give it.) Decoding of quoted-printable and base64 may cause problems too. The point of these encodings is so that the data can be unambiguously included in a message. If you decode it and store the result in the Rmail file, that brings back the ambiguities these encodings were designed to avoid. > All the necessary MIME information is still there, part of it before > EOOH, part of it after. Yes, all information is there, but the structure is not. The structure is broken. There is no MIME message anymore. It is not a good idea to make such drastic changes to the message as it is saved on disk. They should be done as part of displaying the message, when the user selects it. The results can be cached to make moving between messages faster, if that's desirable.