cython-mode.el
Neal Becker
ndbecker2 at gmail.com
Wed Mar 5 07:15:20 EST 2008
Michael Sperber wrote:
>
> Neal Becker <ndbecker2 at gmail.com> writes:
>
>> On Wednesday 05 March 2008, Michael Sperber wrote:
>>> Neal Becker <ndbecker2 at gmail.com> writes:
>>> > Yes, but how do I know which revision I need?
>>>
>>> I just re-read the thread, and am not following: Didn't Jerry suggest
>>> that you're using an XEmacs that's too old? Have you tried using the
>>> latest state of the xemacs-beta repository?
>>
>> I thought he said the patch was not in xemacs-beta, only in the other hg
>> repo (sorry, I forgot the name).
>
> Yes, but they've been synched since.
>
OK, I just built a new xemacs from xemacs-beta hg.
Now cython-mode.el still doesn't work, but shows the opposite behavior. Now
it highlights all the python keywords, but not the new cython ones.
Here is cython-mode.el:
;;;; `Cython' mode.
(add-to-list 'auto-mode-alist '("\\.pyx\\'" . cython-mode))
(require 'python-mode)
(define-derived-mode cython-mode python-mode "Cython"
(font-lock-add-keywords
nil
`((concat "\\<\\(NULL"
"\\|c\\(def\\|har\\|typedef\\)"
"\\|e\\(num\\|xtern\\)"
"\\|float"
"\\|in\\(clude\\|t\\)"
"\\|object\\|public\\|struct\\|type\\|union\\|void"
"\\)\\>")
1 font-lock-keyword-face t)))
More information about the XEmacs-Beta
mailing list