From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Rmail-mbox branch Date: Thu, 04 Sep 2008 09:58:24 -0400 Message-ID: References: <87zlprvod0.fsf@stupidchicken.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> <87od363q1i.fsf@uwakimon.sk.tsukuba.ac.jp> <87iqtd4ubu.fsf@uwakimon.sk.tsukuba.ac.jp> <877i9s4pf5.fsf@uwakimon.sk.tsukuba.ac.jp> <48BF884D.7020605@pajato.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1220536752 13643 80.91.229.12 (4 Sep 2008 13:59:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Sep 2008 13:59:12 +0000 (UTC) Cc: "Stephen J. Turnbull" , emacs-devel@gnu.org, rms@gnu.org, evilborisnet@netscape.net To: Paul Michael Reilly Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 04 16:00:06 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 1KbFNJ-00057e-PQ for ged-emacs-devel@m.gmane.org; Thu, 04 Sep 2008 15:59:54 +0200 Original-Received: from localhost ([127.0.0.1]:42966 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbFMF-0005YJ-JO for ged-emacs-devel@m.gmane.org; Thu, 04 Sep 2008 09:58:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KbFMB-0005Vz-Rj for emacs-devel@gnu.org; Thu, 04 Sep 2008 09:58:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KbFM8-0005MZ-8E for emacs-devel@gnu.org; Thu, 04 Sep 2008 09:58:43 -0400 Original-Received: from [199.232.76.173] (port=47801 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KbFM7-0005MC-W2 for emacs-devel@gnu.org; Thu, 04 Sep 2008 09:58:40 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:15358 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KbFLu-0000Qe-Kf; Thu, 04 Sep 2008 09:58:26 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai8FAL+Gv0hFxJRU/2dsb2JhbACBZrZAgWeBBg X-IronPort-AV: E=Sophos;i="4.32,320,1217822400"; d="scan'208";a="26343848" Original-Received: from 69-196-148-84.dsl.teksavvy.com (HELO ceviche.home) ([69.196.148.84]) by ironport2-out.teksavvy.com with ESMTP; 04 Sep 2008 09:58:25 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id AEE70B405D; Thu, 4 Sep 2008 09:58:24 -0400 (EDT) In-Reply-To: <48BF884D.7020605@pajato.com> (Paul Michael Reilly's message of "Thu, 04 Sep 2008 03:03:41 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:103533 Archived-At: >> > The alternative would be to simply declare that Rmail/mbox will *only* >> > handle multipart and text/plain media, and ignore all the rest. But >> > that seems a shame when Emacs is quite capable of handling a wide >> > variety of media types, including text/html, text/rich-text, image, >> > audio, and even video (at least with the help of external players). >> > > I am still lost. You seem to allude to some difference between >> > text/plain and text/html which I am not aware of. >> >> It's the same difference as between text/plain and any of the other >> media types mentioned: you will cannot preserve all the information in >> a text/html part while saving it in mbox format. >> >> Rmail/mbox must be prepared to decode a message each time it is >> presented. > I think that we are saying that the Rmail/mbox message presentation > buffer should decode as much of the MIME pieces as it can. The task > here is to make the Rmail/mime contributions a first class part of > Rmail. The developer with the initials "as" started that ball rolling > with (p/r)mailmm.el which is apparently based on Alexander Pohoyda's > work. This is the direction I plan to take. Comments? I think that Pmail's MIME support should first limit itself to the small subset supported by Rmail. Afterwards, it'd probably be good to try and make it use Gnus's code (which IIUC is also used y MH-E, so you may want to talk to the MH-E guy(s) to figure out how that worked). BTW, as for how to handle the issue of "the current buffer is the mbox file buffer but I want to display something else in it", you may want to use the new buffer-swap-text primitive (currently only used in tar-mode where the same problem appears). Stefan