From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Alexander Pohoyda" Newsgroups: gmane.emacs.devel Subject: Re: RMAIL, MIME-related bug Date: Thu, 16 Oct 2003 09:41:26 +0200 (MEST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <14020.1066290086@www64.gmx.net> References: <7137-Thu16Oct2003085921+0200-eliz@elta.co.il> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1066290272 17218 80.91.224.253 (16 Oct 2003 07:44:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2003 07:44:32 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Oct 16 09:44:30 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 1AA2oA-0007KX-00 for ; Thu, 16 Oct 2003 09:44:30 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AA2o9-0004sC-00 for ; Thu, 16 Oct 2003 09:44:29 +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 1AA2nJ-0006a7-5q for emacs-devel@quimby.gnus.org; Thu, 16 Oct 2003 03:43:37 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AA2mL-0006Lv-38 for emacs-devel@gnu.org; Thu, 16 Oct 2003 03:42:37 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AA2lj-00061a-1S for emacs-devel@gnu.org; Thu, 16 Oct 2003 03:42:31 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.24) id 1AA2la-0005xo-Dv for emacs-devel@gnu.org; Thu, 16 Oct 2003 03:41:50 -0400 Original-Received: (qmail 11719 invoked by uid 0); 16 Oct 2003 07:41:26 -0000 Original-Received: from 194.39.131.39 by www64.gmx.net with HTTP; Thu, 16 Oct 2003 09:41:26 +0200 (MEST) Original-To: Eli Zaretskii X-Priority: 3 (Normal) X-Authenticated: #14602519 X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 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:17135 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17135 > > Granted, we can delete boundaries and header field we don't want to > > see, but what to do with big bodyparts like attached images? > > We could replace them with some icon, and give the user a way to > decode and display them with some key binding. Replace on the screen, not changing the content of the mail, right? That's what I would like to do. The problem is that we have to do this after the mail is reformated, but there is no valid MIME message after the rmail-reformat-message call: the message is broken into two parts by the EOOH marker. To be able to MIME-parse it, I have to glue the message back and delete the "simplified" header in between. > > Also, please note that if we delete any MIME-related information, we > > will not be able to parse the message again later. > > You don't need to delete it, just to hide it. RMAIL already hides > some headers, so the same machinery could be used here. If you mean rmail-clear-headers function, then it does not hide headers, but deletes them. That's what I'm trying to hear in this discussion. Can't we just hide header fields instead of creating another "simplified" header in between of the message and thus braking it? -- Alexander Pohoyda PGP Key fingerprint: 7F C9 CC 5A 75 CD 89 72 15 54 5F 62 20 23 C6 44