From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: ignoring autoloads in preloaded files on Windows Date: Sat, 10 Oct 2009 22:36:43 -0400 Message-ID: <24aazyzmf8.fsf@fencepost.gnu.org> References: <0my40kr72.fsf@fencepost.gnu.org> <831vlbln4t.fsf@gnu.org> <83pr8vjsne.fsf@gnu.org> <78tyy7ymmw.fsf@fencepost.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1255228626 5633 80.91.229.12 (11 Oct 2009 02:37:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Oct 2009 02:37:06 +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 Sun Oct 11 04:36:56 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 1MwoIo-0000HU-T4 for ged-emacs-devel@m.gmane.org; Sun, 11 Oct 2009 04:36:55 +0200 Original-Received: from localhost ([127.0.0.1]:33718 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwoIo-0008IK-8a for ged-emacs-devel@m.gmane.org; Sat, 10 Oct 2009 22:36:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MwoIj-0008GI-2p for emacs-devel@gnu.org; Sat, 10 Oct 2009 22:36:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MwoIe-00087Q-DF for emacs-devel@gnu.org; Sat, 10 Oct 2009 22:36:48 -0400 Original-Received: from [199.232.76.173] (port=35685 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MwoIe-00087L-9b for emacs-devel@gnu.org; Sat, 10 Oct 2009 22:36:44 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:56896) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MwoId-0000k0-UM for emacs-devel@gnu.org; Sat, 10 Oct 2009 22:36:44 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MwoId-0001Cc-HQ; Sat, 10 Oct 2009 22:36:43 -0400 X-Spook: radar smuggle passwd Kennedy embassy Montenegro Steve X-Ran: 4,?ZH9-4NO0M~ksHPV2JII='7Ya{MX"ISB2?P2EYl$:/h(g>P!M>)jf+X#0Zxc4{bF=.4r X-Hue: yellow X-Attribution: GM In-Reply-To: (Juanma Barranquero's message of "Sun, 11 Oct 2009 04:02:43 +0200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:116078 Archived-At: Juanma Barranquero wrote: > Using GNU make ("make.exe"), it generates lisp/loaddefs.el as > expected, but lisp/calendar/*-loaddefs.el and lisp/mh-e/mh-loaddefs.el > are empty (just the header and the end sections are present). Oh, whoops. Revised patch for lisp/makefile.w32-in follows. I'm doing it this way because: i) I have no idea how to quote a setting of autoload-make-program inside the --eval expression on Windows. ii) Since $(MAKE) could be a full path to make, I can only presume it could be subject to the same munging issue as described for generated-autoload-file in the doc of w32-batch-update. *** lisp/makefile.w32-in.~1.99.~ 2009-10-08 23:28:21.000000000 -0700 --- lisp/makefile.w32-in 2009-10-10 19:30:54.000000000 -0700 *************** *** 214,220 **** @echo Directories: . $(WINS_UPDATES) $(emacs) -l autoload \ --eval $(ARGQUOTE)(setq find-file-hook nil find-file-suppress-same-file-warnings t)$(ARGQUOTE) \ ! -f w32-batch-update-autoloads "$(lisp)/loaddefs.el" . $(WINS_UPDATES) $(lisp)/subdirs.el: $(MAKE) $(MFLAGS) update-subdirs --- 214,220 ---- @echo Directories: . $(WINS_UPDATES) $(emacs) -l autoload \ --eval $(ARGQUOTE)(setq find-file-hook nil find-file-suppress-same-file-warnings t)$(ARGQUOTE) \ ! -f w32-batch-update-autoloads "$(lisp)/loaddefs.el" $(MAKE) . $(WINS_UPDATES) $(lisp)/subdirs.el: $(MAKE) $(MFLAGS) update-subdirs *************** *** 358,364 **** --eval "(setq find-file-suppress-same-file-warnings t)" \ --eval "(setq make-backup-files nil)" \ -f w32-batch-update-autoloads "$(lisp)/calendar/cal-loaddefs.el" \ ! ./calendar $(lisp)/calendar/diary-loaddefs.el: "$(EMACS)" $(EMACSOPT) -l autoload \ --- 358,364 ---- --eval "(setq find-file-suppress-same-file-warnings t)" \ --eval "(setq make-backup-files nil)" \ -f w32-batch-update-autoloads "$(lisp)/calendar/cal-loaddefs.el" \ ! $(MAKE) ./calendar $(lisp)/calendar/diary-loaddefs.el: "$(EMACS)" $(EMACSOPT) -l autoload \ *************** *** 366,372 **** --eval "(setq find-file-suppress-same-file-warnings t)" \ --eval "(setq make-backup-files nil)" \ -f w32-batch-update-autoloads $(lisp)/calendar/diary-loaddefs.el \ ! ./calendar $(lisp)/calendar/hol-loaddefs.el: "$(EMACS)" $(EMACSOPT) -l autoload \ --- 366,372 ---- --eval "(setq find-file-suppress-same-file-warnings t)" \ --eval "(setq make-backup-files nil)" \ -f w32-batch-update-autoloads $(lisp)/calendar/diary-loaddefs.el \ ! $(MAKE) ./calendar $(lisp)/calendar/hol-loaddefs.el: "$(EMACS)" $(EMACSOPT) -l autoload \ *************** *** 374,380 **** --eval "(setq find-file-suppress-same-file-warnings t)" \ --eval "(setq make-backup-files nil)" \ -f w32-batch-update-autoloads $(lisp)/calendar/hol-loaddefs.el \ ! ./calendar # Update MH-E internal autoloads. These are not to be confused with # the autoloads for the MH-E entry points, which are already in --- 374,380 ---- --eval "(setq find-file-suppress-same-file-warnings t)" \ --eval "(setq make-backup-files nil)" \ -f w32-batch-update-autoloads $(lisp)/calendar/hol-loaddefs.el \ ! $(MAKE) ./calendar # Update MH-E internal autoloads. These are not to be confused with # the autoloads for the MH-E entry points, which are already in *************** *** 403,409 **** --eval $(ARGQUOTE)(setq find-file-suppress-same-file-warnings t)$(ARGQUOTE) \ --eval $(ARGQUOTE)(setq make-backup-files nil)$(ARGQUOTE) \ -f w32-batch-update-autoloads \ ! $(ARGQUOTE)$(lisp)/mh-e/mh-loaddefs.el$(ARGQUOTE) ./mh-e # Prepare a bootstrap in the lisp subdirectory. # --- 403,409 ---- --eval $(ARGQUOTE)(setq find-file-suppress-same-file-warnings t)$(ARGQUOTE) \ --eval $(ARGQUOTE)(setq make-backup-files nil)$(ARGQUOTE) \ -f w32-batch-update-autoloads \ ! $(ARGQUOTE)$(lisp)/mh-e/mh-loaddefs.el$(ARGQUOTE) $(MAKE) ./mh-e # Prepare a bootstrap in the lisp subdirectory. #