[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
where-am-i, again
From: |
Thien-Thi Nguyen |
Subject: |
where-am-i, again |
Date: |
Sun, 20 Jan 2013 13:59:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) |
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
- where-am-i, again,
Thien-Thi Nguyen <=