* evil interaction of (require 'python-mode) and (global-font-lock-mode 1)
@ 2007-05-11 12:08 alberto.besana
2007-05-11 19:08 ` Maciej Katafiasz
0 siblings, 1 reply; 2+ messages in thread
From: alberto.besana @ 2007-05-11 12:08 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: evil interaction of (require 'python-mode) and (global-font-lock-mode 1)
2007-05-11 12:08 evil interaction of (require 'python-mode) and (global-font-lock-mode 1) alberto.besana
@ 2007-05-11 19:08 ` Maciej Katafiasz
0 siblings, 0 replies; 2+ messages in thread
From: Maciej Katafiasz @ 2007-05-11 19:08 UTC (permalink / raw)
To: help-gnu-emacs
Den Fri, 11 May 2007 05:08:20 -0700 skrev alberto.besana:
> I'm using
> GNU Emacs 21.3.50.1
> on WIndowsXP
First of all, get a newer version. What you're using right now is a beta
in the stable branch, the release of which has been already out.
Upgrade at least to 21.4, and see if the problem persists. Preferably, you
should try a 22 prerelease, it's very stable and will be released soon.
Cheers,
Maciej
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-05-11 19:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-11 12:08 evil interaction of (require 'python-mode) and (global-font-lock-mode 1) alberto.besana
2007-05-11 19:08 ` Maciej Katafiasz
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.