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: Rmail-mbox branch Date: Mon, 01 Sep 2008 22:19:03 +0300 Message-ID: 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> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1220296782 27074 80.91.229.12 (1 Sep 2008 19:19:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Sep 2008 19:19:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: Evil Boris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 01 21:20:36 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 1KaEx0-0005L6-JS for ged-emacs-devel@m.gmane.org; Mon, 01 Sep 2008 21:20:34 +0200 Original-Received: from localhost ([127.0.0.1]:36543 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaEw1-0005DT-JN for ged-emacs-devel@m.gmane.org; Mon, 01 Sep 2008 15:19:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KaEvx-0005DM-RX for emacs-devel@gnu.org; Mon, 01 Sep 2008 15:19:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KaEvw-0005D3-J5 for emacs-devel@gnu.org; Mon, 01 Sep 2008 15:19:29 -0400 Original-Received: from [199.232.76.173] (port=39298 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KaEvw-0005Cw-F8 for emacs-devel@gnu.org; Mon, 01 Sep 2008 15:19:28 -0400 Original-Received: from mtaout4.012.net.il ([84.95.2.10]:30873) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KaEvv-0005RO-LQ for emacs-devel@gnu.org; Mon, 01 Sep 2008 15:19:28 -0400 Original-Received: from HOME-C4E4A596F7 ([84.229.211.50]) by i_mtaout4.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K6J00D6L70VSR12@i_mtaout4.012.net.il> for emacs-devel@gnu.org; Mon, 01 Sep 2008 22:19:44 +0300 (IDT) In-reply-to: <84abesum0g.fsf@boris.laptop> X-012-Sender: halo1@inter.net.il X-detected-kernel: 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:103385 Archived-At: > From: Evil Boris > Date: Mon, 01 Sep 2008 07:46:23 -0400 > > I guess in absense of such support (and hoping etach or equivalent will > magically support mbox format :-), my main concern would be handling of > different character sets (Unicode, ISO-8859-x, KOI8-R, are most popular) > in plain text msgs, so that I can see the text without jumping through > hoops. I don't see why the mbox branch would support this any worse than the trunk. The decoding stuff is pretty much stable and well understood, after so many releases. > PS. Reading a multipart/alternative email with a text/plain component > encoded in quoted-printable [in a non-latin-based character set] or > base64 is currently a pain, as I have to detach and then play around > with decoding the character set in the raw RMAIL file... ??? For me, it's as easy as . Type 'e' to make the message editable . Make region around the attachment . For base64-encoded attachments: M-x base64-decode-region RET . For quoted-printable: M-: (mail-unquote-printable-region (mark) (point) nil nil t) RET . C-c (to exit rmail-edit) . M-x rmail-redecode-body RET CHARSET-NAME RET where CHARSET-NAME is whatever appears in the charset= header of the attachment, if different from US-ASCII. (Of course, the above are just the primitives; wrapping them with a single command is left as an exercise for the interested readers.)