From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.user Subject: Re: Guile top-level functions Date: Tue, 18 Jan 2005 11:23:14 +1100 Message-ID: <87is5vfuvh.fsf@zip.com.au> References: <20050116195434.92378.qmail@web14308.mail.yahoo.com> <87sm50x6m0.fsf@zip.com.au> <41EB79A3.3040608@ossau.uklinux.net> <87r7kjg0jl.fsf@zip.com.au> <41EC4729.6020601@ossau.uklinux.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1106008344 18625 80.91.229.6 (18 Jan 2005 00:32:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Jan 2005 00:32:24 +0000 (UTC) Cc: guile-user@gnu.org, spikegran@earthlink.net Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Jan 18 01:32:11 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CqhI3-0006kJ-00 for ; Tue, 18 Jan 2005 01:32:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CqhTv-0000Hz-BF for guile-user@m.gmane.org; Mon, 17 Jan 2005 19:44:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CqhNZ-0004SE-FS for guile-user@gnu.org; Mon, 17 Jan 2005 19:37:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CqhNT-0004Nz-Oq for guile-user@gnu.org; Mon, 17 Jan 2005 19:37:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CqhNR-0004KQ-Sl for guile-user@gnu.org; Mon, 17 Jan 2005 19:37:46 -0500 Original-Received: from [61.8.0.84] (helo=mailout1.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cqh9Z-0002yA-A1 for guile-user@gnu.org; Mon, 17 Jan 2005 19:23:25 -0500 Original-Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.0.87]) by mailout1.pacific.net.au (8.12.3/8.12.3/Debian-7.1) with ESMTP id j0I0NJA6008740; Tue, 18 Jan 2005 11:23:19 +1100 Original-Received: from localhost (ppp2043.dyn.pacific.net.au [61.8.32.67]) by mailproxy2.pacific.net.au (8.12.3/8.12.3/Debian-7.1) with ESMTP id j0I0NHxG018134; Tue, 18 Jan 2005 11:23:19 +1100 Original-Received: from gg by localhost with local (Exim 3.36 #1 (Debian)) id 1Cqh9P-0001al-00; Tue, 18 Jan 2005 11:23:15 +1100 Original-To: Neil Jerram In-Reply-To: <41EC4729.6020601@ossau.uklinux.net> (Neil Jerram's message of "Mon, 17 Jan 2005 23:15:53 +0000") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:4103 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:4103 Neil Jerram writes: > > guile> (define (x) (ddd)) > guile> (x) Actually I was thinking of something like (define callback noop) ... (set! callback (lambda () (display 'hello))) ... (callback) when the callback is made you'd like to know where that anonymous procedure came from. I've been hitting this lately in guile-gtk signal callbacks. The calls are all made from the main loop, so the location of the call doesn't help, you'd like to know the location of the procedure's creation. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user