From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludovic.courtes@laas.fr (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: Getting source location information Date: Wed, 30 Nov 2005 18:39:51 +0100 Organization: LAAS-CNRS Message-ID: <877jaqqbko.fsf@laas.fr> References: <200511272025.32395.bruce.korb@gmail.com> <200511300730.44076.bruce.korb@gmail.com> <87psoixgtv.fsf@laas.fr> <200511300858.49886.bruce.korb@gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1133375694 20097 80.91.229.2 (30 Nov 2005 18:34:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 Nov 2005 18:34:54 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Nov 30 19:34:48 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EhWPT-0001nT-LQ for guile-devel@m.gmane.org; Wed, 30 Nov 2005 19:10:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EhWPR-00060p-Um for guile-devel@m.gmane.org; Wed, 30 Nov 2005 13:10:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EhVwM-0006LK-Vz for guile-devel@gnu.org; Wed, 30 Nov 2005 12:40:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EhVwJ-0006Jo-R4 for guile-devel@gnu.org; Wed, 30 Nov 2005 12:40:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EhVwJ-0006JV-H1 for guile-devel@gnu.org; Wed, 30 Nov 2005 12:40:19 -0500 Original-Received: from [140.93.0.15] (helo=laas.laas.fr) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EhVwJ-0002dO-Af for guile-devel@gnu.org; Wed, 30 Nov 2005 12:40:19 -0500 Original-Received: by laas.laas.fr (8.13.1/8.13.4) with SMTP id jAUHeDpp028555; Wed, 30 Nov 2005 18:40:15 +0100 (CET) Original-To: Bruce Korb X-URL: http://www.laas.fr/~lcourtes/ X-Revolutionary-Date: 10 Frimaire an 214 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEB1F5364 X-PGP-Key: http://www.laas.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 821D 815D 902A 7EAB 5CEE D120 7FBA 3D4F EB1F 5364 X-OS: powerpc-unknown-linux-gnu Mail-Followup-To: Bruce Korb , guile-devel@gnu.org In-Reply-To: <200511300858.49886.bruce.korb@gmail.com> (Bruce Korb's message of "Wed, 30 Nov 2005 08:58:49 -0800") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) X-Spam-Score: 0 () X-Scanned-By: MIMEDefang at CNRS-LAAS X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5435 Archived-At: Bruce Korb writes: > *Thank you*, Ludvic! Now we're getting some where. :-D Cool. ;-) > So, again, I need clarity. Are you saying this: First, the `scm_sym_*' things should be lower-case (I was using the GNU notation for function arguments). It's more complicated than that in fact. Source properties must be attached to S-exps (in fact, pairs), not to the source string. And source properties are actually attached by `scm_read ()' and the function it calls. So I guess we're almost screwed because `scm_read ()' gets location info from the port it's reading from. So if you provide it with a string port, that will not work. I can't think of a hack to work around that, so we might even be screwed for good (well, the hack you originally posted does the job but with a very coarse grain). Now you just have to hope that a Guile developer will read this message and post a bright solution. > Well, actually, I disagree. If any application wants to cope with > embedded Guile extensions in their input files You may agree that this is not a very common case. :-) > Now, the 1.7 implementation has invalidated > portions of the non-deprecated 1.6 interface that I have been using. Well, *this* is arguably problematic. Hope this helps, Ludo'. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel