From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: ignoring autoloads in preloaded files on Windows Date: Sat, 10 Oct 2009 13:51:33 +0200 Message-ID: References: <83eipfmuaz.fsf@gnu.org> <0my40kr72.fsf@fencepost.gnu.org> <831vlbln4t.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1255175542 3553 80.91.229.12 (10 Oct 2009 11:52:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 10 Oct 2009 11:52:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 10 13:52:12 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 1MwaUc-000375-UC for ged-emacs-devel@m.gmane.org; Sat, 10 Oct 2009 13:52:11 +0200 Original-Received: from localhost ([127.0.0.1]:53170 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwaUc-0001lH-9A for ged-emacs-devel@m.gmane.org; Sat, 10 Oct 2009 07:52:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MwaUU-0001ke-LA for emacs-devel@gnu.org; Sat, 10 Oct 2009 07:52:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MwaUQ-0001k3-84 for emacs-devel@gnu.org; Sat, 10 Oct 2009 07:52:02 -0400 Original-Received: from [199.232.76.173] (port=59529 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwaUQ-0001k0-1u for emacs-devel@gnu.org; Sat, 10 Oct 2009 07:51:58 -0400 Original-Received: from mail-bw0-f220.google.com ([209.85.218.220]:59192) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MwaUN-0001fp-Sj; Sat, 10 Oct 2009 07:51:56 -0400 Original-Received: by bwz20 with SMTP id 20so7297453bwz.42 for ; Sat, 10 Oct 2009 04:51:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=Gxe+LW8n6uwKd+6c5qEZt1fDsIz07LocMKLcsTdJsCI=; b=TiMX6zo/pKbOwlzPTiPkYU8bjn2vYZqT7mBv7sk2DYlKB3Vr9whq3S16ZP2v4ZDXus kENslUeq20FGXMBtXV+zHlDsXMWH+P6AFqLQ7ZC5ShG6mhwM7ZLMUjn+FTfU+wHnynAu WISrWVntF1oYpG/thHKljjx6AXYACaCDjxP44= 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:content-transfer-encoding; b=KuUzTeQOt0TWYH/13U9AHor4DKu3BwYAx9fr92aRn9Jsnt7iWH91DiAiezSe/Rzu4a BOUhn2/PT9mvK7kj6wIQPS4ioeSLNPdZ84ICwx1hJsT4SP5FB9MFTxfQPbLz7DQeGCCd 3v5jzKf79H96R/5Oq1CWpJw1eF5WSEcPHxyVM= Original-Received: by 10.239.179.80 with SMTP id c16mr196526hbg.155.1255175513083; Sat, 10 Oct 2009 04:51:53 -0700 (PDT) In-Reply-To: <831vlbln4t.fsf@gnu.org> X-detected-operating-system: by monty-python.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:116061 Archived-At: On Sat, Oct 10, 2009 at 09:32, Eli Zaretskii wrote: > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0--eval $(ARGQUOTE)= (setq find-file-hook nil find-file-suppress-same-file-warnings t make-cmd= =3D$(MAKE))$(ARGQUOTE) \ > Then use `make-cmd' inside autoload.el instead of a literal "make". Clever. > I think this is undesirable, for something that needs to run at build tim= e. Well, I agree; my reasoning was that this step falling is not an error, just a missed little optimization (so there'd be no harm is the user doesn't define MAKE). But your method is much better. > The other problem with this is that the -C switch is not supported by nma= ke. > So I think it's better to bind default-directory to mdir instead Yes, I was assuming that we would need a way to pass the full command, or work around the different arguments of make/nmake. > and then read the echolisp.tmp file from that directory. That already happens. Juanma