emacs: first pass at a prefix impl