From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "chris.danx" Newsgroups: gmane.emacs.help Subject: font-lock-mode Date: Sat, 22 Feb 2003 20:05:33 +0000 Organization: ntl Cablemodem News Service Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1046031036 17154 80.91.224.249 (23 Feb 2003 20:10:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 23 Feb 2003 20:10:36 +0000 (UTC) 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 18n2SI-0004SW-00 for ; Sun, 23 Feb 2003 21:10:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18n2SF-0002C1-09 for gnu-help-gnu-emacs@m.gmane.org; Sun, 23 Feb 2003 15:10:31 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news-nue1.dfn.de!newsfeed.r-kom.de!newsfeed.stueberl.de!newspeer1-gui.server.ntli.net!ntli.net!newsfep4-glfd.server.ntli.net.POSTED!53ab2750!not-for-mail User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030210 X-Accept-Language: en-us, en Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Original-NNTP-Posting-Host: 81.98.236.72 Original-X-Complaints-To: abuse@ntlworld.com Original-X-Trace: newsfep4-glfd.server.ntli.net 1046030736 81.98.236.72 (Sun, 23 Feb 2003 20:05:36 GMT) Original-NNTP-Posting-Date: Sun, 23 Feb 2003 20:05:36 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:110544 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7046 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7046 Hi, For some reason this isn't highlighting a buffer first time. I have to disable it, then turn it back on for each buffer. Anyone know why? I'd like it to automatically highlight a buffer when it's loaded, rather than have to disable then re-enable font-lock-mode! My .emacs is rather lengthy but here is the section set via 'save options'. (custom-set-variables ;; custom-set-variables was added by Custom -- don't edit or cut/paste it! ;; Your init file should contain only one such instance. '(auto-compression-mode t nil (jka-compr)) '(case-fold-search t) '(column-number-mode t) '(current-language-environment "Latin-1") '(default-input-method "latin-1-prefix") '(delete-key-deletes-forward t) '(font-lock-mode t t (font-lock)) '(global-font-lock-mode t nil (font-lock)) '(pc-select-meta-moves-sexps t) '(pc-select-selection-keys-only t) '(pc-selection-mode t nil (pc-select)) '(save-place t nil (saveplace)) '(show-paren-mode t nil (paren)) '(text-mode-hook (quote (turn-on-auto-fill))) '(transient-mark-mode t)) (custom-set-faces ;; custom-set-faces was added by Custom -- don't edit or cut/paste it! ;; Your init file should contain only one such instance. ) Thanks, Chris