Greetings earthlings, Here it is again, redesigned:
where-am-i.el
Description: application/emacs-lisp
Since the previous incarnation[0], there is no longer any requirement for ‘cl’, the user experience is more fluid (unless you are in the habit of typing SPC after invocation, in which case you will probably want to either develop another habit, or Modify The Source!, adding perhaps some kind of configuration variable, and sending the patch upstream), and more contextual information is given. For example, adding ‘where-am-i’ to ‘next-error-hook’ is now almost enjoyable, even in non-lispy modes.
OTOH, the implementation still relies on font lock and ‘ignore-errors’,
which is not so elegant. Too, there are a bunch of ‘setq’s that scream
(to my ears, at least) for a named-‘let’ rewor[dk]ing. Someday...
Anyway,
"keep the function small, so it fits on a single screen."
hogwash! i grow my trees as i please, by which i mean:
wonderful and well-conceived,
muscular and multi-leaved,
in Emacs (always), w/ roots never far from the stream.
Happy hacking,
thi
_____________________________________
[0] http://lists.gnu.org/archive/html/gnu-emacs-sources/2007-07/msg00000.html
_______________________________________________ gnu-emacs-sources mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
