From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: GNU Emacs 22: Invalid face font-lock-keyword-face Date: Wed, 13 Apr 2005 10:46:34 +0200 Message-ID: <18f62beac088be1653d2d739dc193bf8@Web.DE> References: <1113375854.924317.257270@o13g2000cwo.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1113383310 31272 80.91.229.2 (13 Apr 2005 09:08:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 13 Apr 2005 09:08:30 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 13 11:08:27 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DLdqe-0001KE-DV for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Apr 2005 11:07:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DLdR8-0002mn-0g for geh-help-gnu-emacs@m.gmane.org; Wed, 13 Apr 2005 04:41:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DLdGn-0000hl-Ce for help-gnu-emacs@gnu.org; Wed, 13 Apr 2005 04:30:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DLdGj-0000fH-Ey for help-gnu-emacs@gnu.org; Wed, 13 Apr 2005 04:30:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DLdGh-0000V9-Tv for help-gnu-emacs@gnu.org; Wed, 13 Apr 2005 04:30:40 -0400 Original-Received: from [217.72.192.226] (helo=smtp08.web.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DLdYX-0002eV-2m for help-gnu-emacs@gnu.org; Wed, 13 Apr 2005 04:49:05 -0400 Original-Received: from [84.245.189.169] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.104 #268) id 1DLdY9-0004Gv-00; Wed, 13 Apr 2005 10:48:42 +0200 In-Reply-To: <1113375854.924317.257270@o13g2000cwo.googlegroups.com> Original-To: dan.sanderson@gmail.com X-Mailer: Apple Mail (2.619.2) X-Sender: Peter_Dyballa@web.de X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:25621 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25621 Am 13.04.2005 um 09:04 schrieb dan.sanderson@gmail.com: > I'm running GNU Emacs 22.0.50.1 (powerpc-apple-darwin7.8.0) of > 2005-04-09. I'm getting repeated errors that say "Invalid face > font-lock-keyword-face". Many actions seem to cause it. Is there a > way to silence this error? I'm using the same without problems. One means to silence it is to start it with -Q: without your customization. The other way is to add --debug-init and check the contents of the *Backtrace* buffer. Step by step you'll be able to correct your faces. If the problems come from the Carbon version it might be useful to have more than one file with customization and settings. Some weeks ago I started that: (setq custom-file (format "~/.emacs-Abrichtung-%d.el" emacs-major-version)) (load custom-file) Quite a bit elder is: (cond ((= 21 emacs-major-version) (progn (desktop-read) (cond ((string= "x" window-system) (message "Sind in X11") (load "~/.emacs_X11") )) ; Ende X11 (cond ((string= "mac" window-system) (message "Sind in Aqua") (load "~/.emacs_Carbon") ; (require '.emacs_Carbon) )) ; Ende Carbon (cond ((string= 'nil window-system) (message "Sind im Terminal") (load "~/.emacs_nil") )) ; Ende Terminal (cond ((= 2 emacs-minor-version) (message "Apple's GNU Emacs") (load "~/.emacs_Apple") ));Version 21.1.30.3 )));Version 21 (cond ((= 22 emacs-major-version) (progn (desktop-lazy-complete) (cond ((string= "x" window-system) (message "Sind in X11") (load "~/.emacs_X11") )) ; Ende X11 (cond ((string= "mac" window-system) (message "Sind in Aqua") (load "~/.emacs_Carbon") )) ; Ende Carbon (cond ((string= 'nil window-system) ; (progn (message "Sind im Terminal") (load "~/.emacs_nil") )) ; Ende Terminal ))) ;Version 22 -- Greetings Pete