Saw this on the xemacs-beta mailing list. Thought I might see if someone here knows the answer.
Skip
--- Begin Message ---This one works with gnu-emacs, but not xemacs. Anyone know why? It's supposed to just add some font-lock keywords to python mode, but it seems to override the python keywords instead (only the cython additions seen below get highlighted, not the original python ones). ;;;; `Cython' mode. (add-to-list 'auto-mode-alist '("\\.pyx\\'" . cython-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)))) _______________________________________________ XEmacs-Beta mailing list [EMAIL PROTECTED] http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta
--- End Message ---
_______________________________________________ Python-mode mailing list [email protected] http://mail.python.org/mailman/listinfo/python-mode
