On Wed, Feb 2, 2011 at 5:01 AM, Helmut Eller heller@common-lisp.net wrote:
Sorry for the delay in responding.
i is already reserved for the inferior lisp buffer.
Yes, my reasoning was that the inspector is actually used more often.
Maybe p for insPector?
Sure. One might just as well ask, "Why not f for inFerior?" :P "I" for Inspector seems like a more reasonable mnemonic.
Why is
(def-slime-selector-method ?p "Select the inspector buffer." (slime-buffer-name :inspector))
not enough?
Well, first off it is worth noting that the above verbosity is as equally broken as the more terse solution you suggest.
The problem is that switching to the inspector may cause weird behaviour depending on what is/isn't already in the inspector. What I was trying to accomplish was to move forward/backward in the slime inspector stack if we land in an empty inspector buffer... I don't find a good solution for this given Emacs' current inability to manage window state/positioning/history reasonably :(
It would seem that Attila's addition of PRESERVE-WINDOW-CONFIG for `slime-selector' is an attempt at addressing similiar such concerns.
Helmut
-- /s_P\