From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Wait for compile to finish Date: Thu, 20 Oct 2005 21:40:09 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1129837511 9463 80.91.229.2 (20 Oct 2005 19:45:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 20 Oct 2005 19:45:11 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 20 21:45:09 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ESgJG-0007RK-Hw for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Oct 2005 21:42:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESgJG-0007Eo-0O for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Oct 2005 15:42:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ESgH7-0006bf-5i for help-gnu-emacs@gnu.org; Thu, 20 Oct 2005 15:40:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ESgH6-0006bI-ED for help-gnu-emacs@gnu.org; Thu, 20 Oct 2005 15:40:28 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESgH5-0006bE-LY for help-gnu-emacs@gnu.org; Thu, 20 Oct 2005 15:40:28 -0400 Original-Received: from [192.114.186.20] (helo=nitzan.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ESgH5-0007sZ-Nm for help-gnu-emacs@gnu.org; Thu, 20 Oct 2005 15:40:27 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-205-185.inter.net.il [83.130.205.185]) by nitzan.inter.net.il (MOS 3.6.5-GR) with ESMTP id BSZ87667 (AUTH halo1); Thu, 20 Oct 2005 21:40:05 +0200 (IST) Original-To: help-gnu-emacs@gnu.org In-reply-to: (message from Kevin Rodgers on Thu, 20 Oct 2005 10:31:42 -0600) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30413 Archived-At: > From: Kevin Rodgers > Date: Thu, 20 Oct 2005 10:31:42 -0600 > > ;; What is the list of systems that require the .exe extension? > (when (memq system-type '(dos)) > (setq program (concat program ".exe"))) > (shell-command (format "make %s && ./%s %s" program program args)))) This part is bogus, on several accounts. First, there's no system-type `dos' in Emacs, only `ms-dos'. Second, Windows executables also have the .exe extension. And third, there's no need to append the extension, since Make will DTRT on these systems even without the .exe.