From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Ellis Newsgroups: gmane.emacs.help Subject: cc mode / font-lock help Date: Tue, 25 Aug 2009 13:52:58 -0700 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=000e0cd16e7ef893830471fd8443 X-Trace: ger.gmane.org 1251240515 31064 80.91.229.12 (25 Aug 2009 22:48:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Aug 2009 22:48:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 26 00:48:28 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mg4oV-0003F9-N1 for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Aug 2009 00:48:28 +0200 Original-Received: from localhost ([127.0.0.1]:47512 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mg4oU-0008Kj-JY for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Aug 2009 18:48:26 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mg30s-0001W8-Rh for help-gnu-emacs@gnu.org; Tue, 25 Aug 2009 16:53:06 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mg30o-0001Hp-8O for help-gnu-emacs@gnu.org; Tue, 25 Aug 2009 16:53:06 -0400 Original-Received: from [199.232.76.173] (port=43147 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mg30n-0001HB-Ou for help-gnu-emacs@gnu.org; Tue, 25 Aug 2009 16:53:01 -0400 Original-Received: from mail-px0-f176.google.com ([209.85.216.176]:35889) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mg30m-0007Ic-JF for help-gnu-emacs@gnu.org; Tue, 25 Aug 2009 16:53:00 -0400 Original-Received: by pxi6 with SMTP id 6so6440513pxi.27 for ; Tue, 25 Aug 2009 13:52:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=oOozERxw+ufI8HQK+JXlk4DguRJBOPeT91mLMPxv4vc=; b=J3y+H5Xuw10d2LIpmnm9mDfPTSMvXQ+9BHEkkV4/xSUZ3ByFs9xmRzalAb+VHGnzOb KHSlK4g3tFC/3mSFqzgvHzfJGGRgmeTjMtlFJeeeI94Q1ZhiDFBAQRFiJ+Qr1MkQ0jy0 lFoqsMhWjy2+3c/RXq2EBMqoBWBmNUu9Cunrc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=h4ph4Ve3WtoXchefq+oIMm9n+7qlNcCaRGqV9E++x7KPA/O6eGT4Ut3428xKvEUMVb 9+EFxXXuKs+gQPbUCcv9HTf2ZK9s2+dDI34edsPZ1uSH6sRTZjn3UeQN5hj/OZE9DwB/ eF77sve5H6iWgxhVXfTkwYIBl4oQg8h15npbM= Original-Received: by 10.140.141.20 with SMTP id o20mr3055542rvd.188.1251233578389; Tue, 25 Aug 2009 13:52:58 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Tue, 25 Aug 2009 18:45:39 -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:67535 Archived-At: --000e0cd16e7ef893830471fd8443 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I recently upgraded from version 21.3.1 to version 23.1.1. I am using the ctypes plugin to enhance the syntax highlighting in cc-mode and it appears to have stopped working in version 23.1.1. I am not very familiar with lisp, but from what I can gather, it adds entries to the c-font-lock-extra-types variable in cc-mode, and that functionality still works. Once the list is created, however, none of the items in the list for c-font-lock-extra-types are highlighted. I have tried adding keywords using the font-lock-add-keywords function in my .emacs file and that seems to work just fine. All of the default syntax highlighting in cc-mode also seems to work fine. What seems to be broken for me is only the c-font-lock-extra-types list. As a side not, in trying to figure this out on my own, I noticed that the cc-mode that came with version 23.1.1 is much newer than the last released package on http://cc-mode.sourceforge.net/ and it seems impossible to find an updated version of the ctypes plugin. Does anyone happen to have a link to the up-to-date websites for these packages, if they exist? --000e0cd16e7ef893830471fd8443 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I recently upgraded from version 21.3.1 to version 23.1.1.=A0 I am using th= e ctypes plugin to enhance the syntax highlighting in cc-mode and it appear= s to have stopped working in version 23.1.1.=A0 I am not very familiar with= lisp, but from what I can gather, it adds entries to the c-font-lock-extra= -types variable in cc-mode, and that functionality still works.=A0 Once the= list is created, however, none of the items in the list for c-font-lock-ex= tra-types are highlighted.=A0

I have tried adding keywords using the font-lock-add-keywords function = in my .emacs file and that seems to work just fine.=A0 All of the default s= yntax highlighting in cc-mode also seems to work fine.=A0 What seems to be = broken for me is only the c-font-lock-extra-types list.

As a side not, in trying to figure this out on my own, I noticed that t= he cc-mode that came with version 23.1.1 is much newer than the last releas= ed package on http://cc-mode.so= urceforge.net/ and it seems impossible to find an updated version of th= e ctypes plugin.=A0 Does anyone happen to have a link to the up-to-date web= sites for these packages, if they exist?
--000e0cd16e7ef893830471fd8443--