From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ken Goldman Newsgroups: gmane.emacs.help Subject: font-lock-face-attributes not changing Date: Thu, 30 Apr 2015 09:17:02 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1430399876 15366 80.91.229.3 (30 Apr 2015 13:17:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Apr 2015 13:17:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 30 15:17:48 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YnoLb-0008Lq-Eq for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Apr 2015 15:17:47 +0200 Original-Received: from localhost ([::1]:43701 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnoLa-0004eV-RQ for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Apr 2015 09:17:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnoLJ-0004Zf-FB for help-gnu-emacs@gnu.org; Thu, 30 Apr 2015 09:17:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YnoLG-0006mJ-48 for help-gnu-emacs@gnu.org; Thu, 30 Apr 2015 09:17:29 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:42273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YnoLF-0006ly-RH for help-gnu-emacs@gnu.org; Thu, 30 Apr 2015 09:17:26 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YnoL6-0007yL-LI for help-gnu-emacs@gnu.org; Thu, 30 Apr 2015 15:17:16 +0200 Original-Received: from yktgi01e0-s4.watson.ibm.com ([129.34.20.23]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Apr 2015 15:17:16 +0200 Original-Received: from kgoldman by yktgi01e0-s4.watson.ibm.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Apr 2015 15:17:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 36 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: yktgi01e0-s4.watson.ibm.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104096 Archived-At: I have a common .emacs file that I use across Linux and Windows platforms. One one (24.3.1, a bit newer than the others) , font-lock-face-attributes has no effect. I get the default colors. When I start .emacs, I don't see any warnings, and messages says the .emacs is being read. What else should I look for? The other hint is that it claims this is an invalid face, but it works on several other Linux platforms. (set-face-foreground 'modeline "navy") (set-face-background 'modeline "lightblue1") The relevant line is: (setq font-lock-face-attributes ;; FACE FG BG bold italic underline '((font-lock-comment-face "gold" nil nil nil nil) (font-lock-string-face "lightskyblue2" nil nil nil nil) (font-lock-reference-face "palegreen2" nil nil nil nil) (font-lock-constant-face "palegreen2" nil nil nil nil) (font-lock-variable-name-face "wheat" nil nil nil nil) (font-lock-function-name-face "yellow" nil nil nil 1) (font-lock-type-name-face "salmon" nil nil nil nil) (font-lock-doc-name-face "magenta" nil nil nil nil) (font-lock-keyword-face "pink" nil nil nil nil) (font-lock-type-face "lightsalmon" nil nil nil nil) (font-lock-builtin-face "palegreen2" nil nil nil nil) (font-lock-warning-face "red" nil nil nil nil) (font-lock-fatal-face "black" "red" nil nil nil) (show-paren-match-face "black" "green" nil nil nil) (paren-face-match "black" "green" nil nil nil) (flyspell-incorrect-face "wheat" nil nil nil 1) (flyspell-duplicate-face "wheat" nil nil nil 1) ))