From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#7651: 23.2.91; Rmail doesn't allow displaying text attachments conveniently Date: Thu, 16 Dec 2010 16:08:17 +0900 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1292484371 32380 80.91.229.12 (16 Dec 2010 07:26:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 16 Dec 2010 07:26:11 +0000 (UTC) Cc: 7651@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 16 08:26:07 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1PT8E1-0003ug-8k for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Dec 2010 08:26:05 +0100 Original-Received: from localhost ([127.0.0.1]:34639 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PT8E0-0003Pb-JH for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Dec 2010 02:26:04 -0500 Original-Received: from [140.186.70.92] (port=53849 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PT8D1-00030H-7w for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2010 02:25:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PT8Aj-0006Ax-Ug for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2010 02:22:54 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PT8Aj-0006Ak-SL for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2010 02:22:41 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PT7rh-0007u6-UC; Thu, 16 Dec 2010 02:03:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kenichi Handa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Dec 2010 07:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7651 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7651-submit@debbugs.gnu.org id=B7651.129248293130322 (code B ref 7651); Thu, 16 Dec 2010 07:03:01 +0000 Original-Received: (at 7651) by debbugs.gnu.org; 16 Dec 2010 07:02:11 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PT7qs-0007t1-Ih for submit@debbugs.gnu.org; Thu, 16 Dec 2010 02:02:10 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PT7qp-0007sS-CG for 7651@debbugs.gnu.org; Thu, 16 Dec 2010 02:02:08 -0500 Original-Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123]) by mx1.aist.go.jp with ESMTP id oBG78I1o025228; Thu, 16 Dec 2010 16:08:18 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp2.aist.go.jp by rqsmtp2.aist.go.jp with ESMTP id oBG78ISH014031; Thu, 16 Dec 2010 16:08:18 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp2.aist.go.jp with ESMTP id oBG78Hd3018140; Thu, 16 Dec 2010 16:08:17 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.71) (envelope-from ) id 1PT7wn-00015Q-Cb; Thu, 16 Dec 2010 16:08:17 +0900 In-Reply-To: (message from Eli Zaretskii on Thu, 16 Dec 2010 01:15:46 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 16 Dec 2010 02:03:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:42552 Archived-At: In article , Eli Zaretskii writes: > The new Rmail-MIME feature is nice, but it has some rough edges. One > of them is that I lost an easy way of displaying many text > attachments. > Specifically, it looks like we display text attachments by default, > but only if content-disposition is "inline". Maybe that's what the > various RFCs mandate, but why isn't there at least a button to display > the text (in the same or another buffer) if the user decides to do > that? I noticed this problem with the original rmail-mime behaviour too, and I'm now working on providing a convenient way. > Also, there's something strange in the way we treat text/x-patch > attachments as text. rmailmm.el has these 2 lines: > ("text/.*" rmail-mime-text-handler) > ("text/\\(x-\\)?patch" rmail-mime-bulk-handler) > which to my interpretation mean that the second line will never be > used, right? I didn't change that part from the original. And anyway, currently rmail-mime-media-type-handlers-alist is not used when rmail-enable-mime is t. That's because the API of the handler function is not usable for the new behavior, but we should not change it at this moment. I'm trying hard not to change the original hevaior of M-x rmail-mime. I hope I can commit related changes within this week. --- Kenichi Handa handa@m17n.org