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: Changes in lisp/Makefile.in to skip preloaded files Date: Fri, 9 Oct 2009 01:31:45 +0200 Message-ID: References: <837hv9neza.fsf@gnu.org> <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 X-Trace: ger.gmane.org 1255044751 25002 80.91.229.12 (8 Oct 2009 23:32:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Oct 2009 23:32:31 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Lennart Borgman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 09 01:32:21 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 1Mw2T5-0000lq-TI for ged-emacs-devel@m.gmane.org; Fri, 09 Oct 2009 01:32:20 +0200 Original-Received: from localhost ([127.0.0.1]:60505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mw2T5-0002kF-BT for ged-emacs-devel@m.gmane.org; Thu, 08 Oct 2009 19:32:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mw2Sz-0002hz-O6 for emacs-devel@gnu.org; Thu, 08 Oct 2009 19:32:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mw2Sv-0002c1-22 for emacs-devel@gnu.org; Thu, 08 Oct 2009 19:32:13 -0400 Original-Received: from [199.232.76.173] (port=47030 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mw2Su-0002bm-Qd for emacs-devel@gnu.org; Thu, 08 Oct 2009 19:32:08 -0400 Original-Received: from mail-ew0-f228.google.com ([209.85.219.228]:52743) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mw2Ss-0003AU-F9; Thu, 08 Oct 2009 19:32:06 -0400 Original-Received: by ewy28 with SMTP id 28so12212510ewy.42 for ; Thu, 08 Oct 2009 16:32:05 -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; bh=S7r+Lo99xsvACUOgwGovK9WyGIduLYLRwbMfrL115eM=; b=KXg1OpP4c/jf4t/boVhcKFAc8xpoNZj10N38YCUZqDQprYDge9ogi8D3iPw8oQCgWp 1dgJide2afFeikqLyPzygG74/0uVJAZ/gUaY5HaIIVrcqnOSgsew+g06RAT+IQTJo6Iy ka+vVcS7XHoGI6xXDaY6Vh4qWv5ZDbfD2xZiw= 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=DLdIrGg4og0MaDw9SuYM9gf7Rl3t7lOUi5GSVSQuwXEKfbtMyxv+ikB76EJ2HLhFKf ArvwL8fTfgs4zATeHQqPU8T7mLRTke5She8SoNg6R73gJ5kZA7epNQe4tylNhXXk4VoW CCUbJs0k6HJvXH8AVrzyRw3MpcXlJ+uHTyOIQ= Original-Received: by 10.211.161.16 with SMTP id n16mr2360718ebo.20.1255044725199; Thu, 08 Oct 2009 16:32:05 -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:116000 Archived-At: 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.) Juanma Index: lisp/emacs-lisp/autoload.el =================================================================== 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 1.149 +++ lisp/emacs-lisp/autoload.el 7 Oct 2009 17:23:46 -0000 @@ -684,18 +684,16 @@ "Update loaddefs.el autoloads in batch mode. Calls `update-directory-autoloads' on the command line arguments." - ;; For use during the Emacs build process only. - (unless autoload-excludes - (let* ((ldir (file-name-directory generated-autoload-file)) - (mfile (expand-file-name "../src/Makefile" ldir)) - lim) - (when (file-readable-p mfile) - (with-temp-buffer - (insert-file-contents mfile) - (when (re-search-forward "^lisp= " nil t) - (setq lim (line-end-position)) - (while (re-search-forward "\\${lispsource}\\([^ ]+\\.el\\)c?\\>" - lim t) - (push (expand-file-name (match-string 1) ldir) - autoload-excludes))))))) + ;; For use during the Emacs build process only. We do the file-name + ;; expansion here rather than in lisp/Makefile in order to keep the + ;; shell command line short. (Long lines are an issue on some systems.) + (if (stringp autoload-excludes) + (setq autoload-excludes + (mapcar + (lambda (file) + (concat + (expand-file-name (file-name-sans-extension file) + (file-name-directory generated-autoload-file)) + ".el")) + (split-string autoload-excludes)))) (let ((args command-line-args-left)) (setq command-line-args-left nil)