help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ctypes.el is stupid (by default)


From: Kevin Rodgers
Subject: Re: ctypes.el is stupid (by default)
Date: Wed, 28 Dec 2005 14:38:20 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

shreevatsa wrote:
Ok, c++-font-lock-extra-types somewhat fixes the issue -- I added
(setq c++-font-lock-extra-types
      (append
       '(
         "ios" "string" "rope" "list" "slist" "deque" "vector" "set"
         "multiset" "map" "multimap" "hash" "stack" "queue"
"priority_queue"
         "iterator" "const_iterator" "reverse_iterator"
         "const_reverse_iterator" "reference" "const_reference")
       c-font-lock-extra-types
       c++-font-lock-extra-types))
to my .emacs, and everything seems to work AFAIK. Thanks a lot.

But in general: How do I know that this is all there is? Why should I
have to do this, why can't ctypes.el NOT mess up an existing setup?

One problem is that merely loading ctypes affects subsequent editing.
You could try to disable ctypes with:
(remove-hook 'find-file-hooks 'ctypes-find-file-hook)

--
Kevin Rodgers





reply via email to

[Prev in Thread] Current Thread [Next in Thread]