From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: 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:40:51 -0500 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1158010919 30741 80.91.229.2 (11 Sep 2006 21:41:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 11 Sep 2006 21:41:59 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, gnuplot-bugs@lists.sourceforge.net, bug-autoconf@gnu.org, rms@gnu.org, Don.Bashford@stjude.org Original-X-From: bug-autoconf-bounces+gnu-bug-autoconf=m.gmane.org@gnu.org Mon Sep 11 23:41:57 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 1GMtXG-0001x3-JG for gnu-bug-autoconf@m.gmane.org; Mon, 11 Sep 2006 23:41:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GMtXG-0007Uc-2U for gnu-bug-autoconf@m.gmane.org; Mon, 11 Sep 2006 17:41:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GMtXB-0007Tw-LN for bug-autoconf@gnu.org; Mon, 11 Sep 2006 17:41:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GMtXA-0007Th-5f for bug-autoconf@gnu.org; Mon, 11 Sep 2006 17:41:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GMtXA-0007Te-19; Mon, 11 Sep 2006 17:41:40 -0400 Original-Received: from [192.55.208.21] (helo=mgate2.stjude.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GMtYV-0007mN-8a; Mon, 11 Sep 2006 17:43:03 -0400 X-SEF-Processed: 5_0_0_910__2006_09_11_16_41_38 X-SEF-SJMEMMS3: 1 Original-To: chet.ramey@case.edu In-Reply-To: <060911205509.AA17674.SM@caleb.ins.cwru.edu> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 Emacs/21.3 (i386-redhat-linux-gnu) MULE/5.0 (SAKAKI) X-OriginalArrivalTime: 11 Sep 2006 21:41:33.0597 (UTC) FILETIME=[0CD53CD0:01C6D5EB] 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:5228 gmane.emacs.bugs:15319 gmane.comp.graphics.gnuplot.bugs:718 Archived-At: >>>>> "Chet" == Chet Ramey writes: Chet> Bash does inspect the EMACS environment variable as part of Chet> checking whether or not to turn off line editing even when Chet> the shell is interactive. It also checks for TERM==emacs. Chet> If the shell discovers it's running in an emacs buffer, it Chet> turns off readline. Maybe emacs should be in charge of turning readline off directly instead expecting the shell to check envars to deal with special cases. For example, emacs could send the shell something like "shopt -u -o emacs; shopt -u -o vi". Then emacs could leave EMACS alone. It might also be a good idea for AC_CHECK_COMMAND to at least give a warning if shell variables have crazy-seeming values like "t", "0" or "1". Better yet, when envars try to override command names it could check whether the the command really exists. Or, PROG=enval AC_CHECK_COMMAND(PROG, foo bar ...) --> AC_CHECK_COMMAND(PROG, enval foo bar ...) -Don