unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David PONCE <david.ponce@wanadoo.fr>
Subject: boostrap failed because of flyspell-mode-map
Date: Tue,  7 Jun 2005 11:21:01 +0200 (CEST)	[thread overview]
Message-ID: <22797389.1118136061181.JavaMail.www@wwinf1521> (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

             reply	other threads:[~2005-06-07  9:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-07  9:21 David PONCE [this message]
2005-06-07  9:52 ` boostrap failed because of flyspell-mode-map 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=22797389.1118136061181.JavaMail.www@wwinf1521 \
    --to=david.ponce@wanadoo.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).