emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

boostrap failed because of flyspell-mode-map


From: David PONCE
Subject: boostrap failed because of flyspell-mode-map
Date: Tue, 7 Jun 2005 11:21:01 +0200 (CEST)

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  <address@hidden>

        * 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







reply via email to

[Prev in Thread] Current Thread [Next in Thread]