From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: ignoring autoloads in preloaded files on Windows Date: Tue, 13 Oct 2009 15:16:13 -0400 Message-ID: References: <83eipfmuaz.fsf@gnu.org> <0my40kr72.fsf@fencepost.gnu.org> <83zl7zk8d3.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1255461422 28907 80.91.229.12 (13 Oct 2009 19:17:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Oct 2009 19:17:02 +0000 (UTC) Cc: Juanma Barranquero , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 13 21:16:51 2009 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.50) id 1MxmrZ-0001Ms-2x for ged-emacs-devel@m.gmane.org; Tue, 13 Oct 2009 21:16:49 +0200 Original-Received: from localhost ([127.0.0.1]:42495 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxmrY-0001sv-Fs for ged-emacs-devel@m.gmane.org; Tue, 13 Oct 2009 15:16:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MxmrD-0001mD-OB for emacs-devel@gnu.org; Tue, 13 Oct 2009 15:16:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mxmr7-0001jg-Q9 for emacs-devel@gnu.org; Tue, 13 Oct 2009 15:16:26 -0400 Original-Received: from [199.232.76.173] (port=45407 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mxmr6-0001jT-WE for emacs-devel@gnu.org; Tue, 13 Oct 2009 15:16:21 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:56904) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mxmr5-00075A-9t; Tue, 13 Oct 2009 15:16:19 -0400 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n9DJGD5D010101; Tue, 13 Oct 2009 15:16:13 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 3C95D3A07F; Tue, 13 Oct 2009 15:16:13 -0400 (EDT) In-Reply-To: <83zl7zk8d3.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 10 Oct 2009 09:37:12 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3383=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:116113 Archived-At: >> (when (ignore-errors >> (ignore-errors (delete-file tmpfile)) >> (shell-command (format "make -C %s echolisp > %s" >> mdir tmpfile)) > The other problem with this is that the -C switch is not supported by > nmake. So I think it's better to bind default-directory to mdir > instead, and then read the echolisp.tmp file from that directory. I also always recommend the use of call-process over shell-command, when there's a choice, as is the case here. Stefan