Emacs inspired macro framework for Qt