From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel Subject: application/x-patch MIME type used by Gnus? (was: Rant - Emacs mail is not user friendly) Date: Fri, 19 Dec 2014 18:22:53 +0100 Message-ID: <87ppbf8sgi.fsf_-_@marauder.physik.uni-ulm.de> References: <871tp4wut1.fsf@uwakimon.sk.tsukuba.ac.jp> <87mw7qvign.fsf@uwakimon.sk.tsukuba.ac.jp> <87bno5ulbu.fsf@uwakimon.sk.tsukuba.ac.jp> Reply-To: Reiner Steib NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1419009804 18178 80.91.229.3 (19 Dec 2014 17:23:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Dec 2014 17:23:24 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: stephen@xemacs.org (Stephen J. Turnbull) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 19 18:23:18 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y21Go-0005Rg-Cx for ged-emacs-devel@m.gmane.org; Fri, 19 Dec 2014 18:23:18 +0100 Original-Received: from localhost ([::1]:59913 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y21Gn-0000nX-HQ for ged-emacs-devel@m.gmane.org; Fri, 19 Dec 2014 12:23:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y21Gf-0000mk-7G for emacs-devel@gnu.org; Fri, 19 Dec 2014 12:23:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y21GZ-0004Pf-5J for emacs-devel@gnu.org; Fri, 19 Dec 2014 12:23:09 -0500 Original-Received: from mout.gmx.net ([212.227.15.15]:56022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y21GY-0004PZ-RH; Fri, 19 Dec 2014 12:23:03 -0500 Original-Received: from rqn17961lx ([84.168.157.142]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MOO6X-1Xwm4Z3cdZ-005uEi; Fri, 19 Dec 2014 18:22:55 +0100 In-Reply-To: <87bno5ulbu.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Tue, 18 Nov 2014 14:30:45 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Mail-Followup-To: "Stephen J. Turnbull" , rms@gnu.org, emacs-devel@gnu.org X-Face: P05mdcZT&lL[-s2=mw~RsllZ0zZAb?vdE}.s List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:180337 Archived-At: On Tue, Nov 18 2014, Stephen J. Turnbull wrote: > Richard Stallman writes: > > Has a specific flaw or bug been found? > > Aside from the application/x-patch MIME type used by Gnus, I know of > none. That one's mostly pedantic, as AFAIK noone proposes to do what > is implied by the "application" MIME type, namely, automatically apply > the patch. (There's no good reason for diffs sent by mail to be > anything but a "text" MIME type.) I cannot reproduce this. emacs -Q / M-x message-mail RET / C-c C-a /tmp/foo.patch RET results in type="text/x-diff" here. Maybe your /etc/mime.types specifies "application/x-patch"? The only match for "application/x-patch" in Gnus is this one, that only specifies the coding *if* the type is "application/x-patch": | grep -nH -e application/x-patch *.el | mm-encode.el:38: ("application/x-patch" qp-or-base64) Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/