From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Bug in shell.el: explicit-bash-args does not work for bash 1.x Date: 30 Oct 2002 22:32:37 +0100 Sender: emacs-devel-admin@gnu.org Message-ID: <5xpttry5my.fsf@kfs2.cua.dk> References: <5xn0p2mw3z.fsf@kfs2.cua.dk> <5x1y6cg2ff.fsf@kfs2.cua.dk> <200210282148.g9SLm2711909@rum.cs.yale.edu> <84ela9n15n.fsf@crybaby.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1036009940 7205 80.91.224.249 (30 Oct 2002 20:32:20 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 30 Oct 2002 20:32:20 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 186zVj-0001s4-00 for ; Wed, 30 Oct 2002 21:32:19 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 186zaz-0004UG-00 for ; Wed, 30 Oct 2002 21:37:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 186zWi-0001zt-00; Wed, 30 Oct 2002 15:33:20 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 186zW5-0001hV-00 for emacs-devel@gnu.org; Wed, 30 Oct 2002 15:32:41 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 186zW3-0001gg-00 for emacs-devel@gnu.org; Wed, 30 Oct 2002 15:32:40 -0500 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.10) id 186zW2-0001gY-00 for emacs-devel@gnu.org; Wed, 30 Oct 2002 15:32:39 -0500 Original-Received: from kfs2.cua.dk.cua.dk (unknown [10.1.82.3]) by mail.filanet.dk (Postfix) with SMTP id 71F7F7C019; Wed, 30 Oct 2002 20:32:37 +0000 (GMT) Original-To: kai.grossjohann@uni-duisburg.de (=?iso-8859-1?q?Kai_Gro=DFjohann?=) In-Reply-To: <84ela9n15n.fsf@crybaby.uni-duisburg.de> Original-Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8973 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8973 kai.grossjohann@uni-duisburg.de (Kai Gro=DFjohann) writes: > "Stefan Monnier" writes: >=20 > > I must say I don't like the idea of running a program when loadng > > a .el file. It's already done at various places, tho. >=20 > Yes. How about starting bash with one set of args, if that fails try > the other set of args? I think it's not much of a problem to start > bash twice instead of once (if the first try fails). It could be done, but as proposed, this requires special treatment of bash in M-x shell. Maybe we could have explicit-SHELL-args-2 which is an alternate set of args to use in case the shell fails to start with the args provided in explicit-SHELL-args. --=20 Kim F. Storm http://www.cua.dk