From tcr at freebits.de Sun Mar 16 22:18:00 2008 From: tcr at freebits.de (Tobias C. Rittweiler) Date: Sun, 16 Mar 2008 23:18:00 +0100 Subject: [climacs-devel] Inspector-Hook Message-ID: <87hcf6gvon.fsf@freebits.de> Hi, I have been in a position today where I really wished a way to inspect an object from within a function contour. However, I find the native inspector of SBCL not really convenient, and would have really liked if (inspect foo) would pop up the Slime inspector. For this, I'd like to write a short CDR proposing an *INSPECTOR-HOOK* that works very similiarly to *DEBUGGER-HOOK*. Has any Climacs hacker thought about this issue before? Does Climacs contain any trick given its strong OO nature? -T. From athas at sigkill.dk Sun Mar 16 22:58:16 2008 From: athas at sigkill.dk (Troels Henriksen) Date: Sun, 16 Mar 2008 23:58:16 +0100 Subject: [climacs-devel] Inspector-Hook In-Reply-To: <87hcf6gvon.fsf@freebits.de> (Tobias C. Rittweiler's message of "Sun, 16 Mar 2008 23:18:00 +0100") References: <87hcf6gvon.fsf@freebits.de> Message-ID: <874pb6qnsn.fsf@lambda.athas.dyndns.dk> "Tobias C. Rittweiler" writes: > Has any Climacs hacker thought about this issue before? Does Climacs > contain any trick given its strong OO nature? No, we just call CLOUSEAU:INSPECTOR. An inspector hook sounds like a fair idea, though. -- \ Troels /\ Henriksen From nikodemus at random-state.net Mon Mar 17 11:07:41 2008 From: nikodemus at random-state.net (Nikodemus Siivola) Date: Mon, 17 Mar 2008 13:07:41 +0200 Subject: [climacs-devel] Inspector-Hook In-Reply-To: <87hcf6gvon.fsf@freebits.de> References: <87hcf6gvon.fsf@freebits.de> Message-ID: <633d72b0803170407l517695f3t16ce8d1c858bc65a@mail.gmail.com> On Mon, Mar 17, 2008 at 12:18 AM, Tobias C. Rittweiler wrote: > I have been in a position today where I really wished a way to inspect > an object from within a function contour. However, I find the native > inspector of SBCL not really convenient, and would have really liked if > (inspect foo) would pop up the Slime inspector. FWIW, you can use SB-IMPL::*INSPECT-HOOK* for this. > For this, I'd like to write a short CDR proposing an *INSPECTOR-HOOK* > that works very similiarly to *DEBUGGER-HOOK*. ...but a CDR would indeed be nice! Cheers, -- Nikodemus From tcr at freebits.de Mon Mar 17 12:50:39 2008 From: tcr at freebits.de (Tobias C. Rittweiler) Date: Mon, 17 Mar 2008 13:50:39 +0100 Subject: [climacs-devel] Re: Inspector-Hook References: <87hcf6gvon.fsf@freebits.de> <633d72b0803170407l517695f3t16ce8d1c858bc65a@mail.gmail.com> Message-ID: <8763vlpl9c.fsf@freebits.de> "Nikodemus Siivola" writes: > On Mon, Mar 17, 2008 at 12:18 AM, Tobias C. Rittweiler wrote: > > > I have been in a position today where I really wished a way to inspect > > an object from within a function contour. However, I find the native > > inspector of SBCL not really convenient, and would have really liked if > > (inspect foo) would pop up the Slime inspector. > > FWIW, you can use SB-IMPL::*INSPECT-HOOK* for this. ITYM *INSPECT-FUN*, didn't you? -T. From nikodemus at random-state.net Mon Mar 17 13:06:50 2008 From: nikodemus at random-state.net (Nikodemus Siivola) Date: Mon, 17 Mar 2008 15:06:50 +0200 Subject: [climacs-devel] Re: Inspector-Hook In-Reply-To: <8763vlpl9c.fsf@freebits.de> References: <87hcf6gvon.fsf@freebits.de> <633d72b0803170407l517695f3t16ce8d1c858bc65a@mail.gmail.com> <8763vlpl9c.fsf@freebits.de> Message-ID: <633d72b0803170606p334236c8o4bd588831a265c62@mail.gmail.com> On Mon, Mar 17, 2008 at 2:50 PM, Tobias C. Rittweiler wrote: > > FWIW, you can use SB-IMPL::*INSPECT-HOOK* for this. > > ITYM *INSPECT-FUN*, didn't you? Yes, oops! I blame trying to lay off coffee. Cheers, -- Nikodemus From tcr at freebits.de Thu Mar 20 01:20:06 2008 From: tcr at freebits.de (Tobias C. Rittweiler) Date: Thu, 20 Mar 2008 02:20:06 +0100 Subject: [climacs-devel] Re: Inspector-Hook References: <87hcf6gvon.fsf@freebits.de> Message-ID: <874pb2p4xl.fsf@freebits.de> "Tobias C. Rittweiler" writes: > For this, I'd like to write a short CDR proposing an *INSPECTOR-HOOK* > that works very similiarly to *DEBUGGER-HOOK*. A draft of the proposal can be found at http://thread.gmane.org/gmane.lisp.cdr.general/101 Comments should go to cdr-discuss mailinglist. -T.