emacs: define some captures and more