From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/29468 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai=?iso-8859-1?q?_Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Adding MIME viewer to variable instead of .mailcap Date: 09 Mar 2000 15:08:35 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035166133 2894 80.91.224.250 (21 Oct 2002 02:08:53 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:08:53 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id AE819D051E for ; Thu, 9 Mar 2000 09:11:26 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id IAB07650; Thu, 9 Mar 2000 08:11:19 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 09 Mar 2000 08:10:38 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id IAA23651 for ; Thu, 9 Mar 2000 08:10:26 -0600 (CST) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by mailhost.sclp.com (Postfix) with ESMTP id 18346D051E for ; Thu, 9 Mar 2000 09:10:36 -0500 (EST) Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id PAA19802; Thu, 9 Mar 2000 15:08:36 +0100 (MET) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id PAA08516; Thu, 9 Mar 2000 15:08:35 +0100 (MET) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-6) id PAA13844; Thu, 9 Mar 2000 15:08:35 +0100 X-Authentication-Warning: lucy.cs.uni-dortmund.de: grossjoh set sender to Kai.Grossjohann@CS.Uni-Dortmund.DE using -f Original-To: Steinar Bang In-Reply-To: Steinar Bang's message of "09 Mar 2000 14:14:09 +0100" Original-Lines: 19 User-Agent: Gnus/5.0804 (Gnus v5.8.4) Emacs/20.5 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:29468 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:29468 Steinar Bang writes: > >>>>> Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann): >=20 > > I think it is possible to add a test in .mailcap -- you only need to > > find out what is the syntax and what is a test that passes in Gnus = but > > fails in Netscape. >=20 > > Anyone? >=20 > The format is defined/suggested in RFC 1524: > http://www.ietf.org/rfc/rfc1524.txt Ah. The easiest solution seems to be to put (setenv "EMACS_RUNNING" "1") in the ~/.emacs file and then test this environment variable. kai --=20 ~/.signature: No such file or directory