From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: compilation-start without shell? Date: Fri, 24 Dec 2010 12:07:40 +0100 Message-ID: References: <83mxnveb0b.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1293188900 16591 80.91.229.12 (24 Dec 2010 11:08:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 24 Dec 2010 11:08:20 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 24 12:08:11 2010 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 1PW5VK-0001Li-WA for ged-emacs-devel@m.gmane.org; Fri, 24 Dec 2010 12:08:11 +0100 Original-Received: from localhost ([127.0.0.1]:39723 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PW5VK-0003WD-EF for ged-emacs-devel@m.gmane.org; Fri, 24 Dec 2010 06:08:10 -0500 Original-Received: from [140.186.70.92] (port=40750 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PW5VC-0003Vw-Er for emacs-devel@gnu.org; Fri, 24 Dec 2010 06:08:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PW5VB-0005LN-GI for emacs-devel@gnu.org; Fri, 24 Dec 2010 06:08:02 -0500 Original-Received: from mail-ey0-f169.google.com ([209.85.215.169]:34885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PW5VB-0005Kp-AK; Fri, 24 Dec 2010 06:08:01 -0500 Original-Received: by eyh6 with SMTP id 6so477077eyh.0 for ; Fri, 24 Dec 2010 03:08:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=1y9MhS5586btJ10z0VIMHu987Q4euOFEAfIdpuMn+KM=; b=u6ntl+ozislkoba3FNchViqXTifD5SOVV4qBua3hm75/QLrodSWwTrKfKf4lTgquHe RA3uQE8FchcRERW09fAGioCJ6SaGtRcvDwk1QHbpFheYglt7DuZYKoKzJkexnzPULEDL Va3h/fFEC9Zd9ZaVlVOBUPDlQlRUBXBbkgoGc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=woNq2cifGvAKHSUfKD6sT5kZDIvXUz9tB5TKvC3QTH5/0wtfuqlwhhDv20ogDBhbuH F268vAiSD3EupYLIZnTxFTrF17RyewYvQnjMNbSublXTKsVnt6IOeLm81uwRhYMHg8Fc 9T+aYNwAOQjwY+cHsBXOomiUl5rAJYj/LlO0w= Original-Received: by 10.213.30.1 with SMTP id s1mr7462125ebc.71.1293188880345; Fri, 24 Dec 2010 03:08:00 -0800 (PST) Original-Received: by 10.213.20.148 with HTTP; Fri, 24 Dec 2010 03:07:40 -0800 (PST) In-Reply-To: <83mxnveb0b.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:133939 Archived-At: On Fri, Dec 24, 2010 at 11:11 AM, Eli Zaretskii wrote: >> From: Lennart Borgman >> Date: Fri, 24 Dec 2010 04:43:14 +0100 >> >> Would it be possible to allow compilation start to not use a shell? >> >> With some programs it is quite hard to use a shell, at least on w32. > > Please describe this problem in more detail, and please give a couple > of examples. > > Not using a shell is one possible solution, but it's hard to reason > about its merits and demerits without knowing more about the > problem(s) you are trying to solve. I tried to get PowerShell scripts working from inside Emacs. That was quite tricky so I decided to try to bypass the cmd.exe shell by changing compilation-start the way I suggested. At least that made debugging a bit easier (though it did not work). Making the change I suggested can be useful. It is just a few lines changes. I can send a patch for it.