all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: alberto.besana@gmail.com
To: help-gnu-emacs@gnu.org
Subject: evil interaction of (require 'python-mode) and (global-font-lock-mode 1)
Date: 11 May 2007 05:08:20 -0700	[thread overview]
Message-ID: <1178885300.274578.249770@w5g2000hsg.googlegroups.com> (raw)

I'm using
GNU Emacs 21.3.50.1
on WIndowsXP

The following two lines in my .emacs

(require 'python-mode)
(global-font-lock-mode 1)

give me the following error (using debug on init):

Debugger entered--Lisp error: (error "Invalid face" font-lock-keyword-
face)
  internal-copy-lisp-face(font-lock-keyword-face py-pseudo-keyword-
face #<frame emacs@BESANAA01 0x1670800> nil)
  copy-face(font-lock-keyword-face py-pseudo-keyword-face #<frame
emacs@BESANAA01 0x1670800>)
  copy-face(font-lock-keyword-face py-pseudo-keyword-face)
  py-font-lock-mode-hook()
  run-hooks(font-lock-mode-hook font-lock-mode-on-hook)
  font-lock-mode()
  turn-on-font-lock()
  turn-on-font-lock-if-enabled()
  global-font-lock-mode(1)
  eval-buffer(#<buffer  *load*> nil "~/.emacs" nil t)
  ;;; Reading at buffer position 270
  load-with-code-conversion("c:/Documents and Settings/besanaa/.emacs"
"~/.emacs" t t)
  load("~/.emacs" t t)
  #[nil "................
  command-line()
  normal-top-level()

If I set global-font-lock-mode once emacs started then no problem.

I can't undertand if the problem is related to py-pseudo-keyword-face
or not.

Thank you for any possible suggestion.

Ciao,
Alberto

             reply	other threads:[~2007-05-11 12:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-11 12:08 alberto.besana [this message]
2007-05-11 19:08 ` evil interaction of (require 'python-mode) and (global-font-lock-mode 1) Maciej Katafiasz

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

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

  git send-email \
    --in-reply-to=1178885300.274578.249770@w5g2000hsg.googlegroups.com \
    --to=alberto.besana@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.