modified emacs configures based on redguardtoo