From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Triska Newsgroups: gmane.emacs.help Subject: Re: $EMACS, used to be set to "t", now it's set to the path of the emacs binary? Date: Sun, 26 Nov 2006 15:10:36 +0100 Message-ID: <87y7pypacj.fsf@gmx.at> References: <1164539157.973085.297010@j44g2000cwa.googlegroups.com> <1164545947.433410.204590@l39g2000cwd.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1164552064 1364 80.91.229.2 (26 Nov 2006 14:41:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 26 Nov 2006 14:41:04 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 26 15:41:00 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GoLBd-00056Q-E8 for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Nov 2006 15:40:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GoLBc-0003CO-W2 for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Nov 2006 09:40:53 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!news2.volia.net!newsfeed.utanet.at!newsfeed2.utanet.at!newscore.univie.ac.at!aconews-feed.univie.ac.at!aconews.univie.ac.at!not-for-mail Original-Newsgroups: gnu.emacs.help Cancel-Lock: sha1:BLTlNwsX9dHiSrwleFUdIkhXHHI= Original-Lines: 13 Original-NNTP-Posting-Host: news-access-from.tuwien.ac.at Original-X-Trace: 1164550185 tunews.univie.ac.at 11094 192.35.241.118 Original-X-Complaints-To: abuse@tuwien.ac.at Original-Xref: shelby.stanford.edu gnu.emacs.help:143402 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:39019 Archived-At: "Eric Lilja" writes: > >> I changed my .bashrc to if [ "$EMACS" != "" ] and that seems to work. >> Is there a better way? > > Anyway, this check seems to work just fine. Yes, that's quite robust. The change is reverted in CVS, and a new variable, INSIDE_EMACS (set to "t" in comint-mode) is introduced. All the best, Markus Triska