One thing (amongst many) that Remacs has taught me: there's a lot of well documented C code in Emacs.