extempore.el: improved imenu support