From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chet Ramey Newsgroups: gmane.comp.sysutils.autoconf.bugs,gmane.emacs.bugs,gmane.comp.graphics.gnuplot.bugs Subject: Re: emacs Shell mode vs AC_CHECK_PROG(EMACS, ...) Date: Mon, 11 Sep 2006 16:55:09 -0400 Message-ID: <060911205509.AA17674.SM@caleb.ins.cwru.edu> References: Reply-To: chet.ramey@case.edu NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1158008419 22323 80.91.229.2 (11 Sep 2006 21:00:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Sep 2006 21:00:19 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, gnuplot-bugs@lists.sourceforge.net, bug-autoconf@gnu.org, Don.Bashford@stjude.org, chet.ramey@case.edu Original-X-From: bug-autoconf-bounces+gnu-bug-autoconf=m.gmane.org@gnu.org Mon Sep 11 23:00:13 2006 Return-path: Envelope-to: gnu-bug-autoconf@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GMssx-0002Pp-PF for gnu-bug-autoconf@m.gmane.org; Mon, 11 Sep 2006 23:00:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GMssx-0008Ou-E7 for gnu-bug-autoconf@m.gmane.org; Mon, 11 Sep 2006 17:00:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GMssa-0007ym-9f for bug-autoconf@gnu.org; Mon, 11 Sep 2006 16:59:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GMssZ-0007y5-La for bug-autoconf@gnu.org; Mon, 11 Sep 2006 16:59:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GMssZ-0007xr-Cy; Mon, 11 Sep 2006 16:59:43 -0400 Original-Received: from [129.22.105.35] (helo=mpv3.TIS.cwru.edu) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1GMsts-0003yn-TS; Mon, 11 Sep 2006 17:01:05 -0400 Original-Received: from caleb.ins.cwru.edu (caleb.INS.CWRU.Edu [129.22.8.211]) by mpv3.TIS.cwru.edu (MOS 3.7.5-GA) with SMTP id BES07264; Mon, 11 Sep 2006 16:59:39 -0400 (EDT) Original-To: rms@gnu.org In-Reply-To: Message from rms@gnu.org of Mon, 11 Sep 2006 15:57:59 -0400 (id ) Read-Receipt-To: chet.ramey@case.edu X-BeenThere: bug-autoconf@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports for autoconf List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-autoconf-bounces+gnu-bug-autoconf=m.gmane.org@gnu.org Errors-To: bug-autoconf-bounces+gnu-bug-autoconf=m.gmane.org@gnu.org Xref: news.gmane.org gmane.comp.sysutils.autoconf.bugs:5226 gmane.emacs.bugs:15317 gmane.comp.graphics.gnuplot.bugs:715 Archived-At: > For a short-term correction, I think the easiest way is to change > Autoconf to ignore a value of `t' for this environment variable. > Autoconf maintainers, what do you think? > > For longer term, perhaps the best thing is to change Emacs to use a > different environment variable. Alas, I don't remember what software > checks that environment variable, or the motive for binding it. > > Is it Bash? I have cc'd the Bash maintainer so he can answer. Bash does inspect the EMACS environment variable as part of checking whether or not to turn off line editing even when the shell is interactive. It also checks for TERM==emacs. If the shell discovers it's running in an emacs buffer, it turns off readline. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Live Strong. Chet Ramey, ITS, CWRU chet@case.edu http://tiswww.tis.case.edu/~chet/