From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Solly Brown Newsgroups: gmane.emacs.help Subject: Re: prolog users? Date: Thu, 24 Aug 2006 16:55:37 +1000 Message-ID: <44ED4D69.2010201@cse.unsw.edu.au> References: <44ED2219.7040400@cse.unsw.edu.au> <87bqqa7j23.fsf@robotron.kosmorama> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1156433933 22060 80.91.229.2 (24 Aug 2006 15:38:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 24 Aug 2006 15:38:53 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 24 17:38:52 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GGHGF-0007F8-EO for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Aug 2006 17:36:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GGHGE-0005sj-TB for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Aug 2006 11:36:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GG979-0007Gy-No for help-gnu-emacs@gnu.org; Thu, 24 Aug 2006 02:54:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GG977-0007Fk-Uq for help-gnu-emacs@gnu.org; Thu, 24 Aug 2006 02:54:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GG977-0007Fc-PF for help-gnu-emacs@gnu.org; Thu, 24 Aug 2006 02:54:53 -0400 Original-Received: from [129.94.242.59] (helo=tone.orchestra.cse.unsw.EDU.AU) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GG9F7-0006A6-DF for help-gnu-emacs@gnu.org; Thu, 24 Aug 2006 03:03:10 -0400 Original-Received: From [129.94.173.75] ([129.94.173.75] == gooseylucy.cse.unsw.EDU.AU) (auth-user sollyb) (cse-authentic-sender sollyb) (for ) By tone With Smtp ; Thu, 24 Aug 2006 16:54:50 +1000 Original-To: help-gnu-emacs@gnu.org User-Agent: Thunderbird 1.5.0.5 (X11/20060728) In-Reply-To: <87bqqa7j23.fsf@robotron.kosmorama> X-Mailman-Approved-At: Thu, 24 Aug 2006 11:36:09 -0400 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:36909 Archived-At: David Hansen wrote: > On Thu, 24 Aug 2006 13:50:49 +1000 Solly Brown wrote: >> How can I change the face of prolog comments (ie. lines >> starting with a % symbol)? >> >> > C-u C-x = should tell you which face is used for > highlighting. BTW in GNU Emacs 22 (thats the developer > version) it's font-lock-comment-face. > > David > OK this is a bit weird. This is what I've got for the text properties of my comments: face font-lock-comment-face fontified t However my comments don't show up in the font-lock-comment-face. Instead, they appear to be showing up with "firebrick-italic" face. If I change the properties of the font-lock-comment-face (making it green, say) then new comments that I type in do indeed appear in green. However, when I type C-l to refontify the existing comments, then instead of everything turning green, all of my new comments revert to firebrick-italic (and the old ones are unchanged). The text properties still claims that the comments are using font-lock-comment-face, but clearly they're not. Something very odd going on there. Any more suggestions? Thanks, Solly