From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/29522 Path: main.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Fran=E7ois_Pinard?= Newsgroups: gmane.emacs.gnus.general Subject: Re: Adding MIME viewer to variable instead of .mailcap Date: 14 Mar 2000 18:21:25 -0500 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: 8bit X-Trace: main.gmane.org 1035166177 3204 80.91.224.250 (21 Oct 2002 02:09:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 02:09:37 +0000 (UTC) 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 711AED051F for ; Tue, 14 Mar 2000 18:42:58 -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 RAB19131; Tue, 14 Mar 2000 17:42:35 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 14 Mar 2000 17:41:48 -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 RAA02521 for ; Tue, 14 Mar 2000 17:41:37 -0600 (CST) Original-Received: from ariel.progiciels-bpi.ca (ariel.grics.qc.ca [199.84.132.74]) by mailhost.sclp.com (Postfix) with ESMTP id 9D457D051E for ; Tue, 14 Mar 2000 18:41:49 -0500 (EST) Original-Received: by ariel.progiciels-bpi.ca (Postfix, from userid 3) id BB3D9C18E; Wed, 15 Mar 2000 02:42:54 +0000 (GMT) Original-Received: from titan.progiciels-bpi.ca.progiciels-bpi.ca (unknown [199.84.132.86]) by icule.progiciels-bpi.ca (Postfix) with ESMTP id 906A4309B; Tue, 14 Mar 2000 18:21:22 -0500 (EST) Original-To: ding@gnus.org X-Face: "b_m|CE6#'Q8fliQrwHl9K,]PA_o'*S~Dva{~b1n*)K*A(BIwQW.:LY?t4~xhYka_.LV?Qq `}X|71X0ea&H]9Dsk!`kxBXlG;q$mLfv_vtaHK_rHFKu]4'<*LWCyUe@ZcI6"*wB5M@[m écrit: > Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes: > > Ah. The easiest solution seems to be to put (setenv "EMACS_RUNNING" > > "1") in the ~/.emacs file and then test this environment variable. > Maybe thats the easiest, but I was looking for this variable. I know it > exists becourse someone here adviced me to use it in a discussion here > on the list last autumn. If it does not exists anymore, then I will use > RFC 1524, but until then... Doesn't *anyone* know if such a variable > exists or not? This is only mildly related to your question, but I think Emacs defines the environment variable EMACS to `t' at least within the shell spawn through `M-x shell'. I'm using EMACS from login to hold the path to the Emacs executable I want, and Emacs was overriding the value with `t', breaking some later scripts called from within Emacs. After I reported the problem, Richard told me he was to leave the variable undisturbed if it already existed (if I remember correctly, this was a while ago). -- François Pinard http://www.iro.umontreal.ca/~pinard