Dot-emacs is a project mainly written in EMACS LISP and C++, it's free.
emacs setting
.emacs files and other lisp files for Arch Linux and Mac OS X