From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Rogers Newsgroups: gmane.emacs.devel Subject: Re: improve rmail's MIME handling Date: Tue, 30 Nov 2010 01:21:34 -0500 Message-ID: <19700.38894.930044.280165@rgr.rgrjr.com> References: <83r5e874ab.fsf@gnu.org> <19699.7405.907052.380667@rgr.rgrjr.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1291192718 24866 80.91.229.12 (1 Dec 2010 08:38:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Dec 2010 08:38:38 +0000 (UTC) Cc: eliz@gnu.org, monnier@IRO.UMontreal.CA, emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 01 09:38:34 2010 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.69) (envelope-from ) id 1PNiCt-00059N-So for ged-emacs-devel@m.gmane.org; Wed, 01 Dec 2010 09:38:32 +0100 Original-Received: from localhost ([127.0.0.1]:39540 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNiCt-0000cr-8A for ged-emacs-devel@m.gmane.org; Wed, 01 Dec 2010 03:38:31 -0500 Original-Received: from [140.186.70.92] (port=50656 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PNfaf-0008Cq-AS for emacs-devel@gnu.org; Wed, 01 Dec 2010 00:51:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PNJar-0002Cv-9V for emacs-devel@gnu.org; Tue, 30 Nov 2010 01:21:38 -0500 Original-Received: from rgrjr.com ([216.146.47.5]:59255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PNJar-0002Ch-5j for emacs-devel@gnu.org; Tue, 30 Nov 2010 01:21:37 -0500 Original-Received: from rgrjr.dyndns.org (c-66-30-196-77.hsd1.ma.comcast.net [66.30.196.77]) by rgrjr.com (Postfix on CentOS) with ESMTP id E0F9716015D for ; Tue, 30 Nov 2010 06:21:35 +0000 (UTC) Original-Received: (qmail 12427 invoked by uid 89); 30 Nov 2010 06:21:35 -0000 Original-Received: from unknown (HELO rgr.rgrjr.com) (192.168.57.1) by home with SMTP; 30 Nov 2010 06:21:35 -0000 Original-Received: by rgr.rgrjr.com (Postfix, from userid 500) id 309AFA4E90; Tue, 30 Nov 2010 01:21:35 -0500 (EST) In-Reply-To: X-Mailer: VM 7.19 under Emacs 24.0.50.2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:133259 Archived-At: From: Kenichi Handa Date: Mon, 29 Nov 2010 15:38:27 +0900 In article <19699.7405.907052.380667@rgr.rgrjr.com>, Bob Rogers writes: [...] > In RMAIL, as `g' is for getting new mails, it can't be used > for toggling the MIME handling. In Gnus it seems C-u C-u g > also toggles headers. So one idea is to use `t' in RMAIL to > toggle MIME handling too. But, in RMAIL, `t' still decodes > subect, etc. according to RFC2047 . . . > FWIW, the VM mail reader (which also uses "g" to get mail and "t" to > toggle headers) uses "D", for "decode MIME". Does "D" just decode MIME instead of togging the decoding and undecoding of MIME? Does VM decode encoded-words of headers only when "D" is typed? --- Kenichi Handa handa@m17n.org It's a toggle; here is the start of the doc string for vm-decode-mime-message: Decode the MIME objects in the current message. The first time this command is run on a message, decoding is done. The second time, buttons for all the objects are displayed instead. The third time, the raw, undecoded data is displayed. If decoding, the decoded objects might be displayed immediately, or buttons might be displayed that you need to activate to view the object. See the documentation for the variables vm-auto-displayed-mime-content-types vm-auto-displayed-mime-content-type-exceptions vm-mime-internal-content-types vm-mime-internal-content-type-exceptions vm-mime-external-content-types-alist to see how to control whether you see buttons or objects. Headers in the message display seem to be decoded at the same time (headers in the summary buffer are apparently decoded by a separate mechanism). And messages are initially decoded by default. -- Bob