-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 =pod Earlier this week, I took C and added support for the new 5.10 features. It now knows how to highlight C, C, C, and C blocks. It also highlights C as though it were C, because I'm using Schwern's C module pretty heavily now. You can get my hacked version from L I haven't officially sent a patch yet, because I'd like some people to test it before I send the patch in. C is 9000 lines of regexes, so it seems easy to fuck up. It's been working for me for the last week or so, though, so don't hesitate to try it out. At some point, I'd like to factor out this huge file into sub-files (one for syntax, one for code completion, one for documentation, etc.) and I'd like to clean up the regexes. Right now it looks like the regexes are auto-generated by a keyboard macro: ;; ... cut ... ;; "setpriority" "setprotoent" "setpwent" "setservent" ;; "setsockopt" "shmctl" "shmget" "shmread" "shmwrite" ;; "shutdown" "sin" "sleep" "socket" "socketpair" ;; "sprintf" "sqrt" "srand" "stat" "substr" "symlink" ;; ... cut ... r\\(index\\|and\\|mdir\\|e\\(quire\\|ad\\(pipe\\|\\|lin \\(k\\|e\\)\\|dir\\)\\|set\\|cv\\|verse\\|f\\|winddir\\|name \\)\\)\\|s\\(printf\\|qrt\\|rand\\|tat\\|ubstr\\|e\\(t\\(p\\(r \\(iority\\|otoent\\)\\|went\\|grp\\)\\|hostent\\|s\\(ervent\\| ockopt\\)\\|netent\\|grent\\)\\|ek\\(\\|dir\\)\\|lect\\| m\\(ctl\\|op\\|get\\)\\|nd\\)\\|h\\(utdown\\|m\\(read\\|ctl\\| write\\|get\\)\\)\\|y\\(s\\(read\\|call\\|open\\|tem\\|write\\)\\| This is ugly, so I think I'll write a macro to expand this out at compile time instead. The author of a program should never have to worry about writing optimized regexes when the builtin C function will handle this for him automatically. Anyway, any feedback would be appreciated. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHkCiz2rw+dVvzZm0RAsJPAJ9lbVD7OtjDjGPDwkA2I9Cyh6aH4QCdFDt5 qRmp6/jmcrFj8ecwTASc3IQ= =nmqF -----END PGP SIGNATURE-----