emacs: refactor occur recipe