From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: no-spam@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.bugs,gmane.comp.graphics.gnuplot.bugs,gmane.comp.sysutils.autoconf.bugs Subject: Re: emacs Shell mode vs AC_CHECK_PROG(EMACS, ...) Date: Thu, 14 Sep 2006 00:10:56 +0200 Message-ID: References: <874pvbj2bf.fsf@catnip.gol.com> <060913171219.AA23213.SM@caleb.ins.cwru.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1158228375 14985 80.91.229.2 (14 Sep 2006 10:06:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Sep 2006 10:06:15 +0000 (UTC) Cc: rms@gnu.org, Don.Bashford@stjude.org, bug-gnu-emacs@gnu.org, gnuplot-bugs@lists.sourceforge.net, bug-autoconf@gnu.org, miles@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 14 12:06:11 2006 Return-path: Envelope-to: geb-bug-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 1GNo6U-0001Hy-KQ for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Sep 2006 12:05:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNo6U-00034x-6A for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Sep 2006 06:05:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GNcxn-0004vH-Ox for bug-gnu-emacs@gnu.org; Wed, 13 Sep 2006 18:12:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GNcxm-0004th-I0 for bug-gnu-emacs@gnu.org; Wed, 13 Sep 2006 18:12:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GNcxj-0004oR-G5; Wed, 13 Sep 2006 18:12:07 -0400 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GNczV-0006Oz-3H; Wed, 13 Sep 2006 18:13:57 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepb.post.tele.dk (Postfix) with SMTP id 5CA58A50004; Thu, 14 Sep 2006 00:11:56 +0200 (CEST) Original-To: chet.ramey@case.edu In-Reply-To: <060913171219.AA23213.SM@caleb.ins.cwru.edu> (Chet Ramey's message of "Wed\, 13 Sep 2006 13\:12\:19 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Mailman-Approved-At: Thu, 14 Sep 2006 06:05:52 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15326 gmane.comp.graphics.gnuplot.bugs:724 gmane.comp.sysutils.autoconf.bugs:5237 Archived-At: Chet Ramey writes: >> writes: >> >For example, emacs could send the shell something like "shopt >> > -u -o emacs; shopt -u -o vi". Then emacs could leave EMACS alone. >> >> Stuffing input to a subshell like that is in general not something you >> can do reliably. > > Yeah, that's dicy, but you don't have to do it. Just invoke the shell > with the `--noediting' option. CVS emacs already uses --noediting -i for bash (see variable explicit-bash-args). -- Kim F. Storm http://www.cua.dk