merge emacs fixes
Merge branch 'emacs-mode'
restore emacs screenToTextCoordinates
make emacs mark a property of session
Fix CTRL-a to work as expected in emacs mode; restore former values of selection settings when switching keyboard or session
Merge pull request #1223 from chetstone/master

emacs mode enhancements