gnu-emacs-sources
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: where-am-i, again


From: Thien-Thi Nguyen
Subject: Re: where-am-i, again
Date: Mon, 21 Jan 2013 07:28:11 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

() Samuel Wales <address@hidden>
() Sun, 20 Jan 2013 09:42:32 -0700

   On 1/20/13, Thien-Thi Nguyen <address@hidden> wrote:
   > Here it is again, redesigned:

   What does this package do?

It provides a single command ‘where-am-i’ (see docstring).

To play, ‘M-x load-file’ it, visit (e.g.) line 767 of file src/sgfv.scm
of <http://www.gnuvola.org/software/sgf-utils/sgf-utils-0.6.tar.xz>, and
type ‘C-l’ (to recenter) followed by ‘M-x where-am-i RET’.

You should see 9 lines "appear", starting w/ the top-level ‘define’.
(Rather, those lines are the ones that remain, it is the intervening
ones that disappear.)  Now, type SPC and the buffer will revert to its
previous appearance (If All Goes Well).

You can think of it as a generalization of ‘which-function-mode’, but
less passive and more pretty (aggressive beauty for the parens, yeah!).
The command name comes from the keybinding i use personally, ‘M-?’.

Another thing that it does is take up disk space and manifest bugs that
invite the curious to study and squash.  (That is the alluring yin.  :-)

-- 
Thien-Thi Nguyen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]