From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter S Galbraith Newsgroups: gmane.emacs.help Subject: Re: Enabling global-font-lock-mode Date: Thu, 24 Oct 2002 13:40:09 -0400 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <20021024174009.A61BC29F4C@mixing.qc.dfo.ca> References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1035481691 19984 80.91.224.249 (24 Oct 2002 17:48:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 24 Oct 2002 17:48:11 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 184m5Z-0005Bz-00 for ; Thu, 24 Oct 2002 19:48:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 184m02-00028O-00; Thu, 24 Oct 2002 13:42:26 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 184lxy-0008Ti-00 for help-gnu-emacs@gnu.org; Thu, 24 Oct 2002 13:40:18 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 184lxu-0008Sa-00 for help-gnu-emacs@gnu.org; Thu, 24 Oct 2002 13:40:17 -0400 Original-Received: from mixing.qc.dfo-mpo.gc.ca ([216.226.40.21] helo=mixing.qc.dfo.ca) by monty-python.gnu.org with esmtp (Exim 4.10) id 184lxt-0008Rs-00 for help-gnu-emacs@gnu.org; Thu, 24 Oct 2002 13:40:13 -0400 Original-Received: from mixing.qc.dfo.ca (localhost [127.0.0.1]) by mixing.qc.dfo.ca (Postfix) with ESMTP id A61BC29F4C; Thu, 24 Oct 2002 13:40:09 -0400 (EDT) Original-To: Florian Lindner In-Reply-To: Message from Florian Lindner of "Thu, 24 Oct 2002 17:39:29 +0200." X-Mailer: mh-e 6.1+cvs; nmh 1.0.4+dev; Emacs 21.2 X-Face: "#bYm%*(4JuXAkouMxaLz|M2dbXUFnQ"IRX)zpsiM"(B}`#|_b548$VB}5L&VIck1F#FNc' rsASk0?-/gFp2qzM>0]`Jc}Qd<8[l)N7{8%qMN~{|DS.ME.$ Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2894 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2894 Florian Lindner wrote: > Hello, > I want to enable Syntax Highlightning (Global font lock mode) > Using this expression in my .emacs file is evaluated without errors but > don't take effect. What's wrong? > > '(global-font-lock-mode t nil (font-lock)) The proper syntax is: (global-font-lock-mode t) Or more simply select it from the Options menu (it's the first item) and then select "Save Options" from that same menu. Peter