From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.devel Subject: Re: file names embedded in .go Date: Tue, 20 Apr 2010 12:34:11 +0200 Message-ID: <87wrw2ct0c.fsf@ambire.localdomain> References: <87tyr7yv25.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1271761042 12818 80.91.229.12 (20 Apr 2010 10:57:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Apr 2010 10:57:22 +0000 (UTC) To: guile-devel Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Apr 20 12:57:20 2010 connect(): No such file or directory Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O4B8p-0007In-Lo for guile-devel@m.gmane.org; Tue, 20 Apr 2010 12:57:20 +0200 Original-Received: from localhost ([127.0.0.1]:48915 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4B8p-0005Z1-75 for guile-devel@m.gmane.org; Tue, 20 Apr 2010 06:57:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4B8k-0005Yk-Pw for guile-devel@gnu.org; Tue, 20 Apr 2010 06:57:14 -0400 Original-Received: from [140.186.70.92] (port=59145 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4B8i-0005YQ-DK for guile-devel@gnu.org; Tue, 20 Apr 2010 06:57:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4B8g-0003Uj-QM for guile-devel@gnu.org; Tue, 20 Apr 2010 06:57:12 -0400 Original-Received: from host137-69-dynamic.21-79-r.retail.telecomitalia.it ([79.21.69.137]:53782 helo=ambire.localdomain) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4B8d-0003TJ-6b for guile-devel@gnu.org; Tue, 20 Apr 2010 06:57:07 -0400 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1O4AmS-0004WQ-9b for guile-devel@gnu.org; Tue, 20 Apr 2010 12:34:12 +0200 In-Reply-To: (Andy Wingo's message of "Tue, 20 Apr 2010 11:45:33 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:10268 Archived-At: () Andy Wingo () Tue, 20 Apr 2010 11:45:33 +0200 we should just switch to use ELF at some point. OK, i'll keep my ear to the ground for that. > Maybe we could just include the source > verbatim in such a section (and avoid mapping it at runtime). As Jao notes it is useful to be able to map at runtime, and currently we do this well, mapping to line and column within parts of procedures. But it would be good to be able to map to expressions too, and having the original source available without mapping to the filesystem should be an option. It's tough without having the whole environment, though. Something to think about :) Agreed. Sorry, i wasn't precise. I should have said: > (and map it only if needed at runtime) Anyone interested in this kind of stuff should probably take a look at Guile 1.4.x script =E2=80=98scan-md-module=E2=80=99, which does things t= he hard way. That is, if you find yourself doing the same, beware! thi