From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/2307 Path: news.gmane.org!not-for-mail From: Arne =?iso-8859-1?q?J=F8rgensen?= Newsgroups: gmane.emacs.gnus.user Subject: Re: multiple mailcap entries Date: Mon, 14 Apr 2003 08:38:34 +0200 Organization: Department of Computer Science, University of Aarhus Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1138668785 14683 80.91.229.2 (31 Jan 2006 00:53:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:53:05 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:30:29 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!uio.no!newsfeed1.uni2.dk!news.net.uni-c.dk!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: horse05.daimi.au.dk Original-X-Trace: news.net.uni-c.dk 1050302314 9236 130.225.18.245 (14 Apr 2003 06:38:34 GMT) Original-X-Complaints-To: usenet@news.net.uni-c.dk Original-NNTP-Posting-Date: Mon, 14 Apr 2003 06:38:34 +0000 (UTC) User-Agent: Gnus/5.090018 (Oort Gnus v0.18) Emacs/20.7 (gnu/linux) Cancel-Lock: sha1:apCiHx7qYqXo1oh4szk+D0Wu1vE= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:2447 Original-Lines: 33 X-Gnus-Article-Number: 2447 Tue Jan 17 17:30:29 2006 Xref: news.gmane.org gmane.emacs.gnus.user:2307 Archived-At: Jesper Harder writes: > I guess to fix the logic in mailcap.el to observe this order of priority > if mailcap.el specifies an internal command: > > ~/.mailcap > mailcap.el > /etc/mailcap > /usr/etc/mailcap > /usr/local/etc/mailcap > > but this order if the entry in mailcap.el is an external command: > > ~/.mailcap > /etc/mailcap > /usr/etc/mailcap > /usr/local/etc/mailcap > mailcap.el Why not invent a ~/.mailcap.el and put it at the beginning of the search path? That way it doesn't matter whether it is an internal or external command. If the command is specified in ~/.mailcap.el it is the command that is to run from emacs. Kind reagrds, -- stud. scient. Arne Jørgensen Kollegium 5, 2. v. 222, Universitetsparken, DK-8000 Aarhus C, Denmark phone: +45 89 42 72 22, mobile: +45 21 65 01 13 email: arne@daimi.au.dk,