From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David PONCE Newsgroups: gmane.emacs.devel Subject: boostrap failed because of flyspell-mode-map Date: Tue, 7 Jun 2005 11:21:01 +0200 (CEST) Message-ID: <22797389.1118136061181.JavaMail.www@wwinf1521> Reply-To: david.ponce@wanadoo.fr NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1118136354 28037 80.91.229.2 (7 Jun 2005 09:25:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Jun 2005 09:25:54 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 07 11:25:46 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DfaKD-00045w-7B for ged-emacs-devel@m.gmane.org; Tue, 07 Jun 2005 11:24:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DfaQh-00084q-AJ for ged-emacs-devel@m.gmane.org; Tue, 07 Jun 2005 05:31:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DfaOL-0007IY-OG for emacs-devel@gnu.org; Tue, 07 Jun 2005 05:29:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DfaOH-0007GC-TI for emacs-devel@gnu.org; Tue, 07 Jun 2005 05:28:58 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DfaOH-0007C2-CI for emacs-devel@gnu.org; Tue, 07 Jun 2005 05:28:57 -0400 Original-Received: from [193.252.23.84] (helo=smtp15.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DfaJy-0000Mw-4u for emacs-devel@gnu.org; Tue, 07 Jun 2005 05:24:31 -0400 Original-Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf1502.wanadoo.fr (SMTP Server) with ESMTP id 3005C7000091 for ; Tue, 7 Jun 2005 11:21:01 +0200 (CEST) Original-Received: from wwinf1521 (wwinf1521 [172.22.146.45]) by mwinf1502.wanadoo.fr (SMTP Server) with ESMTP id 2E5507000088 for ; Tue, 7 Jun 2005 11:21:01 +0200 (CEST) X-ME-UUID: 20050607092101189.2E5507000088@mwinf1502.wanadoo.fr Original-To: emacs-devel@gnu.org X-Originating-IP: [205.167.7.18] X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-REPLYTO: |~| 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:38234 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38234 Hi, In GNU Emacs 22.0.50.2 (i686-pc-linux-gnu, GTK+ Version 2.4.14) of 2005-06-07 on localhost Distributor `The X.Org Foundation', version 11.0.60802000 configured using `configure '--with-gtk' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 locale-coding-system: utf-8 default-enable-multibyte-characters: t After today's update of CVS Emacs, bootstrap failed with this error when dumping Emacs: [...] Loading emacs-lisp/byte-run... Loading emacs-lisp/backquote... Loading subr... Loading version.el (source)... Loading widget... Loading custom... Loading emacs-lisp/map-ynp... Loading env... Loading cus-start... Loading international/mule... Loading international/mule-conf.el (source)... Loading format... Loading bindings... Loading files... Loading cus-face... Loading faces... Lists of integers (garbage collection statistics) are normal output while building Emacs; they do not indicate a problem. ((15247 . 4070) (4364 . 4) (549 . 0) 104139 45313 (13 . 1) (17 . 0) (4954 . 527)) Loading loaddefs.el (source)... Symbol's value as variable is void: flyspell-mode-map make[1]: *** [bootstrap-emacs] Error 255 make[1]: Leaving directory `emacs/src' make: *** [bootstrap-build] Error 2 It seems that autoload cookies are missing in flyspell.el for flyspell-mode-map and other variables it refers to. The following patch fixed the problem for me. Hope it helps. Sincerely, David 2005-06-07 David Ponce * flyspell.el (flyspell-emacs) (flyspell-use-meta-tab, flyspell-auto-correct-binding) (flyspell-mode-map): Add autoload cookies. Index: flyspell.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/textmodes/flyspell.el,v retrieving revision 1.65 diff -c -r1.65 flyspell.el *** flyspell.el 6 Jun 2005 21:06:19 -0000 1.65 --- flyspell.el 7 Jun 2005 09:10:21 -0000 *************** *** 58,63 **** --- 58,64 ---- ;*---------------------------------------------------------------------*/ ;* Which emacs are we currently running */ ;*---------------------------------------------------------------------*/ + ;;;###autoload (defvar flyspell-emacs (cond ((string-match "XEmacs" emacs-version) *************** *** 66,71 **** --- 67,73 ---- 'emacs)) "The type of Emacs we are currently running.") + ;;;###autoload (defvar flyspell-use-local-map (or (eq flyspell-emacs 'xemacs) (not (string< emacs-version "20")))) *************** *** 262,272 **** --- 264,276 ---- :group 'flyspell :type '(choice string (const nil))) + ;;;###autoload (defcustom flyspell-use-meta-tab t "*Non-nil means that flyspell uses META-TAB to correct word." :group 'flyspell :type 'boolean) + ;;;###autoload (defcustom flyspell-auto-correct-binding [(control ?\;)] "The key binding for flyspell auto correction." *************** *** 421,426 **** --- 425,431 ---- (define-key map [(control \.)] 'flyspell-auto-correct-word) map)) + ;;;###autoload (defvar flyspell-mode-map (let ((map (make-sparse-keymap))) ;; mouse, keyboard bindings and misc definition