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: Changes in lisp/Makefile.in to skip preloaded files Date: Fri, 9 Oct 2009 01:34:39 +0200 Message-ID: References: <8363asoov2.fsf@gnu.org> <83tyycmkjv.fsf@gnu.org> <83eipfmuaz.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 1255044926 25406 80.91.229.12 (8 Oct 2009 23:35:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Oct 2009 23:35:26 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 09 01:35:16 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 1Mw2Vw-0001nv-6F for ged-emacs-devel@m.gmane.org; Fri, 09 Oct 2009 01:35:16 +0200 Original-Received: from localhost ([127.0.0.1]:45233 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mw2Vv-0007X0-Mn for ged-emacs-devel@m.gmane.org; Thu, 08 Oct 2009 19:35:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mw2Vq-0007U5-2R for emacs-devel@gnu.org; Thu, 08 Oct 2009 19:35:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mw2Vk-0007HD-Gb for emacs-devel@gnu.org; Thu, 08 Oct 2009 19:35:09 -0400 Original-Received: from [199.232.76.173] (port=54982 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mw2Vj-0007Fm-HD for emacs-devel@gnu.org; Thu, 08 Oct 2009 19:35:03 -0400 Original-Received: from mail-yw0-f201.google.com ([209.85.211.201]:64754) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mw2Vf-0003XN-VT; Thu, 08 Oct 2009 19:35:00 -0400 Original-Received: by ywh39 with SMTP id 39so475935ywh.26 for ; Thu, 08 Oct 2009 16:34:59 -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=h40s+bfqKFp6i/ubMnkGwSxzIh1rKhPORgh6XVH3LJ8=; b=bExvBRTKDG+HIB1kq5J/vAWOwMWUFtSJ40Z/3LbGqjjTynvLS6E8VGgmAM9Heb8LKS raKuX5mwZ9g6DllaugkEJMzYJcbqAJlyLbFBMGNgQuV9TDXLYX8ZsgRtx3jDoiGbiwLd uF0VV8bxBI+Zt8lL/MsVkH9fED3ZokefEKAaU= 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=JwKb2yr6V2Q8g5sN/3V0+phJG5rO6z2l/nUjPygCmS0AHvR1RgGRSIEbBlFGD1w6z3 fe2kb2U34EmwhfXWQvJ9XcpJCEbQpmIolJVtm2yTvYG5IO/xDXe3+Y7jh8tWLI5Ozcr+ U9AlIE9w/4Acdqjrd/TYxE5ePZx5ARz7LzTMo= Original-Received: by 10.101.183.1 with SMTP id k1mr2139019anp.18.1255044899338; Thu, 08 Oct 2009 16:34:59 -0700 (PDT) In-Reply-To: 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:116001 Archived-At: Thanks, is there something wrong with applying this to the trunk until the problem is fixed? On Fri, Oct 9, 2009 at 1:31 AM, Juanma Barranquero wrote= : > On Fri, Oct 9, 2009 at 01:08, Lennart Borgman = wrote: > >> Thanks for working on this, but what is the status right now? Is it >> possible to build Emacs on w32? > > Apply the following patch to temporarily remove the changes that > disable autoload generation on Windows. (This is not a "fix", is just > a workaround.) > > =C2=A0 =C2=A0Juanma > > > Index: lisp/emacs-lisp/autoload.el > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > RCS file: /cvsroot/emacs/emacs/lisp/emacs-lisp/autoload.el,v > retrieving revision 1.149 > diff -u -2 -r1.149 autoload.el > --- lisp/emacs-lisp/autoload.el 7 Oct 2009 16:10:37 -0000 =C2=A0 =C2=A0 = =C2=A0 1.149 > +++ lisp/emacs-lisp/autoload.el 7 Oct 2009 17:23:46 -0000 > @@ -684,18 +684,16 @@ > =C2=A0 "Update loaddefs.el autoloads in batch mode. > =C2=A0Calls `update-directory-autoloads' on the command line arguments." > - =C2=A0;; For use during the Emacs build process only. > - =C2=A0(unless autoload-excludes > - =C2=A0 =C2=A0(let* ((ldir (file-name-directory generated-autoload-file)= ) > - =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(mfile (expand-file-name "../src/Make= file" ldir)) > - =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0lim) > - =C2=A0 =C2=A0 =C2=A0(when (file-readable-p mfile) > - =C2=A0 =C2=A0 =C2=A0 (with-temp-buffer > - =C2=A0 =C2=A0 =C2=A0 =C2=A0 (insert-file-contents mfile) > - =C2=A0 =C2=A0 =C2=A0 =C2=A0 (when (re-search-forward "^lisp=3D " nil t) > - =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (setq lim (line-end-position)) > - =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (while (re-search-forward "\\${lisps= ource}\\([^ ]+\\.el\\)c?\\>" > - =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 lim t) > - =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (push (expand-file-name (matc= h-string 1) ldir) > - =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 autoload= -excludes))))))) > + =C2=A0;; For use during the Emacs build process only. =C2=A0We do the f= ile-name > + =C2=A0;; expansion here rather than in lisp/Makefile in order to keep t= he > + =C2=A0;; shell command line short. =C2=A0(Long lines are an issue on so= me systems.) > + =C2=A0(if (stringp autoload-excludes) > + =C2=A0 =C2=A0 =C2=A0(setq autoload-excludes > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (mapcar > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(lambda (file) > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(concat > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (expand-file-name (fil= e-name-sans-extension file) > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (file-name-directory generated-au= toload-file)) > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ".el")) > + =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(split-string autoload-exclude= s)))) > =C2=A0 (let ((args command-line-args-left)) > =C2=A0 =C2=A0 (setq command-line-args-left nil) >