current state before tryingt o fix emacs
not everything is enabled but my emacs configs now work for emacs 24