From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christoph Scholtes Newsgroups: gmane.emacs.devel Subject: Re: Shell invoked via shell-file-name Date: Sun, 10 Apr 2011 21:29:35 -0600 Message-ID: <4DA2759F.1060604@gmail.com> References: <86lizkqez2.fsf@gmail.com> <8339lrtmxy.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1302492598 9383 80.91.229.12 (11 Apr 2011 03:29:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 11 Apr 2011 03:29:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Apr 11 05:29:54 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q97p2-0003DP-0T for ged-emacs-devel@m.gmane.org; Mon, 11 Apr 2011 05:29:52 +0200 Original-Received: from localhost ([127.0.0.1]:33704 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q97p1-00089s-Fw for ged-emacs-devel@m.gmane.org; Sun, 10 Apr 2011 23:29:51 -0400 Original-Received: from [140.186.70.92] (port=55878 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q97ow-00089b-C0 for emacs-devel@gnu.org; Sun, 10 Apr 2011 23:29:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q97ov-0001DO-Kn for emacs-devel@gnu.org; Sun, 10 Apr 2011 23:29:46 -0400 Original-Received: from mail-yw0-f41.google.com ([209.85.213.41]:33595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q97ou-0001CB-7t; Sun, 10 Apr 2011 23:29:44 -0400 Original-Received: by yws5 with SMTP id 5so2545391yws.0 for ; Sun, 10 Apr 2011 20:29:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=v5V0B9FOA6qTrIadh7xnEIvqICkphxzHgt6yCBUuuXY=; b=cqBn+y3rMzXwkN0y8knzv240CfH+A0APPP5YO5X1GaantMZYFzER2jj/UPk2fisKxm PS149PAKnas8qEmi3DyPiLclTyh9CMoere9PNC3XZqeDYOShuzGi5zuChbYOseHFpkzj E9YNzniWUU37jWv2GruhPGVJgttO5nzI/GUDQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=e9to/e3fzon9xv5wUfZPM71Zf7pLp5BWrLWKc6j5xG+bHv12eolCrZv/vNVZy74M87 MGeg0tjyUulattmx3SwBc5KkaxwONMAD4xJvlQCTk/zmeinXacUX4Sb4fDQe5+Z/A7Po 88CZsXIaQwgIWqA3V8nOe3n/FEfXppijqhGHA= Original-Received: by 10.236.186.2 with SMTP id v2mr6097204yhm.154.1302492582183; Sun, 10 Apr 2011 20:29:42 -0700 (PDT) Original-Received: from [192.168.1.3] (70-59-0-207.hlrn.qwest.net [70.59.0.207]) by mx.google.com with ESMTPS id l29sm2345194yhn.32.2011.04.10.20.29.38 (version=SSLv3 cipher=OTHER); Sun, 10 Apr 2011 20:29:41 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 In-Reply-To: <8339lrtmxy.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.213.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:138369 Archived-At: On 4/9/2011 10:21 AM, Eli Zaretskii wrote: >> Is there a way to invoke a shell via `shell-file-name' with additional >> command line parameters? > > I don't know. Did you try setting shell-command-switch to "-lc"? That seems to work. Thanks. >> I am trying to use cygwin for certain things on a Windows system, for >> example mercurial, ruby or ack. > > Why are trying this with Cygwin? There are native Windows ports of > Mercurial and Perl. AFAIK, the Windows port of Mercurial comes with > hg.exe, produced by Py2exe. I know about the native ports. I wanted to try the Cygwin way, though. > Perhaps we could teach cmdproxy about the shebang syntax of Unix > scripts. The Windows port of Make already knows about that. By Windows port of Make you mean mingw32-make? Christoph