emacs-pretest-bug
[Top][All Lists]
Advanced

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

c-mode font-lock


From: Henrik Enberg
Subject: c-mode font-lock
Date: Sat, 22 Oct 2005 17:36:49 +0200 (CEST)

Symptoms:

emacs -q followed by M-x global-font-lock-mode RET and opening a C file
gives the following backtrace:

Debugger entered--Lisp error: (void-variable c-font-lock-keywords-3)
  eval(c-font-lock-keywords-3)
  font-lock-eval-keywords(c-font-lock-keywords-3)
  font-lock-set-defaults()
  font-lock-mode-internal(t)
  font-lock-default-function(t)
  font-lock-mode()
  turn-on-font-lock()
  turn-on-font-lock-if-enabled()
  global-font-lock-mode-enable-in-buffers()
  run-hooks(after-change-major-mode-hook)
  run-mode-hooks(c-mode-common-hook c-mode-hook)
  c-mode()
  set-auto-mode-0(c-mode nil)
  set-auto-mode()
  normal-mode(t)
  after-find-file(nil t)
  find-file-noselect-1(#<buffer main.c> "~/src/xpager/src/main.c" nil nil 
"~/src/xpager/src/main.c" (1294624 776))
  find-file-noselect("~/src/xpager/src/main.c" nil nil t)
  find-file("~/src/xpager/src/main.c" t)
  call-interactively(find-file)


If emacs crashed, and you have the emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/share/emacs/22.0.50/etc/DEBUG for instructions.


In GNU Emacs 22.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.6.10)
 of 2005-10-22 on rocksteady
X server 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: C
  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




reply via email to

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