From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/43565 Path: quimby.gnus.org!not-for-mail From: Reiner Steib <4uce.02.r.steib@gmx.net> Newsgroups: gmane.emacs.gnus.general Subject: Re: application/emacs-lisp vs. application/x-emacs-lisp Date: Wed, 20 Feb 2002 20:22:16 +0100 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: <2neljg47sb.fsf@zsh.cs.rochester.edu> Reply-To: reiner.steib@gmx.de NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: quimby2.netfonds.no 1014233313 28541 195.204.10.66 (20 Feb 2002 19:28:33 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 20 Feb 2002 19:28:33 GMT Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16dcPn-0007QA-00; Wed, 20 Feb 2002 20:28:31 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16dcKG-00085R-00; Wed, 20 Feb 2002 13:22:48 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 20 Feb 2002 13:22:48 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id NAA23389 for ; Wed, 20 Feb 2002 13:22:35 -0600 (CST) Original-Received: (qmail 15961 invoked by alias); 20 Feb 2002 19:22:29 -0000 Original-Received: (qmail 15956 invoked from network); 20 Feb 2002 19:22:29 -0000 Original-Received: from ingebrigtsen.no (HELO quimby2.netfonds.no) (195.204.10.66) by gnus.org with SMTP; 20 Feb 2002 19:22:29 -0000 Original-Received: from news by quimby2.netfonds.no with local (Exim 3.12 #1 (Debian)) id 16dcKU-0007MG-00 for ; Wed, 20 Feb 2002 20:23:02 +0100 Original-To: ding@gnus.org Original-Path: theotp5.physik.uni-ulm.de!nobody Original-Newsgroups: gnus.ding Original-Lines: 86 Original-NNTP-Posting-Host: theotp5.physik.uni-ulm.de Original-X-Trace: quimby2.netfonds.no 1014232982 28287 134.60.10.145 (20 Feb 2002 19:23:02 GMT) Original-X-Complaints-To: usenet@quimby2.netfonds.no Original-NNTP-Posting-Date: 20 Feb 2002 19:23:02 GMT X-Face: 1;h7XMU[7l}$T@J.D}5z*w8Tg'}B5ArAWc8>2X~otB;kOjKs8X%|hTC#dG:%Vpx")x7S/`v :VXU#fZW$X$zdhEU.RfVQ@<-m9IuN{Hm"fW{,5]6kR'M*vEs+{5Cj!L(JTRzA$(},?5J=sm;%Od Reiner Steib <4uce.02.r.steib@gmx.net> writes: >> shouldn't the MIME types "application/emacs-lisp" and >> "application/x-emacs-lisp" be handled in the same way by default? >> Using the default settings with GNU Emacs 21.1.1 & Gnus from CVS, >> emacs-lisp [1] is displayed inline, x-emacs-lisp not [2]. > Fixed. not for me. You added "application/x-emacs-lisp" to `mm-inlined-types', right? Apparently this is not sufficient. Know, after I changed `mm-automatic-display' too, it works: --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=mm-decode.patch Content-Description: changed mm-automatic-display in mm-decode.el Index: mm-decode.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/mm-decode.el,v retrieving revision 6.71 diff -u -r6.71 mm-decode.el --- mm-decode.el 2002/02/20 13:04:54 6.71 +++ mm-decode.el 2002/02/20 19:09:45 @@ -254,7 +254,8 @@ '("text/plain" "text/enriched" "text/richtext" "text/html" "text/x-vcard" "image/.*" "message/delivery-status" "multipart/.*" "message/rfc822" "text/x-patch" "application/pgp-signature" - "application/emacs-lisp" "application/x-pkcs7-signature" + "application/emacs-lisp" "application/x-emacs-lisp" + "application/x-pkcs7-signature" "application/pkcs7-signature" "application/x-pkcs7-mime" "application/pkcs7-mime") "A list of MIME types to be displayed automatically." --=-=-= Maybe the doc strings for `mm-inlined-types' and `mm-automatic-display' aren't so clear. Shouldn't `mm-automatic-display' be mentioned in the doc string of `mm-inlined-types' (or vice versa)? I also added an entry for "x-emacs-lisp" in `mailcap-mime-data' in mailcap.el (Not necessary for this but maybe reasonable?): --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=mailcap.patch Content-Description: changed mailcap-mime-data in mailcap.el Index: mailcap.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/mailcap.el,v retrieving revision 6.11 diff -u -r6.11 mailcap.el --- mailcap.el 2002/02/20 00:15:32 6.11 +++ mailcap.el 2002/02/20 19:09:25 @@ -87,6 +87,9 @@ ("emacs-lisp" (viewer . mailcap-maybe-eval) (type . "application/emacs-lisp")) + ("x-emacs-lisp" + (viewer . mailcap-maybe-eval) + (type . "application/x-emacs-lisp")) ("x-tar" (viewer . mailcap-save-binary-file) (non-viewer . t) --=-=-= Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/ --=-=-=--