From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: robert.thorpe@antenova.com (Rob Thorpe) Newsgroups: gmane.emacs.help Subject: Re: comments are not highlighted Date: 17 Sep 2003 09:30:11 -0700 Organization: http://groups.google.com/ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1a61f7e5.0309170830.3b0a4bbf@posting.google.com> References: NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1063817392 1186 80.91.224.253 (17 Sep 2003 16:49:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 Sep 2003 16:49:52 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 17 18:49:50 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19zfV0-0007nf-00 for ; Wed, 17 Sep 2003 18:49:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19zfQz-00045d-9e for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Sep 2003 12:45:41 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 17 Original-NNTP-Posting-Host: 212.135.40.163 Original-X-Trace: posting.google.com 1063816214 10823 127.0.0.1 (17 Sep 2003 16:30:14 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: 17 Sep 2003 16:30:14 GMT Original-Xref: shelby.stanford.edu gnu.emacs.help:116671 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:12593 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:12593 Prem Mallappa wrote in message news:... > Hi > > i opened file /usr/src/kernel-source-2.xxx/drivers/net/eepro100.c > > which has arround 150 lines of comments. at line 184 or so.. . Emacs stops > changing the color (global-font-lock-mode) of comments after certain point > ( 100 lines or so) after that it shows the comments as normal text and > highlights the keywords such as "do" "for" etc.. > > One more thing i noticed i selected whole buffer and said "indent-region" > Now everything is fine.. > Why emacs is unable to see the comments as *comments* > I am running 21.3.1 Got no idea what causes that, but M-x lazy-lock-mode RET fixes it Bug in jit lock? I don't even know if its gauranteed to work in all situations.