From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.devel Subject: Re: unknown location: definition in expression context in subform optname-from of "_^" Date: Sat, 28 Jan 2012 02:02:59 -0500 Message-ID: <87r4ykl36k.fsf@netris.org> References: <4F20CEE7.4000403@gmail.com> <1327551746.85660.YahooMailNeo@web37907.mail.mud.yahoo.com> <4F21BFFC.8040300@gmail.com> <87d3a6ovhs.fsf@netris.org> <4F21F635.4020404@gmail.com> <8762fxq3rr.fsf@netris.org> <4F220F84.5090601@gmail.com> <4F221BD3.8090105@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1327734251 15300 80.91.229.12 (28 Jan 2012 07:04:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 28 Jan 2012 07:04:11 +0000 (UTC) Cc: guile-devel@gnu.org To: Bruce Korb Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Jan 28 08:04:07 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rr2KU-00057o-4g for guile-devel@m.gmane.org; Sat, 28 Jan 2012 08:04:06 +0100 Original-Received: from localhost ([::1]:56907 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rr2KT-00069L-J1 for guile-devel@m.gmane.org; Sat, 28 Jan 2012 02:04:05 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:37388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rr2KO-00068g-MK for guile-devel@gnu.org; Sat, 28 Jan 2012 02:04:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rr2KN-0002br-Dl for guile-devel@gnu.org; Sat, 28 Jan 2012 02:04:00 -0500 Original-Received: from world.peace.net ([96.39.62.75]:53304) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rr2KN-0002bR-B4 for guile-devel@gnu.org; Sat, 28 Jan 2012 02:03:59 -0500 Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1Rr2KI-000192-0l; Sat, 28 Jan 2012 02:03:54 -0500 In-Reply-To: <4F221BD3.8090105@gmail.com> (Bruce Korb's message of "Thu, 26 Jan 2012 19:36:51 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 96.39.62.75 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:13720 Archived-At: Hi Bruce, In case you didn't see the other thread here on guile-devel: the bugs with this error message (and a few others) have been fixed on the stable-2.0 branch, such that with Guile 2.0.4 the error message would have been something like this: /old-home/ROOT/usr/local/share/autogen/aginfo.tpl:171:2: definition in expression context, where definitions are not allowed, in form (define optname-from "_^") Bruce Korb writes: > I need to be able to locate a guile scheme expression in my ASCII > text input and hand it off to Guile, telling it the file name and > line number and column number of where I found the string. I agree that we should add a function or two to handle this more conveniently. Let's talk about it after 2.0.4 has been released, and hopefully we can get it into 2.0.5. Thanks, Mark