unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Paul Ellis <pellis@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: cc mode / font-lock help
Date: Tue, 25 Aug 2009 13:52:58 -0700	[thread overview]
Message-ID: <d00999500908251352x26c36eeawe055f6f88282cecc@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1108 bytes --]

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?

[-- Attachment #2: Type: text/html, Size: 1177 bytes --]

             reply	other threads:[~2009-08-25 20:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-25 20:52 Paul Ellis [this message]
2009-08-26 14:30 ` cc mode / font-lock help Alan Mackenzie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d00999500908251352x26c36eeawe055f6f88282cecc@mail.gmail.com \
    --to=pellis@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).