unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* boostrap failed because of flyspell-mode-map
@ 2005-06-07  9:21 David PONCE
  2005-06-07  9:52 ` Albert Veli
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: David PONCE @ 2005-06-07  9:21 UTC (permalink / raw)


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  <david@dponce.com>

	* 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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-06-08 16:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-07  9:21 boostrap failed because of flyspell-mode-map David PONCE
2005-06-07  9:52 ` Albert Veli
2005-06-07  9:59 ` Nick Roberts
2005-06-07 14:57   ` Lute Kamstra
2005-06-07 20:31     ` Nick Roberts
2005-06-07 10:56 ` Lute Kamstra
2005-06-08  8:39   ` Lute Kamstra
2005-06-08 16:17     ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).