From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bruce Korb Newsgroups: gmane.lisp.guile.devel Subject: Re: unknown location: definition in expression context in subform optname-from of "_^" Date: Sun, 29 Jan 2012 09:40:26 -0800 Message-ID: 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> <87r4ykl36k.fsf@netris.org> <87obtnzm2p.fsf@pobox.com> <87d3a3lid6.fsf@netris.org> <87k44bzb7l.fsf@pobox.com> <878vkrkuz7.fsf@netris.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1327858849 29373 80.91.229.3 (29 Jan 2012 17:40:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 29 Jan 2012 17:40:49 +0000 (UTC) Cc: Andy Wingo , guile-devel@gnu.org To: Mark H Weaver Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Jan 29 18:40:48 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RrYkC-0001Rx-Ef for guile-devel@m.gmane.org; Sun, 29 Jan 2012 18:40:48 +0100 Original-Received: from localhost ([::1]:48132 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrYkC-0004Gw-0X for guile-devel@m.gmane.org; Sun, 29 Jan 2012 12:40:48 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:38854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrYk8-0004Gp-FQ for guile-devel@gnu.org; Sun, 29 Jan 2012 12:40:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RrYk6-0005YU-SL for guile-devel@gnu.org; Sun, 29 Jan 2012 12:40:44 -0500 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:59255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrYk6-0005Xt-I4 for guile-devel@gnu.org; Sun, 29 Jan 2012 12:40:42 -0500 Original-Received: by iadk27 with SMTP id k27so5372540iad.0 for ; Sun, 29 Jan 2012 09:40:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=+eWPjhe/5zlhAN5CoBZ6/LPTTSyprY6jMOuhTCaqWR4=; b=m5W8jHro9ze87/mhiIAZgO0s4GZUcpevCF6AawpCs6cKP3exxZIA7WdVc6KwSdOv8G VaBrvUUwnIF9s/Y1doNmEt2lSiwx8cjILy5PLaYh315pbykOPcac3vic1wG1USy82126 DGCzR/jEYgS1fdOx5Tua4GZouhjt3bPfXToDU= Original-Received: by 10.50.89.197 with SMTP id bq5mr14760258igb.24.1327858841248; Sun, 29 Jan 2012 09:40:41 -0800 (PST) Original-Received: by 10.43.52.65 with HTTP; Sun, 29 Jan 2012 09:40:26 -0800 (PST) In-Reply-To: <878vkrkuz7.fsf@netris.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.169 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:13728 Archived-At: Hi Mark, On Sat, Jan 28, 2012 at 8:12 PM, Mark H Weaver wrote: > In short, this single function allows code to do the ideal thing > relatively painlessly. =A0Typical usage might be something like this: > > =A0SCM > =A0my_eval (const char *string, const char *file_name, > =A0 =A0 =A0 =A0 =A0long line, long column) > =A0{ > =A0 =A0return scm_eval_string_from_file > =A0 =A0 =A0(scm_from_locale_string (string), SCM_UNDEFINED, > =A0 =A0 =A0 scm_from_locale_string (file_name), line, column, 0); > =A0} > > What do you think? I think it is what I've wanted for years. Thank you!! Any of these variations would make me happy. Cheers - Bruce