From MAILER-DAEMON Thu Dec 01 06:40:51 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RW50V-00011a-QV for mharc-guile-user@gnu.org; Thu, 01 Dec 2011 06:40:51 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RW50P-0000xp-M7 for guile-user@gnu.org; Thu, 01 Dec 2011 06:40:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RW50O-0001o8-7b for guile-user@gnu.org; Thu, 01 Dec 2011 06:40:45 -0500 Received: from mail-ee0-f41.google.com ([74.125.83.41]:40187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RW50N-0001mH-Pd for guile-user@gnu.org; Thu, 01 Dec 2011 06:40:44 -0500 Received: by eekc14 with SMTP id c14so1368211eek.0 for ; Thu, 01 Dec 2011 03:40:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=dUaiXL8EgOJm24h+wyJALuvg8e6e107OXydwQQWQ51s=; b=QrjMQP9NlaA7c3W13dQDV44vWzQDjsdnFfef4mEtB09X8A5CFvEmWYrXWlntYVMbRT Q/67rtztPChfTte48OaKRgbGUSahNfVJwlE2lHRGmyQx7IB0JTcERJlLwP7drYp3QbGG IUJvjOIRGwa+J3379R8sf1u+2FIFZYT0O9dv0= Received: by 10.14.15.90 with SMTP id e66mr852572eee.135.1322739642709; Thu, 01 Dec 2011 03:40:42 -0800 (PST) Received: from unknown-00-1d-4f-49-2d-04.home (host86-166-54-202.range86-166.btcentralplus.com. [86.166.54.202]) by mx.google.com with ESMTPS id 8sm16714750ees.2.2011.12.01.03.40.41 (version=SSLv3 cipher=OTHER); Thu, 01 Dec 2011 03:40:42 -0800 (PST) Message-ID: <4ED767B8.9000107@gmail.com> Date: Thu, 01 Dec 2011 11:40:40 +0000 From: Andrew Horton User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: guile-user@gnu.org Subject: getopt-long Content-Type: multipart/mixed; boundary="------------020302070301050006070105" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.83.41 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2011 11:40:50 -0000 This is a multi-part message in MIME format. --------------020302070301050006070105 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Recently I needed to be able to recognize multiple use of an option when using getopt-long. For example, the gcc "-L" option can be specified multiple times for various paths. The option-ref helper function only seems to get the most recent use of an option using assq. I couldn't see any other way in the getopt-long API to do it, so added a helper function option-ref-list (see patch vs stable-2.0). --------------020302070301050006070105 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="0001-Add-a-function-option-ref-list-to-getopt-long-to-all.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-Add-a-function-option-ref-list-to-getopt-long-to-all.pa"; filename*1="tch" >From 66723614a07b73d87cd018d2944e9f6040c8933c Mon Sep 17 00:00:00 2001 From: Andrew Horton Date: Wed, 30 Nov 2011 22:46:26 +0000 Subject: [PATCH] Add a function, option-ref-list, to getopt-long to allow multiple values to be retrieved for a specified argument. --- doc/ref/mod-getopt-long.texi | 25 +++++++++++++++++++++++-- module/ice-9/getopt-long.scm | 12 +++++++++++- 2 files changed, 34 insertions(+), 3 deletions(-) diff --git a/doc/ref/mod-getopt-long.texi b/doc/ref/mod-getopt-long.texi index 07fab81..745f5a6 100644 --- a/doc/ref/mod-getopt-long.texi +++ b/doc/ref/mod-getopt-long.texi @@ -7,8 +7,8 @@ @node getopt-long @section The (ice-9 getopt-long) Module -The @code{(ice-9 getopt-long)} module exports two procedures: -@code{getopt-long} and @code{option-ref}. +The @code{(ice-9 getopt-long)} module exports three procedures: +@code{getopt-long}, @code{option-ref}, and @code{option-ref-list}. @itemize @bullet @item @@ -21,6 +21,12 @@ structure that encapsulates the results of the parsing. @item @code{option-ref} then takes the parsed data structure and a specific option's name, and returns information about that option in particular. + +@item +@code{option-ref-list} also takes the parsed data structure and a specific +option's name, but returns a list of matching options. This is useful if +you want to allow an option to be specified multiple times with different +values. @end itemize To make these procedures available to your Guile script, include the @@ -33,6 +39,7 @@ top, before the first usage of @code{getopt-long} or @code{option-ref}. * Command Line Format:: The expected command line format. * getopt-long Reference:: Full documentation for @code{getopt-long}. * option-ref Reference:: Full documentation for @code{option-ref}. +* option-ref-list Reference:: Full documentation for @code{option-ref-list}. @end menu @@ -359,3 +366,17 @@ option value from the command line, or the default value. The special key @code{'()} can be used to get a list of all non-option arguments. + +@node option-ref-list Reference +@subsection Reference Documentation for @code{option-ref-list} + +@deffn {Scheme Procedure} option-ref-list options key default +Search @var{options} for any command line option named @var{key} and +return a list of matching values, if found. If none were found, @var{default} +is returned. This variant of @code{option-ref} is useful if you want the +user to be able to specify an option/value pair multiple times. +@var{options} must be the result of a call to @code{getopt-long}. +@end deffn + +@code{option-ref-list} always succeeds, either by returning the requested +option value from the command line, or the default value. diff --git a/module/ice-9/getopt-long.scm b/module/ice-9/getopt-long.scm index 930ac0d..38d5a32 100644 --- a/module/ice-9/getopt-long.scm +++ b/module/ice-9/getopt-long.scm @@ -158,11 +158,12 @@ (define-module (ice-9 getopt-long) #:use-module ((ice-9 common-list) #:select (remove-if-not)) + #:use-module (srfi srfi-1) #:use-module (srfi srfi-9) #:use-module (ice-9 match) #:use-module (ice-9 regex) #:use-module (ice-9 optargs) - #:export (getopt-long option-ref)) + #:export (getopt-long option-ref option-ref-list)) (define %program-name (make-fluid "guile")) (define (program-name) @@ -369,4 +370,13 @@ to add a `single-char' clause to the option description." The value is either a string or `#t'." (or (assq-ref options key) default)) +(define (option-ref-list options key default) + "Return list of matching values in alist OPTIONS using KEY, a symbol; or DEFAULT if not found." + (let ((vals (fold (lambda (x l) + (if (eq? key (car x)) + (cons (cdr x) l) + l)) + '() options))) + (if (null? vals) default vals))) + ;;; getopt-long.scm ends here -- 1.7.8.rc4 --------------020302070301050006070105-- From MAILER-DAEMON Fri Dec 02 03:06:16 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RWO8O-00050f-6X for mharc-guile-user@gnu.org; Fri, 02 Dec 2011 03:06:16 -0500 Received: from eggs.gnu.org ([140.186.70.92]:57880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWO8K-0004yK-PR for guile-user@gnu.org; Fri, 02 Dec 2011 03:06:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWO8J-0000ia-T5 for guile-user@gnu.org; Fri, 02 Dec 2011 03:06:12 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:53634) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RWO8J-0000gC-Fy for guile-user@gnu.org; Fri, 02 Dec 2011 03:06:11 -0500 Received: (qmail invoked by alias); 02 Dec 2011 08:06:07 -0000 Received: from business-092-079-182-151.static.arcor-ip.net (EHLO localhost) [92.79.182.151] by mail.gmx.net (mp069) with SMTP; 02 Dec 2011 09:06:07 +0100 X-Authenticated: #4093574 X-Provags-ID: V01U2FsdGVkX1/mV4Ry2hLmy/WSmmTEnywHOLjO5xIg0dHVUCpO75 Z/b2A8/RzAepSZ Date: Fri, 02 Dec 2011 09:06:07 +0100 (CET) Message-Id: <20111202.090607.649170119648618329.hartrumpf@gmx.net> To: guile-user@gnu.org Subject: propagating a coding setting across source files From: Sven Hartrumpf X-Mailer: Mew version 6.4 on Emacs 23.2 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.23 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2011 08:06:13 -0000 Hi all. After a long period of working with other Schemes, I am returning to guile for some tests to see what Guile has achieved in recent years. My test program is made up of around 100 scheme files, all encoded in latin-1. I added to the master file the following comment: ; coding: iso-8859-1 which works as documented. How can I avoid to add this comment line to all the other files which are currently included by the master file using "load"? Ciao Sven From MAILER-DAEMON Fri Dec 02 05:41:46 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RWQYs-0002LN-4W for mharc-guile-user@gnu.org; Fri, 02 Dec 2011 05:41:46 -0500 Received: from eggs.gnu.org ([140.186.70.92]:43032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWQYl-0002IR-7f for guile-user@gnu.org; Fri, 02 Dec 2011 05:41:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWQYk-0001Xh-BB for guile-user@gnu.org; Fri, 02 Dec 2011 05:41:39 -0500 Received: from eneide.happyleptic.org ([213.251.171.101]:47488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWQYk-0001Ww-6x for guile-user@gnu.org; Fri, 02 Dec 2011 05:41:38 -0500 Received: from extranet.securactive.org ([82.234.213.170] helo=ccellier.rd.securactive.lan) by eneide.happyleptic.org with esmtp (Exim 4.72) (envelope-from ) id 1RWQgn-0008Ro-De for guile-user@gnu.org; Fri, 02 Dec 2011 11:49:57 +0100 Received: from rixed by ccellier.rd.securactive.lan with local (Exim 4.72) (envelope-from ) id 1RWQYY-0007yU-1i for guile-user@gnu.org; Fri, 02 Dec 2011 11:41:26 +0100 Date: Fri, 2 Dec 2011 11:41:26 +0100 From: rixed@happyleptic.org To: guile-user@gnu.org Subject: Re: propagating a coding setting across source files Message-ID: <20111202104125.GA30349@ccellier.rd.securactive.lan> Mail-Followup-To: rixed@happyleptic.org, guile-user@gnu.org References: <20111202.090607.649170119648618329.hartrumpf@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111202.090607.649170119648618329.hartrumpf@gmx.net> User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.251.171.101 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2011 10:41:44 -0000 -[ Fri, Dec 02, 2011 at 09:06:07AM +0100, Sven Hartrumpf ]---- > How can I avoid to add this comment line to all the other files > which are currently included by the master file using "load"? You very possibly have better reasons to refuse to add this line to your files than the mere trouble of the trouble doing it by hand, but anyway just in case you need a command to do this operation here it is: $ find where-your-files-are -type f -name '*.scm' | while read f; do echo '; coding: iso-8859-1' > $f ; done Although it may be shorter in scheme... From MAILER-DAEMON Fri Dec 02 07:41:53 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RWSR7-00046o-SI for mharc-guile-user@gnu.org; Fri, 02 Dec 2011 07:41:53 -0500 Received: from eggs.gnu.org ([140.186.70.92]:44503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWSR5-00045V-KD for guile-user@gnu.org; Fri, 02 Dec 2011 07:41:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWSQz-0001nP-Sp for guile-user@gnu.org; Fri, 02 Dec 2011 07:41:51 -0500 Received: from oproxy1-pub.bluehost.com ([66.147.249.253]:36204) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RWSQz-0001nF-DB for guile-user@gnu.org; Fri, 02 Dec 2011 07:41:45 -0500 Received: (qmail 26545 invoked by uid 0); 2 Dec 2011 12:41:44 -0000 Received: from unknown (HELO box531.bluehost.com) (74.220.219.131) by oproxy1.bluehost.com with SMTP; 2 Dec 2011 12:41:44 -0000 Received: from 146-115-71-23.c3-0.lex-ubr1.sbo-lex.ma.cable.rcn.com ([146.115.71.23] helo=[172.31.1.105]) by box531.bluehost.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RWSQx-0006nT-Q3; Fri, 02 Dec 2011 05:41:43 -0700 Subject: Re: propagating a coding setting across source files From: Paul Smith To: rixed@happyleptic.org In-Reply-To: <20111202104125.GA30349@ccellier.rd.securactive.lan> References: <20111202.090607.649170119648618329.hartrumpf@gmx.net> <20111202104125.GA30349@ccellier.rd.securactive.lan> Content-Type: text/plain; charset="us-ascii" Organization: GNU's Not Unix! Date: Fri, 02 Dec 2011 07:41:40 -0500 Message-ID: <1322829700.3287.49.camel@homebase> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: 7bit X-Identified-User: {678:box531.bluehost.com:madscie1:mad-scientist.us} {sentby:smtp auth 146.115.71.23 authed with paul+mad-scientist.us} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 66.147.249.253 Cc: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: psmith@gnu.org List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2011 12:41:52 -0000 On Fri, 2011-12-02 at 11:41 +0100, rixed@happyleptic.org wrote: > $ find where-your-files-are -type f -name '*.scm' | > while read f; do echo '; coding: iso-8859-1' > $f ; done Boy I _really_ don't think you want to do that. -- ------------------------------------------------------------------------------- Paul D. Smith Find some GNU make tips at: http://www.gnu.org http://make.mad-scientist.net "Please remain calm...I may be mad, but I am a professional." --Mad Scientist From MAILER-DAEMON Fri Dec 02 07:46:46 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RWSVq-0004To-A3 for mharc-guile-user@gnu.org; Fri, 02 Dec 2011 07:46:46 -0500 Received: from eggs.gnu.org ([140.186.70.92]:57614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWSVn-0004R0-Id for guile-user@gnu.org; Fri, 02 Dec 2011 07:46:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWSVm-0003AT-Bv for guile-user@gnu.org; Fri, 02 Dec 2011 07:46:43 -0500 Received: from eneide.happyleptic.org ([213.251.171.101]:34565) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWSVm-0003AD-5Y for guile-user@gnu.org; Fri, 02 Dec 2011 07:46:42 -0500 Received: from extranet.securactive.org ([82.234.213.170] helo=ccellier.rd.securactive.lan) by eneide.happyleptic.org with esmtp (Exim 4.72) (envelope-from ) id 1RWSdv-00007z-D3 for guile-user@gnu.org; Fri, 02 Dec 2011 13:55:07 +0100 Received: from rixed by ccellier.rd.securactive.lan with local (Exim 4.72) (envelope-from ) id 1RWSVf-0000As-Gn for guile-user@gnu.org; Fri, 02 Dec 2011 13:46:35 +0100 Date: Fri, 2 Dec 2011 13:46:35 +0100 From: rixed@happyleptic.org To: guile-user@gnu.org Subject: Re: propagating a coding setting across source files Message-ID: <20111202124635.GD32345@ccellier.rd.securactive.lan> Mail-Followup-To: rixed@happyleptic.org, guile-user@gnu.org References: <20111202.090607.649170119648618329.hartrumpf@gmx.net> <20111202104125.GA30349@ccellier.rd.securactive.lan> <1322829700.3287.49.camel@homebase> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1322829700.3287.49.camel@homebase> User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.251.171.101 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2011 12:46:44 -0000 -[ Fri, Dec 02, 2011 at 07:41:40AM -0500, Paul Smith ]---- > On Fri, 2011-12-02 at 11:41 +0100, rixed@happyleptic.org wrote: > > $ find where-your-files-are -type f -name '*.scm' | > > while read f; do echo '; coding: iso-8859-1' > $f ; done > > Boy I _really_ don't think you want to do that. Sure! That's ">>" not ">" : echo '; coding...' >> $f ^^ !! I _really_ hope every one is using a versionning system these days :) From MAILER-DAEMON Fri Dec 02 07:55:48 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RWSea-0006PW-5l for mharc-guile-user@gnu.org; Fri, 02 Dec 2011 07:55:48 -0500 Received: from eggs.gnu.org ([140.186.70.92]:48223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWSeX-0006OF-Dd for guile-user@gnu.org; Fri, 02 Dec 2011 07:55:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWSeS-0004ja-Ik for guile-user@gnu.org; Fri, 02 Dec 2011 07:55:45 -0500 Received: from nm3-vm0.bullet.mail.bf1.yahoo.com ([98.139.212.154]:42379) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RWSeS-0004jU-9W for guile-user@gnu.org; Fri, 02 Dec 2011 07:55:40 -0500 Received: from [98.139.215.140] by nm3.bullet.mail.bf1.yahoo.com with NNFMP; 02 Dec 2011 12:55:39 -0000 Received: from [98.139.212.192] by tm11.bullet.mail.bf1.yahoo.com with NNFMP; 02 Dec 2011 12:55:39 -0000 Received: from [127.0.0.1] by omp1001.mail.bf1.yahoo.com with NNFMP; 02 Dec 2011 12:55:39 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 630523.64017.bm@omp1001.mail.bf1.yahoo.com Received: (qmail 45083 invoked by uid 60001); 2 Dec 2011 12:55:39 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1322830539; bh=kWjvIxk29Q29wkDgYSBmzKi0/rLIOeECE2QWOsOD1tQ=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Doa52s9JYUsAfpXw667JU79dsu/kPOcSQ4vIWPyWYfgzhKntBOjlctpnBSZodxylfdGVMR/ql1LiNORNfbt9Q1mhV60setpcW25i1dGMFZNTCgDvPAL5iAoHb6jWJ7CI8HSd/K+vaQhhT3yAvI0amvLgHWvedyNG4BsgTsXB4JI= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=4t7aabsDEvYL9IbnGUFKmToZtNgPe4TvFxj8L9JHAjerv6VHJhbnzImyuM/758Xk4M8ZU/4sziGXFivkMfDl4av+vgRMHrR3zzt0f1YRUYEfjO55qwpDxYW3I/n5wjJ8pl5dZlnkMjhC+qCCyrJrQIs12TtKPHoSQqyIWD9mL/U=; X-YMail-OSG: 43o_QzYVM1lur76FN7ssU7qiU16LFHFe1RY4cO0iA1tSrFu s7BTJJND6wz3IQBbQZmB_13Q_uTrwm5ONJF4VSlQU3u1bKLdWxbb0t8eqOGY el4dR3nnTI1Zrm2b4.pfPIxjlHSkGHa487IB7gn.eYhoBz21tNHuGF40GIut vol8pJXrOjdMaBJj09lQ2_srtzUSya78h0KZduGMj6.MsKC1UBUEiLc8Vt5q _uGs95MUyXBHlymftQ7tz.hRzqTSPIBSJgUohoOZmz.tbqKSU1LkAa9b0N_0 CGITnDlvZJbN7E7qd7LENrf6X6CDG2wpuikZQC_ZzIZ6gLq7PZVNr1sbvovp 4uJ8HjjFztrokc0Tbko_m2NPu7CaoMPKcNKunP1yBm9gi0cFBDBTm2po7ehJ SzHGVMkQ_2GsYAHJkHnVvxTV_MW8BQF0FcosSkwYoaqN9LMVtjjuiKdpGKWM yZNo5GDp_WMltvhz8JYIMtA8- Received: from [71.130.220.245] by web37903.mail.mud.yahoo.com via HTTP; Fri, 02 Dec 2011 04:55:39 PST X-Mailer: YahooMailWebService/0.8.115.331698 References: <20111202.090607.649170119648618329.hartrumpf@gmx.net> Message-ID: <1322830539.34643.YahooMailNeo@web37903.mail.mud.yahoo.com> Date: Fri, 2 Dec 2011 04:55:39 -0800 (PST) From: Mike Gran Subject: Re: propagating a coding setting across source files To: Sven Hartrumpf , "guile-user@gnu.org" In-Reply-To: <20111202.090607.649170119648618329.hartrumpf@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 98.139.212.154 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Mike Gran List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2011 12:55:46 -0000 > From: Sven Hartrumpf =0A>My test program is made up of= around 100 scheme files, all=0A>encoded in latin-1.=0A>I added to the mast= er file the following comment:=0A>=0A>; coding: iso-8859-1=0A>=0A>which wor= ks as documented.=0A>How can I avoid to add this comment line to all the ot= her files=0A>which are currently included by the master file using "load"?= =0A=0AI'm pretty sure that, for 2.0.x at least, if you don't=0Aspecify an e= ncoding, it presumes=A0iso-8859-1 as the default.=0A=A0=0A-Mike From MAILER-DAEMON Fri Dec 02 08:41:20 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RWTMe-0004P5-2x for mharc-guile-user@gnu.org; Fri, 02 Dec 2011 08:41:20 -0500 Received: from eggs.gnu.org ([140.186.70.92]:37382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWTMb-0004Ld-I5 for guile-user@gnu.org; Fri, 02 Dec 2011 08:41:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWTMX-0005ZQ-99 for guile-user@gnu.org; Fri, 02 Dec 2011 08:41:17 -0500 Received: from mailout-de.gmx.net ([213.165.64.22]:36425) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RWTMW-0005ZI-Ht for guile-user@gnu.org; Fri, 02 Dec 2011 08:41:13 -0500 Received: (qmail invoked by alias); 02 Dec 2011 13:41:07 -0000 Received: from business-092-079-182-151.static.arcor-ip.net (EHLO localhost) [92.79.182.151] by mail.gmx.net (mp062) with SMTP; 02 Dec 2011 14:41:07 +0100 X-Authenticated: #4093574 X-Provags-ID: V01U2FsdGVkX1864O9ULoY6XO7LsVtPgkEA1iL8RNAB7XFhx3UKaQ 0fVWFmh3eYxskd Date: Fri, 02 Dec 2011 14:41:07 +0100 (CET) Message-Id: <20111202.144107.847468074358637267.hartrumpf@gmx.net> To: guile-user@gnu.org Subject: Re: propagating a coding setting across source files From: Sven Hartrumpf In-Reply-To: <1322830539.34643.YahooMailNeo@web37903.mail.mud.yahoo.com> References: <20111202.090607.649170119648618329.hartrumpf@gmx.net> <1322830539.34643.YahooMailNeo@web37903.mail.mud.yahoo.com> X-Mailer: Mew version 6.4 on Emacs 23.2 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.22 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2011 13:41:18 -0000 Fri, 2 Dec 2011 04:55:39 -0800 (PST), spk121 wrote: > I'm pretty sure that, for 2.0.x at least, if you don't > specify an encoding, it presumes iso-8859-1 as the default. Not when loading a file with Latin-1 characters: > cat aa.scm (define c #\ä) > guile GNU Guile 2.0.3 ... scheme@(guile-user)> (load "aa.scm") ;;; compiling /home/s/aa.scm ;;; WARNING: compilation of /home/s/aa.scm failed: ;;; ERROR: In procedure scm_lreadr: /home/s/aa.scm:1:13: unknown character name ERROR: In procedure primitive-load: ERROR: In procedure scm_lreadr: /home/s/aa.scm:1:13: unknown character name Sven From MAILER-DAEMON Fri Dec 02 09:24:10 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RWU26-0003d7-ET for mharc-guile-user@gnu.org; Fri, 02 Dec 2011 09:24:10 -0500 Received: from eggs.gnu.org ([140.186.70.92]:42120) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWU1w-0003ae-H2 for guile-user@gnu.org; Fri, 02 Dec 2011 09:24:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWU1s-0006ah-JQ for guile-user@gnu.org; Fri, 02 Dec 2011 09:24:00 -0500 Received: from nm17.bullet.mail.bf1.yahoo.com ([98.139.212.176]:27433) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RWU1s-0006ad-D0 for guile-user@gnu.org; Fri, 02 Dec 2011 09:23:56 -0500 Received: from [98.139.212.150] by nm17.bullet.mail.bf1.yahoo.com with NNFMP; 02 Dec 2011 14:23:55 -0000 Received: from [98.139.212.221] by tm7.bullet.mail.bf1.yahoo.com with NNFMP; 02 Dec 2011 14:23:55 -0000 Received: from [127.0.0.1] by omp1030.mail.bf1.yahoo.com with NNFMP; 02 Dec 2011 14:23:55 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 633941.82283.bm@omp1030.mail.bf1.yahoo.com Received: (qmail 88907 invoked by uid 60001); 2 Dec 2011 14:23:55 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1322835835; bh=Dj2WM8SeQsj7bmbINgF1+j6d+zvzZPuSJ0QJaM+B47g=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=fUC6rhBpIpcO5aOdJJl2ibgTeG8PJlohTNK9DiIA3+Tg3DTkbwBYaGr7UYJjB3dw2oaN5acFs2xqn/y5PGnf4Yp6zItXAbh4PQOZQLNHK33HCmCrDNQfwKmlyza6fHC3bN6eqFOp6aBE0Ledr0EzroVgthxC2Zj5NjChAmcd2wY= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=3l1Tkb3svNnjkfT3OdyjuGEqdXg8KJsZDvQCg+tGZDypV1Kwp7twbnMhc5tlmsde1cwtpxPyqj3wjMIPSC28+849CuxLpFbWjRFa37GDEs/HhyEZxrmKUlMLkAJwuMnVoLRx/SDRWCGT+8Fb+39XfsaGTPR7ZwjtnnHYz/YH8Zo=; X-YMail-OSG: VoalOasVM1mAaPz158OYTLys0LFB.98NeFeL_6mXJ2qNUDK pQ4JvtRCwNW_gYHgSC7iBcdg2t_gTcRpz3oVA.NgdmH12vWEbBnlD4w.uQXd RhgVH64.j0uKku15AImHq67xOI9XBwEdM6aDPok4_IIXxdZmazcTktPmJGG0 nDLRq1L9QHNQ57nlCf7mo04VcbPBck3ld98ZFqKV8omyv5f_5H94IalLfHiT L50IkCmrSX1OuzikPlI.jKX6HvhOX8EvHULq7W30hyhsRs7nHOG8yRknpCjo MU2HRsZ0sKhLltH10x5Ty0l4I9ITO7.8InBvmvpd32OISHnkXTsQ5eYy_Xzy 2sPUlfKnzcRrEImByh6_9HEHa6ct7jVvx5hKjsq20vUkEI83Hf_1MFijyVjK rkeJdCU7Tey75eVhHczv74cJrxLcWEw5zmNBrRK1OOdDmuYD1c6kFRc7Pg5L 7sgEr45rP7scX7nqBjg-- Received: from [71.140.64.7] by web37903.mail.mud.yahoo.com via HTTP; Fri, 02 Dec 2011 06:23:55 PST X-Mailer: YahooMailWebService/0.8.115.331698 References: <20111202.090607.649170119648618329.hartrumpf@gmx.net> <1322830539.34643.YahooMailNeo@web37903.mail.mud.yahoo.com> <20111202.144107.847468074358637267.hartrumpf@gmx.net> Message-ID: <1322835835.74409.YahooMailNeo@web37903.mail.mud.yahoo.com> Date: Fri, 2 Dec 2011 06:23:55 -0800 (PST) From: Mike Gran Subject: Re: propagating a coding setting across source files To: Sven Hartrumpf In-Reply-To: <20111202.144107.847468074358637267.hartrumpf@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 98.139.212.176 Cc: Guile User X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Mike Gran List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Dec 2011 14:24:08 -0000 >Not when loading a file with Latin-1 characters:=0A=0A>=0A>> cat aa.scm=0A= >(define c #\=E4)=0A>=0A>> guile=0A>GNU Guile 2.0.3=0A>...=0A>scheme@(guile= -user)> (load "aa.scm")=0A>;;; compiling /home/s/aa.scm=0A>;;; WARNING: com= pilation of /home/s/aa.scm failed:=0A>;;; ERROR: In procedure scm_lreadr: /= home/s/aa.scm:1:13: unknown character name =0A>ERROR: In procedure primitiv= e-load:=0A>ERROR: In procedure scm_lreadr: /home/s/aa.scm:1:13: unknown cha= racter name =0A=0A=0AI guess you're right.=A0 Looks like, at some point, th= e default for files with=0Ano 'coding:' line got hard set to UTF-8 in 'scm_= primitive_load' and 'compile-file'=0Aand friends.=0A=0A=0AAt first, I thoug= ht you could do something with %load-hook, or by setting=0Athe %default-por= t-encoding, but that isn't going to work either.=0A=0ANo workaround is obvi= ous to me.=A0 Hrm.=A0 Unfortunate.=0A=0A-Mike=0A From MAILER-DAEMON Sun Dec 04 09:27:09 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RXD25-0008DL-4x for mharc-guile-user@gnu.org; Sun, 04 Dec 2011 09:27:09 -0500 Received: from eggs.gnu.org ([140.186.70.92]:42352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RWlWc-00009y-TJ for guile-user@gnu.org; Sat, 03 Dec 2011 04:04:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RWlWb-0000Q3-K4 for guile-user@gnu.org; Sat, 03 Dec 2011 04:04:50 -0500 Received: from exprod7og125.obsmtp.com ([64.18.2.28]:40801) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RWlWb-0000Pq-B2; Sat, 03 Dec 2011 04:04:49 -0500 Received: from mail-ww0-f44.google.com ([74.125.82.44]) (using TLSv1) by exprod7ob125.postini.com ([64.18.6.12]) with SMTP ID DSNKTtnmLnUskuvKgoJlfN4pG78loXhxT0H0@postini.com; Sat, 03 Dec 2011 01:04:49 PST Received: by mail-ww0-f44.google.com with SMTP id dr13so2903834wgb.1 for ; Sat, 03 Dec 2011 01:04:46 -0800 (PST) MIME-Version: 1.0 Received: by 10.180.107.229 with SMTP id hf5mr2586041wib.35.1322903086454; Sat, 03 Dec 2011 01:04:46 -0800 (PST) Received: by 10.180.24.135 with HTTP; Sat, 3 Dec 2011 01:04:46 -0800 (PST) In-Reply-To: <1322690970.58961.YahooMailNeo@web37905.mail.mud.yahoo.com> References: <1322690970.58961.YahooMailNeo@web37905.mail.mud.yahoo.com> Date: Sat, 3 Dec 2011 10:04:46 +0100 Message-ID: Subject: Re: [Help-zile] Guile on Zile, module questions From: Reuben Thomas To: Mike Gran Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 64.18.2.28 X-Mailman-Approved-At: Sun, 04 Dec 2011 09:27:08 -0500 Cc: Guile User , "help-zile@gnu.org" X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Dec 2011 09:04:51 -0000 On 30 November 2011 23:09, Mike Gran wrote: > Hello Guilers! > > Over the USA holiday I started looking at the last C version of > Zile, which has its own toy Lisp interpreter.=A0 (Zile also > comes in a new Lua version!)=A0 I looks like it would be simple to > strip out that Zile Lisp and replace it with Guile Scheme. > But I don't think anyone has tried it. > > This notion is not new: Ludo and Reuben chatted about it once. > But Zile wants to be tiny, portable and doesn't need to be > extensible.=A0 Guile is not tiny, and for the moment, not very > portable. Zile in its traditional shipped form is indeed meant to be tiny and portable, but since it's been (ab)used for various experimental purposes (for example, the Lua version, which is currently still experimental), I'd be very happy to have a Guile integration branch too. I've found Zile a good platform for experimentation precisely because it's small and simple, but nonetheless a full-fledged editor. --=20 http://rrt.sc3d.org From MAILER-DAEMON Sun Dec 04 20:23:04 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RXNGq-00004t-Sw for mharc-guile-user@gnu.org; Sun, 04 Dec 2011 20:23:04 -0500 Received: from eggs.gnu.org ([140.186.70.92]:50549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXNGo-0008VW-39 for guile-user@gnu.org; Sun, 04 Dec 2011 20:23:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXNGm-0005yW-Kx for guile-user@gnu.org; Sun, 04 Dec 2011 20:23:02 -0500 Received: from mailout-de.gmx.net ([213.165.64.22]:46561) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RXNGm-0005yB-8p for guile-user@gnu.org; Sun, 04 Dec 2011 20:23:00 -0500 Received: (qmail invoked by alias); 05 Dec 2011 01:22:57 -0000 Received: from 85-127-59-92.dynamic.xdsl-line.inode.at (EHLO nathot.lan) [85.127.59.92] by mail.gmx.net (mp040) with SMTP; 05 Dec 2011 02:22:57 +0100 X-Authenticated: #3102804 X-Provags-ID: V01U2FsdGVkX1+SO/B+RJqSr7WUKIwGb7MTL6Ik6R8oAuhh0+t1M9 uoz329+KDN+sGd Received: from localhost (localhost.localdomain [127.0.0.1]) by nathot.lan (Postfix) with ESMTP id 2C2963A68F; Mon, 5 Dec 2011 02:22:56 +0100 (CET) Received: from nathot.lan ([127.0.0.1]) by localhost (nathot.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SWtQt5B3op0i; Mon, 5 Dec 2011 02:22:51 +0100 (CET) Received: from delenn.lan (delenn.lan [192.168.3.11]) by nathot.lan (Postfix) with ESMTP id D92283A685; Mon, 5 Dec 2011 02:22:51 +0100 (CET) Received: by delenn.lan (Postfix, from userid 1000) id 992203A22D7; Mon, 5 Dec 2011 02:22:51 +0100 (CET) From: Andreas Rottmann To: G-Wrap development Subject: G-Wrap 1.9.14 released Date: Mon, 05 Dec 2011 02:22:51 +0100 Message-ID: <87iplvzuac.fsf@rotty.yi.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.22 Cc: Guile Users , Guile Development X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 01:23:03 -0000 Hi! I'm pleased to announce G-Wrap 1.9.14; as always, it can be downloaded from . This release adds support for the Guile 2.0.x branch, while staying compatible with 1.8.x. About G-Wrap: G-Wrap is a tool (and Guile library) for generating function wrappers for inter-language calls. It currently only supports generating Guile wrappers for C functions. Changes since 1.9.13: - Guile 2.0 is now supported. - G-Wrap no longer ships SRFI 34 and SRFI 35 implementations, as these have been both provided by Guile since 1.8.3. Regards, Rotty -- Andreas Rottmann -- From MAILER-DAEMON Mon Dec 05 09:33:54 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RXZcA-0001o4-Kl for mharc-guile-user@gnu.org; Mon, 05 Dec 2011 09:33:54 -0500 Received: from eggs.gnu.org ([140.186.70.92]:56510) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXZc7-0001na-Ue for guile-user@gnu.org; Mon, 05 Dec 2011 09:33:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXZc0-0003Z6-8k for guile-user@gnu.org; Mon, 05 Dec 2011 09:33:51 -0500 Received: from eneide.happyleptic.org ([213.251.171.101]:55622) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXZc0-0003YV-4V for guile-user@gnu.org; Mon, 05 Dec 2011 09:33:44 -0500 Received: from extranet.securactive.org ([82.234.213.170] helo=ccellier.rd.securactive.lan) by eneide.happyleptic.org with esmtp (Exim 4.72) (envelope-from ) id 1RXZkP-0003tS-Tb for guile-user@gnu.org; Mon, 05 Dec 2011 15:42:25 +0100 Received: from rixed by ccellier.rd.securactive.lan with local (Exim 4.72) (envelope-from ) id 1RXZbn-0000iC-PZ for guile-user@gnu.org; Mon, 05 Dec 2011 15:33:31 +0100 Date: Mon, 5 Dec 2011 15:33:31 +0100 From: rixed@happyleptic.org To: guile-user@gnu.org Subject: or values bug? Message-ID: <20111205143331.GA2681@ccellier.rd.securactive.lan> Mail-Followup-To: rixed@happyleptic.org, guile-user@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.251.171.101 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 14:33:53 -0000 Is it normal that this: (or (values 'a 'b) 'c) returns two values ('a and 'b) while this: (or (values 'a (lambda (port) #f)) 'c) returns only one ('a)? Isn't it a bug? From MAILER-DAEMON Mon Dec 05 12:12:19 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RXc5T-0006yR-Se for mharc-guile-user@gnu.org; Mon, 05 Dec 2011 12:12:19 -0500 Received: from eggs.gnu.org ([140.186.70.92]:38560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXc5Q-0006x3-Qx for guile-user@gnu.org; Mon, 05 Dec 2011 12:12:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXc5P-0002Il-8g for guile-user@gnu.org; Mon, 05 Dec 2011 12:12:16 -0500 Received: from lo.gmane.org ([80.91.229.12]:48266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXc5O-0002IC-Vs for guile-user@gnu.org; Mon, 05 Dec 2011 12:12:15 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RXc5M-0004uo-IC for guile-user@gnu.org; Mon, 05 Dec 2011 18:12:12 +0100 Received: from 193.50.110.208 ([193.50.110.208]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Dec 2011 18:12:12 +0100 Received: from ludo by 193.50.110.208 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Dec 2011 18:12:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: guile-user@gnu.org From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Subject: Re: Guile on Zile, module questions Followup-To: gmane.lisp.guile.user Date: Mon, 05 Dec 2011 18:11:53 +0100 Lines: 49 Message-ID: <87obvnhrja.fsf@gnu.org> References: <1322690970.58961.YahooMailNeo@web37905.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 193.50.110.208 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 Frimaire an 220 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:Iaaa2QTZ8Mlvz9MkJDD1DDNw29k= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 Cc: help-zile@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 17:12:18 -0000 Hi Mike! Mike Gran skribis: > Over the USA holiday I started looking at the last C version of > Zile, which has its own toy Lisp interpreter.  (Zile also > comes in a new Lua version!)  I looks like it would be simple to > strip out that Zile Lisp and replace it with Guile Scheme. > But I don't think anyone has tried it. This sounds great! Another competitor for Gano and Guile-Emacs! ;-) Where’s the source? :-) > Zile has two scopes. > 1) a Zile scope > 2) a buffer-specific scope You might want to check the crazy things BT Templeton did to handle that: http://www.gnu.org/ghm/2011/paris/slides/bt-templeton-guile-emacs.pdf (You might need additional input from him, though. ;-)) > As far as I can tell, I should use 'module-obarray' to get > all the bindings for the buffer-specific module and I should > look at '%module-public-interface' to get the list of exported > functions and vars in the top Zile module. Note that you should use ‘module-public-interface’ instead of referring to the ‘%module-public-interface’ binding. Here’s an example: (hash-fold (lambda (k v r) (cons k r)) '() (module-obarray (module-public-interface the-root-module))) There’s also ‘module-for-each’: (module-for-each (lambda (b v) (format #t "variable `~a' has value `~a'~%" b (variable-ref v))) (resolve-interface '(ice-9 q))) Looking forward to using this new Zile. :-) Ludo’. From MAILER-DAEMON Mon Dec 05 12:15:23 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RXc8R-0008Eo-TZ for mharc-guile-user@gnu.org; Mon, 05 Dec 2011 12:15:23 -0500 Received: from eggs.gnu.org ([140.186.70.92]:43260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXc8M-0008D7-03 for guile-user@gnu.org; Mon, 05 Dec 2011 12:15:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXc8G-000310-9t for guile-user@gnu.org; Mon, 05 Dec 2011 12:15:17 -0500 Received: from lo.gmane.org ([80.91.229.12]:41906) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXc8G-00030v-28 for guile-user@gnu.org; Mon, 05 Dec 2011 12:15:12 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RXc8B-0006R0-Ri for guile-user@gnu.org; Mon, 05 Dec 2011 18:15:07 +0100 Received: from 193.50.110.208 ([193.50.110.208]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Dec 2011 18:15:07 +0100 Received: from ludo by 193.50.110.208 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Dec 2011 18:15:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: guile-user@gnu.org From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Subject: Re: getopt-long Date: Mon, 05 Dec 2011 18:14:42 +0100 Lines: 14 Message-ID: <87hb1fhrel.fsf@gnu.org> References: <4ED767B8.9000107@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 193.50.110.208 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 Frimaire an 220 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:cGqb/TwVGzHmJbbxDfiMmNwk4oQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 17:15:22 -0000 Hi Andrew, Andrew Horton skribis: > Recently I needed to be able to recognize multiple use of an option > when using getopt-long. This would be an incompatible change, so I’d rather not do it. However, I’d recommend using SRFI-37: it supports multiple occurrences of an option, and has a nicer interface IMO. Thanks, Ludo’. From MAILER-DAEMON Mon Dec 05 12:25:41 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RXcIP-0006gZ-PD for mharc-guile-user@gnu.org; Mon, 05 Dec 2011 12:25:41 -0500 Received: from eggs.gnu.org ([140.186.70.92]:33038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXcIK-0006ep-6j for guile-user@gnu.org; Mon, 05 Dec 2011 12:25:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXcIJ-00065A-6O for guile-user@gnu.org; Mon, 05 Dec 2011 12:25:36 -0500 Received: from lo.gmane.org ([80.91.229.12]:59627) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXcII-00064i-UF for guile-user@gnu.org; Mon, 05 Dec 2011 12:25:35 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RXcIH-00036r-US for guile-user@gnu.org; Mon, 05 Dec 2011 18:25:33 +0100 Received: from 193.50.110.208 ([193.50.110.208]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Dec 2011 18:25:33 +0100 Received: from ludo by 193.50.110.208 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Dec 2011 18:25:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: guile-user@gnu.org From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Subject: Re: propagating a coding setting across source files Date: Mon, 05 Dec 2011 18:25:19 +0100 Lines: 11 Message-ID: <878vmrhqww.fsf@gnu.org> References: <20111202.090607.649170119648618329.hartrumpf@gmx.net> <1322830539.34643.YahooMailNeo@web37903.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 193.50.110.208 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 Frimaire an 220 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:PH9HJb37Jl+l/kVHOabxlAVaLbw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 17:25:40 -0000 Hi! Mike Gran skribis: > I'm pretty sure that, for 2.0.x at least, if you don't > specify an encoding, it presumes iso-8859-1 as the default. No, UTF-8 is the default (info "(guile) Compilation"). Thanks, Ludo’. From MAILER-DAEMON Mon Dec 05 12:40:43 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RXcWx-0001qg-6n for mharc-guile-user@gnu.org; Mon, 05 Dec 2011 12:40:43 -0500 Received: from eggs.gnu.org ([140.186.70.92]:38094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXcWu-0001pS-SW for guile-user@gnu.org; Mon, 05 Dec 2011 12:40:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXcWp-00017v-SX for guile-user@gnu.org; Mon, 05 Dec 2011 12:40:40 -0500 Received: from lo.gmane.org ([80.91.229.12]:34932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXcWp-00017a-Kd for guile-user@gnu.org; Mon, 05 Dec 2011 12:40:35 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RXcWn-0001CS-JH for guile-user@gnu.org; Mon, 05 Dec 2011 18:40:33 +0100 Received: from 193.50.110.208 ([193.50.110.208]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Dec 2011 18:40:33 +0100 Received: from ludo by 193.50.110.208 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Dec 2011 18:40:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: guile-user@gnu.org From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Subject: Re: or values bug? Date: Mon, 05 Dec 2011 18:40:18 +0100 Lines: 61 Message-ID: <87obvmhq7x.fsf@gnu.org> References: <20111205143331.GA2681@ccellier.rd.securactive.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 193.50.110.208 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 Frimaire an 220 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:QJbaiGlrG2P9KR8lbcvjnPGhb6I= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 17:40:41 -0000 Hi Cédric, rixed@happyleptic.org skribis: > Is it normal that this: > > (or (values 'a 'b) 'c) > > returns two values ('a and 'b) This one gets optimized by peval: scheme@(guile-user)> ,optimize (or (values 1 2) 'b) $6 = (values 1 2) That the second value isn’t truncated is a bug (see below.) > while this: > > (or (values 'a (lambda (port) #f)) 'c) > > returns only one ('a)? This one doesn’t: scheme@(guile-user)> ,optimize (or (values 1 (lambda () #t)) 'b) $5 = (begin (letrec* () (let ((#{t 1263}# (values 1 (lambda () #t)))) (if #{t 1263}# #{t 1263}# 'b)))) The ‘let’, which leads to the second value being ignored, comes from the definition of ‘or’: (define-syntax or (syntax-rules () ((_) #f) ((_ x) x) ((_ x y ...) (let ((t x)) (if t t (or y ...)))))) It’s normal that the second value is ignored because ‘or’ expects expressions returning one value. In theory, peval should really optimize the first form to 1, instead of multiple-values, but I think it loses information about the context somewhere. Namely, when partial-evaluating forms, I think it should: (let* ((vars (map (compose truncate lookup-var) gensyms)) ...) ...) where ‘truncate’ discards all values but the first of a form. Andy? Thanks, Ludo’. From MAILER-DAEMON Mon Dec 05 13:39:16 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RXdRc-00081r-DO for mharc-guile-user@gnu.org; Mon, 05 Dec 2011 13:39:16 -0500 Received: from eggs.gnu.org ([140.186.70.92]:54210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXdRZ-000801-P3 for guile-user@gnu.org; Mon, 05 Dec 2011 13:39:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXdRY-0004wx-MC for guile-user@gnu.org; Mon, 05 Dec 2011 13:39:13 -0500 Received: from smtp205.alice.it ([82.57.200.101]:44609) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXdRY-0004sd-DF for guile-user@gnu.org; Mon, 05 Dec 2011 13:39:12 -0500 Received: from ambire.localdomain (79.21.201.212) by smtp205.alice.it (8.6.023.02) id 4ECA5FDA029D21DB; Mon, 5 Dec 2011 19:38:53 +0100 Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1RXdOR-00028p-SS; Mon, 05 Dec 2011 19:35:59 +0100 From: Thien-Thi Nguyen To: Andrew Horton Subject: Re: getopt-long References: <4ED767B8.9000107@gmail.com> Date: Mon, 05 Dec 2011 19:35:59 +0100 In-Reply-To: <4ED767B8.9000107@gmail.com> (Andrew Horton's message of "Thu, 01 Dec 2011 11:40:40 +0000") Message-ID: <87wraa988g.fsf@ambire.localdomain> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.101 Cc: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 18:39:15 -0000 () Andrew Horton () Thu, 01 Dec 2011 11:40:40 +0000 recognize multiple use of an option when using getopt-long. Guile 1.4.x extended (ice-9 getopt-long) to handle multiple occurances. Here is an excerpt from (info "(guile) getopt-long Reference"): `(merge-multiple? BOOL)' If BOOL is `#t' and the `value' property is not `#f', all (one or multiple) occurrances are merged into a list with order retained. If `#f', each instance of the option results in a separate entry in the resulting alist. Subsequently, this rat jumped to the non-(not-yet?)-sinking ttn-do as module =E2=80=98(ttn-do zzz bamboozled)=E2=80=99. More info online: http://www.gnuvola.org/software/guile/doc/getopt_002dlong-Reference.html http://www.gnuvola.org/software/ttn-do/ttn-do.html.gz#zzz-bamboozled I think it would be cool if this were to find berth in official Guile. From MAILER-DAEMON Mon Dec 05 15:00:07 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RXehr-0001tG-5F for mharc-guile-user@gnu.org; Mon, 05 Dec 2011 15:00:07 -0500 Received: from eggs.gnu.org ([140.186.70.92]:41461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXeho-0001sP-PO for guile-user@gnu.org; Mon, 05 Dec 2011 15:00:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXehn-0005o2-Jn for guile-user@gnu.org; Mon, 05 Dec 2011 15:00:04 -0500 Received: from mail-vx0-f169.google.com ([209.85.220.169]:52359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXehn-0005nm-HU for guile-user@gnu.org; Mon, 05 Dec 2011 15:00:03 -0500 Received: by vcbfk26 with SMTP id fk26so4981165vcb.0 for ; Mon, 05 Dec 2011 12:00:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=Q+loGqn0E0rp2SYLXdGIQXgIDQq2XNalIg+BCnKYn08=; b=IuV4XeaLHXPf6IwtO9c1FI1B8EBdjVuw8hQCRYdlhluc8Zi7t8dGfoLUQos18nQT2x JkoA6CX6h3osryeZnb2cDITd9eTshS+b6d5K3sB2yKkMaXZAM1r93BgnAGBU2vdRKviL jRiZJLG8IHrDF0bVejVK44D1mQWyKdJNDN0v0= MIME-Version: 1.0 Received: by 10.220.147.130 with SMTP id l2mr1057361vcv.275.1323115201074; Mon, 05 Dec 2011 12:00:01 -0800 (PST) Received: by 10.52.19.109 with HTTP; Mon, 5 Dec 2011 12:00:01 -0800 (PST) In-Reply-To: <87wraa988g.fsf@ambire.localdomain> References: <4ED767B8.9000107@gmail.com> <87wraa988g.fsf@ambire.localdomain> Date: Mon, 5 Dec 2011 20:00:01 +0000 Message-ID: Subject: Re: getopt-long From: Andrew Horton To: Thien-Thi Nguyen Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.220.169 Cc: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 20:00:06 -0000 That would do the trick. I've also thought that a (help "...") for each option would also be useful, which could append the string for each arg to the "--help" option text automatically (somehow). On 5 December 2011 18:35, Thien-Thi Nguyen wrote: > () Andrew Horton > () Thu, 01 Dec 2011 11:40:40 +0000 > > =A0 recognize multiple use of an option when using getopt-long. > > Guile 1.4.x extended (ice-9 getopt-long) to handle multiple occurances. > Here is an excerpt from (info "(guile) getopt-long Reference"): > > =A0`(merge-multiple? BOOL)' > =A0 =A0 =A0 =A0If BOOL is `#t' and the `value' property is not `#f', all > =A0 =A0 =A0 =A0(one or multiple) occurrances are merged into a list with > =A0 =A0 =A0 =A0order retained. =A0If `#f', each instance of the option re= sults > =A0 =A0 =A0 =A0in a separate entry in the resulting alist. > > Subsequently, this rat jumped to the non-(not-yet?)-sinking ttn-do > as module =91(ttn-do zzz bamboozled)=92. =A0More info online: > > http://www.gnuvola.org/software/guile/doc/getopt_002dlong-Reference.html > http://www.gnuvola.org/software/ttn-do/ttn-do.html.gz#zzz-bamboozled > > I think it would be cool if this were to find berth in official Guile. From MAILER-DAEMON Mon Dec 05 15:50:27 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RXfUZ-0007xt-Jq for mharc-guile-user@gnu.org; Mon, 05 Dec 2011 15:50:27 -0500 Received: from eggs.gnu.org ([140.186.70.92]:49807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXfUX-0007vx-8a for guile-user@gnu.org; Mon, 05 Dec 2011 15:50:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXfUW-00089n-7l for guile-user@gnu.org; Mon, 05 Dec 2011 15:50:25 -0500 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:35810 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXfUW-00089i-2c; Mon, 05 Dec 2011 15:50:24 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id A9D878E26; Mon, 5 Dec 2011 15:50:23 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=7FOytD78mYV5 556b33W8Bwku3hg=; b=hfHx0rk5z7+1DQ06wpl99EfRBkVi3+FSvr4QMNAFPIo1 VQ0VS9NzBZglwnm1oA/nRDYoVrXbCSDf2d32QKZX31G0PDKRcIF97teUcfQ9CuXX 7IjxRKndW7BT6n4PUyVdr7KSY3thSC+HCrYuUksUdDdV0Ie4CSnrlyNUJCe/FBk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=nCcryT RE0M2gns/kbVK+D+Cr6xm8ikPA6S29dKKiIDP0wHupn+1rPPBeb/TNLXjhu0pmi0 A4CrlopSs460zshLM6ZO6Iyx9maFwZvxU4qIArOnmpP2x2a7fbevXEkaTCI8V7Ue iDbHHioQOefa7Uph49FCAXuM4vXuwTpT9oWBM= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id A23DA8E25; Mon, 5 Dec 2011 15:50:23 -0500 (EST) Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 0D25B8E24; Mon, 5 Dec 2011 15:50:22 -0500 (EST) From: Andy Wingo To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: getopt-long References: <4ED767B8.9000107@gmail.com> <87hb1fhrel.fsf@gnu.org> Date: Mon, 05 Dec 2011 21:50:19 +0100 In-Reply-To: <87hb1fhrel.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Mon, 05 Dec 2011 18:14:42 +0100") Message-ID: <87d3c2rbec.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Pobox-Relay-ID: C066FB6C-1F82-11E1-A889-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 Cc: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 20:50:26 -0000 On Mon 05 Dec 2011 18:14, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > However, I=E2=80=99d recommend using SRFI-37: it supports multiple occurr= ences > of an option, and has a nicer interface IMO. I like it too, but I use both, and if we can make getopt-long more useful, there doesn't seem to be any harm in that. Andy --=20 http://wingolog.org/ From MAILER-DAEMON Mon Dec 05 15:51:14 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RXfVK-0008Hd-UO for mharc-guile-user@gnu.org; Mon, 05 Dec 2011 15:51:14 -0500 Received: from eggs.gnu.org ([140.186.70.92]:49971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXfVI-0008GR-2y for guile-user@gnu.org; Mon, 05 Dec 2011 15:51:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXfVG-0008Eb-O9 for guile-user@gnu.org; Mon, 05 Dec 2011 15:51:12 -0500 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:36460 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXfVG-0008EW-Lx for guile-user@gnu.org; Mon, 05 Dec 2011 15:51:10 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 2757F8E45; Mon, 5 Dec 2011 15:51:10 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=rTZ7BpsAULFK4JLjLVvWxsQr5mE=; b=GDEuhZ VK3VQKxGmxAzY3Av4zydD+JUxKnkP0YQ8w/9XlL0Ja2Wq5qSFKDHCH4EvgVIheRd 88gOB+ata47CQjWwE0CqXJAtqmGNInFlsi9fj4tvUCzGSnI9LGEjFjcx4zsr75W3 JF30qmeZcFK9jnuBeHb6HSKEiUguDv2HuNE7c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=aEmWSpZPBid6yKwV2BCwmkzZSM/lyRj9 1IU70omQEoLxHymlYCFafpwrjbtAiiaxm6whzzBm21v1DU4vzC3RwfPADUsBOwH5 n0QChQhYaKkl/SZrilcLrMASVnLxfK5RwhWQ5mmXIXBBpPiCoJKvuvprJiRJC3df /9Eo4atoo30= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 1F75E8E44; Mon, 5 Dec 2011 15:51:10 -0500 (EST) Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 8E09E8E43; Mon, 5 Dec 2011 15:51:09 -0500 (EST) From: Andy Wingo To: Thien-Thi Nguyen Subject: Re: getopt-long References: <4ED767B8.9000107@gmail.com> <87wraa988g.fsf@ambire.localdomain> Date: Mon, 05 Dec 2011 21:51:06 +0100 In-Reply-To: <87wraa988g.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Mon, 05 Dec 2011 19:35:59 +0100") Message-ID: <8762hurbd1.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Pobox-Relay-ID: DC22CED0-1F82-11E1-A33D-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 Cc: guile-user@gnu.org, Andrew Horton X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 20:51:13 -0000 On Mon 05 Dec 2011 19:35, Thien-Thi Nguyen writes: > Guile 1.4.x extended (ice-9 getopt-long) to handle multiple occurances. > Here is an excerpt from (info "(guile) getopt-long Reference"): > > `(merge-multiple? BOOL)' > If BOOL is `#t' and the `value' property is not `#f', all > (one or multiple) occurrances are merged into a list with > order retained. If `#f', each instance of the option results > in a separate entry in the resulting alist. That would be a compatible change, no? A patch would be gladly accepted :) Regards, Andy -- http://wingolog.org/ From MAILER-DAEMON Mon Dec 05 15:57:24 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RXfbI-00020Q-M6 for mharc-guile-user@gnu.org; Mon, 05 Dec 2011 15:57:24 -0500 Received: from eggs.gnu.org ([140.186.70.92]:34391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXfbF-0001xp-NS for guile-user@gnu.org; Mon, 05 Dec 2011 15:57:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXfbE-0000wR-Jz for guile-user@gnu.org; Mon, 05 Dec 2011 15:57:21 -0500 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:42058 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXfbE-0000wM-EI; Mon, 05 Dec 2011 15:57:20 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id EF6D68F21; Mon, 5 Dec 2011 15:57:19 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=ecR/ahT8qtBJ OyqXPldfAMhQTRQ=; b=VAVny9n0gLd3PpxA9jd6eWkrmBYNs0wrpiaqkTqM9MDJ e3XO40B/uU189o/b9fHezgOTnhga2A2tPNwtBBsTODb2D9stLOZHMv7tbVc2ymJ9 RUxUFSz214Bbuv1ucohIcWNjNEz7mZQ/aBUrsxiK5xa+epDtSKCzlJk6XUui93M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=hRynmn 6AYViVZqr8WLOshIxGZq/2TqNw5HLSjvhfavx/HS/tEVtAZ+l6bo1mmWAo1sIaYb QJVv7Cxypf6lPoyXNYPIoTM+bSKzeNDWzbmPnENZQw05Swa6SJ2C2qMmJS8VD4F8 wQLAC9n1pT4i1BWJmpV/aRUFpmfysygRfnvIc= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id E8A2A8F20; Mon, 5 Dec 2011 15:57:19 -0500 (EST) Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 5D2808F1F; Mon, 5 Dec 2011 15:57:19 -0500 (EST) From: Andy Wingo To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: or values bug? References: <20111205143331.GA2681@ccellier.rd.securactive.lan> <87obvmhq7x.fsf@gnu.org> Date: Mon, 05 Dec 2011 21:57:15 +0100 In-Reply-To: <87obvmhq7x.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Mon, 05 Dec 2011 18:40:18 +0100") Message-ID: <871usirb2s.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Pobox-Relay-ID: B88DFF52-1F83-11E1-AA98-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 Cc: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 20:57:22 -0000 On Mon 05 Dec 2011 18:40, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > scheme@(guile-user)> ,optimize (or (values 1 2) 'b) > $6 =3D (values 1 2) > > That the second value isn=E2=80=99t truncated is a bug (see below.) Indeed. > (let* ((vars (map (compose truncate lookup-var) gensyms)) > ...) > ...) Better to truncate when adding variables to all expand-time environments, I would think, in the form of `(cut make-primcall #f 'values <>)'. Andy --=20 http://wingolog.org/ From MAILER-DAEMON Mon Dec 05 16:00:38 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RXfeQ-0003M7-0L for mharc-guile-user@gnu.org; Mon, 05 Dec 2011 16:00:38 -0500 Received: from eggs.gnu.org ([140.186.70.92]:43901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXfeM-0003Jg-Ps for guile-user@gnu.org; Mon, 05 Dec 2011 16:00:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXfeL-0001e9-7B for guile-user@gnu.org; Mon, 05 Dec 2011 16:00:34 -0500 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:44376 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXfeK-0001e4-SM; Mon, 05 Dec 2011 16:00:33 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 7ED728F7F; Mon, 5 Dec 2011 16:00:32 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=+8L+sz0OFKMYRRjWg6RhNtbN4QY=; b=Zo1TKZ cqjEPiKNyurllmvwf0jcpjmS4PBcr6twLxeVLLBPjueda0lq7eLcgtVJeySYerQs REtO8nxHbVpxZBZiNCW5UG/CRoLmbBV74cnWG3X50A0uQLVLdcIhwu8JkF+wGozk 0/8T07Pli/U+ozDRm+sqVckjSdsAQ18oIzx7M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=kG0vxjIgJs3Le8DQfDb0PAT06Gr3c56c MS18javg4yEy0YTCqlwI1ZsoZjTHE0XpBtJ2zvJrhTxpoGxWYSGYqGn1cBeHtMRY tO2xULyQNOi6dQYLhxVYb6uaw+JUeb0rW6/+4WLshF/XTlsdFydnO3/p38D9H1nu ut5XHVAKOmc= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 75D468F7E; Mon, 5 Dec 2011 16:00:32 -0500 (EST) Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id E5D488F7D; Mon, 5 Dec 2011 16:00:31 -0500 (EST) From: Andy Wingo To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: or values bug? References: <20111205143331.GA2681@ccellier.rd.securactive.lan> <87obvmhq7x.fsf@gnu.org> <871usirb2s.fsf@pobox.com> Date: Mon, 05 Dec 2011 22:00:28 +0100 In-Reply-To: <871usirb2s.fsf@pobox.com> (Andy Wingo's message of "Mon, 05 Dec 2011 21:57:15 +0100") Message-ID: <87wraapwcz.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Pobox-Relay-ID: 2B53D8F4-1F84-11E1-940F-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 Cc: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 21:00:35 -0000 On Mon 05 Dec 2011 21:57, Andy Wingo writes: >> (let* ((vars (map (compose truncate lookup-var) gensyms)) >> ...) >> ...) > > Better to truncate when adding variables to all expand-time > environments, I would think, in the form of `(cut make-primcall #f > 'values <>)'. Rather, something like: (define (truncate x) (match x (() x) ;; similar provably singly-valued cases here (else (make-primcall #f 'values (list x))))) Andy -- http://wingolog.org/ From MAILER-DAEMON Mon Dec 05 16:57:18 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RXgXG-0000Pa-Ts for mharc-guile-user@gnu.org; Mon, 05 Dec 2011 16:57:18 -0500 Received: from eggs.gnu.org ([140.186.70.92]:38968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXgXE-0000MF-4h for guile-user@gnu.org; Mon, 05 Dec 2011 16:57:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXgXD-0004cJ-5V for guile-user@gnu.org; Mon, 05 Dec 2011 16:57:16 -0500 Received: from lo.gmane.org ([80.91.229.12]:36387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXgXC-0004cF-VO for guile-user@gnu.org; Mon, 05 Dec 2011 16:57:15 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RXgXA-0004RN-Nr for guile-user@gnu.org; Mon, 05 Dec 2011 22:57:12 +0100 Received: from reverse-83.fdn.fr ([80.67.176.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Dec 2011 22:57:12 +0100 Received: from ludo by reverse-83.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Dec 2011 22:57:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: guile-user@gnu.org From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Subject: Re: getopt-long Date: Mon, 05 Dec 2011 22:57:01 +0100 Lines: 21 Message-ID: <87obvmptqq.fsf@gnu.org> References: <4ED767B8.9000107@gmail.com> <87wraa988g.fsf@ambire.localdomain> <8762hurbd1.fsf@pobox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: reverse-83.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 Frimaire an 220 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:9morb/lo4GGSz+SJV60W4saugww= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2011 21:57:17 -0000 Hi, Andy Wingo skribis: > On Mon 05 Dec 2011 19:35, Thien-Thi Nguyen writes: > >> Guile 1.4.x extended (ice-9 getopt-long) to handle multiple occurances. >> Here is an excerpt from (info "(guile) getopt-long Reference"): >> >> `(merge-multiple? BOOL)' >> If BOOL is `#t' and the `value' property is not `#f', all >> (one or multiple) occurrances are merged into a list with >> order retained. If `#f', each instance of the option results >> in a separate entry in the resulting alist. > > That would be a compatible change, no? Indeed, that would be OK. Thanks, Ludo’. From MAILER-DAEMON Tue Dec 06 01:51:41 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RXosP-00054V-2R for mharc-guile-user@gnu.org; Tue, 06 Dec 2011 01:51:41 -0500 Received: from eggs.gnu.org ([140.186.70.92]:35218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXosM-00054P-6l for guile-user@gnu.org; Tue, 06 Dec 2011 01:51:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXosL-0004R7-AI for guile-user@gnu.org; Tue, 06 Dec 2011 01:51:38 -0500 Received: from smtp1-g21.free.fr ([212.27.42.1]:60361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXosK-0004Qm-R9 for guile-user@gnu.org; Tue, 06 Dec 2011 01:51:37 -0500 Received: from shuttle.happyleptic.org (unknown [IPv6:2a01:e35:243c:2590:82ee:73ff:fe07:76f1]) by smtp1-g21.free.fr (Postfix) with ESMTP id 548F394037A for ; Tue, 6 Dec 2011 07:51:30 +0100 (CET) Received: from rixed by shuttle.happyleptic.org with local (Exim 4.72) (envelope-from ) id 1RXosD-0001Af-4T for guile-user@gnu.org; Tue, 06 Dec 2011 07:51:29 +0100 Date: Tue, 6 Dec 2011 07:51:29 +0100 From: rixed@happyleptic.org To: guile-user@gnu.org Subject: Re: or values bug? Message-ID: <20111206065129.GB4125@shuttle.happyleptic.org> Mail-Followup-To: rixed@happyleptic.org, guile-user@gnu.org References: <20111205143331.GA2681@ccellier.rd.securactive.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111205143331.GA2681@ccellier.rd.securactive.lan> User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 212.27.42.1 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 06:51:39 -0000 Thank you to both of you for the explanations and for looking for a solution so quickly. Anyway, I changed my code to not use this evil multiple value feature and I think I will keep away from this. Returning a list seams so much natural. Do you need me actualy fill a bugreport? From MAILER-DAEMON Tue Dec 06 09:16:48 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RXvpA-00054j-OK for mharc-guile-user@gnu.org; Tue, 06 Dec 2011 09:16:48 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXvp5-00050X-PA for guile-user@gnu.org; Tue, 06 Dec 2011 09:16:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXvp0-0002kj-20 for guile-user@gnu.org; Tue, 06 Dec 2011 09:16:43 -0500 Received: from smtp208.alice.it ([82.57.200.104]:49538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXvoz-0002kO-TA for guile-user@gnu.org; Tue, 06 Dec 2011 09:16:38 -0500 Received: from ambire.localdomain (95.244.65.2) by smtp208.alice.it (8.6.023.02) id 4ECA61BE0207548A; Tue, 6 Dec 2011 15:16:13 +0100 Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1RXvlm-0001v9-Ii; Tue, 06 Dec 2011 15:13:18 +0100 From: Thien-Thi Nguyen To: Andy Wingo Subject: Re: getopt-long References: <4ED767B8.9000107@gmail.com> <87wraa988g.fsf@ambire.localdomain> <8762hurbd1.fsf@pobox.com> Date: Tue, 06 Dec 2011 15:13:18 +0100 In-Reply-To: <8762hurbd1.fsf@pobox.com> (Andy Wingo's message of "Mon, 05 Dec 2011 21:51:06 +0100") Message-ID: <87wra923gh.fsf@ambire.localdomain> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.104 Cc: guile-user@gnu.org, Andrew Horton X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 14:16:47 -0000 () Andy Wingo () Mon, 05 Dec 2011 21:51:06 +0100 That would be a compatible change, no? I believe so. A patch would be gladly accepted :) Also for 1.8.x? From MAILER-DAEMON Tue Dec 06 11:11:17 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RXxbx-0003jG-T4 for mharc-guile-user@gnu.org; Tue, 06 Dec 2011 11:11:17 -0500 Received: from eggs.gnu.org ([140.186.70.92]:52370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXxbq-0003bW-6B for guile-user@gnu.org; Tue, 06 Dec 2011 11:11:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXxbj-0001kO-Jn for guile-user@gnu.org; Tue, 06 Dec 2011 11:11:10 -0500 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:49608 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXxbj-0001k5-Hn for guile-user@gnu.org; Tue, 06 Dec 2011 11:11:03 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 554627450; Tue, 6 Dec 2011 11:11:03 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=6FnDgGrWAc92qeXYKs2nddS167c=; b=n3nBfJ 7ZOT5cSnNgo8iiEHF0JnzFfKUuDHaJKo7OSzE/WGIa1EioncDkccGr84+9E1IRo9 O6jBdFkUjrJb8MNdTeSqF3rLyLPI9wcajiV6MU//nDu3KmjYlamrP3FmHZ8NKQBf 3ohzrPrHOxDd5LUTAIcORM7SRO93Vub0lv2lQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=nt7twRtrZllztXZds3aqROIfksJp9znf H3Vny6QlEHTfuPXcQDgp8AJd9BCJSbJspMkes0EdlgG5IoVeONsEKgtESrw2ZHFH umCZLqWfAsikXqkqxp5skK10FxYBgkHCzMpvjx4LIIe2Qqya4ehwuW3V6QmPgWnG 7e2qssvufsc= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 46454744F; Tue, 6 Dec 2011 11:11:03 -0500 (EST) Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 9CBC7744E; Tue, 6 Dec 2011 11:11:02 -0500 (EST) From: Andy Wingo To: Thien-Thi Nguyen Subject: Re: getopt-long References: <4ED767B8.9000107@gmail.com> <87wraa988g.fsf@ambire.localdomain> <8762hurbd1.fsf@pobox.com> <87wra923gh.fsf@ambire.localdomain> Date: Tue, 06 Dec 2011 17:10:45 +0100 In-Reply-To: <87wra923gh.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Tue, 06 Dec 2011 15:13:18 +0100") Message-ID: <87ehwhof3u.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Pobox-Relay-ID: E4D4E73C-2024-11E1-B964-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 Cc: guile-user@gnu.org, Andrew Horton X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 16:11:16 -0000 On Tue 06 Dec 2011 15:13, Thien-Thi Nguyen writes: > A patch would be gladly accepted :) > > Also for 1.8.x? If you want to, sure. Thanks! Andy -- http://wingolog.org/ From MAILER-DAEMON Tue Dec 06 12:57:22 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RXzGc-0005tI-HH for mharc-guile-user@gnu.org; Tue, 06 Dec 2011 12:57:22 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXzGZ-0005t3-KX for guile-user@gnu.org; Tue, 06 Dec 2011 12:57:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXzGV-0008QA-3x for guile-user@gnu.org; Tue, 06 Dec 2011 12:57:19 -0500 Received: from lo.gmane.org ([80.91.229.12]:42454) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXzGU-0008Q4-RR for guile-user@gnu.org; Tue, 06 Dec 2011 12:57:15 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RXzGT-00088H-2A for guile-user@gnu.org; Tue, 06 Dec 2011 18:57:13 +0100 Received: from 193.50.110.167 ([193.50.110.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Dec 2011 18:57:13 +0100 Received: from ludo by 193.50.110.167 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Dec 2011 18:57:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: guile-user@gnu.org From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Subject: Re: or values bug? Date: Tue, 06 Dec 2011 18:57:00 +0100 Lines: 129 Message-ID: <878vmpk2hf.fsf@gnu.org> References: <20111205143331.GA2681@ccellier.rd.securactive.lan> <87obvmhq7x.fsf@gnu.org> <871usirb2s.fsf@pobox.com> <87wraapwcz.fsf@pobox.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 193.50.110.167 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 16 Frimaire an 220 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:Q84+taw30m2ROXAaYVKqKTEreX8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 17:57:21 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Hi Andy, Andy Wingo skribis: > Rather, something like: > > (define (truncate x) > (match x > (() x) > ;; similar provably singly-valued cases here > (else (make-primcall #f 'values (list x))))) I’ve started poking at it and the main difficulty is that we now need to know, for any procedure, whether it’s provably singly-valued. I suspect it’s often the case that it cannot be proved, for instance when a lambda calls a top-level. In all those cases, we’d end up wrapping the expression in (values (list EXP)), which seems like a bad idea. Thoughts? Thanks, Ludo’. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/module/language/tree-il/peval.scm b/module/language/tree-il/peval.scm index 634c6c9..b4f5144 100644 --- a/module/language/tree-il/peval.scm +++ b/module/language/tree-il/peval.scm @@ -99,6 +99,42 @@ (or (proc (vlist-ref vlist i)) (lp (1+ i))))))) +(define (truncate-values x) + "Discard all but the first value of X." + (let loop ((x x)) + (match x + (($ ) x) + (($ ) x) + (($ ) x) + (($ ) x) + (($ ) x) + (($ ) x) + (($ ) x) + (($ src condition subsequent alternate) + (make-conditional src condition (loop subsequent) (loop alternate))) + (($ src ($ _ 'values) (first _ ...)) + first) + (($ _ ($ )) + ;; Assume all other primitives return at most one value. + x) + (($ src (exps ... last)) + (make-sequence src (append exps (list (loop last))))) + (($ ) x) + (($ src fluids vals body) + (make-dynlet src fluids vals (loop body))) + (($ src names gensyms vals body) + (make-let src names gensyms vals (loop body))) + (($ src in-order? names gensyms vals body) + (make-letrec src in-order? names gensyms vals (loop body))) + (($ src names gensyms vals body) + (make-fix src names gensyms vals body)) + (($ src exp body) + (make-let-values src exp (loop body))) + (else + (make-application (tree-il-src x) + (make-primitive-ref #f'values) + (list x)))))) + ;; Peval will do a one-pass analysis on the source program to determine ;; the set of assigned lexicals, and to identify unreferenced and ;; singly-referenced lexicals. @@ -278,8 +314,10 @@ (constant-value operand-constant-value set-operand-constant-value!)) (define* (make-operand var sym #:optional source visit) + ;; Bind SYM to VAR, with value SOURCE. ;; Bound operands are considered copyable until we prove otherwise. - (%make-operand var sym visit source 0 #f (and source #t) #f #f)) + (let ((source (if source (truncate-values source) source))) + (%make-operand var sym visit source 0 #f (and source #t) #f #f))) (define (make-bound-operands vars syms sources visit) (map (lambda (x y z) (make-operand x y z visit)) vars syms sources)) diff --git a/test-suite/tests/tree-il.test b/test-suite/tests/tree-il.test index 5e02bd1..57fd1f4 100644 --- a/test-suite/tests/tree-il.test +++ b/test-suite/tests/tree-il.test @@ -664,6 +664,28 @@ (+ a b)))) (const 3)) + (pass-if-peval resolve-primitives + ;; First order, multiple values. + (let ((x 1) (y 2)) + (values x y)) + (apply (primitive values) (const 1) (const 2))) + + (pass-if-peval resolve-primitives + ;; First order, multiple values truncated. + (let ((x (values 1 'a)) (y 2)) + (values x y)) + (apply (primitive values) (const 1) (const 2))) + + (pass-if-peval resolve-primitives + ;; First order, multiple values truncated. + (or (values 1 2) 3) + (const 1)) + + (pass-if-peval resolve-primitives + ;; First order, multiple values truncated in arguments. + (+ (values 1 2 3) 2) + (const 3)) + (pass-if-peval ;; First order, coalesced, mutability preserved. (cons 0 (cons 1 (cons 2 (list 3 4 5)))) --=-=-=-- From MAILER-DAEMON Tue Dec 06 13:23:49 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RXzgD-00085B-Nx for mharc-guile-user@gnu.org; Tue, 06 Dec 2011 13:23:49 -0500 Received: from eggs.gnu.org ([140.186.70.92]:37111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXzgB-00083w-0y for guile-user@gnu.org; Tue, 06 Dec 2011 13:23:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RXzg9-0005PP-Dl for guile-user@gnu.org; Tue, 06 Dec 2011 13:23:46 -0500 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:56032 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RXzg9-0005PK-7L; Tue, 06 Dec 2011 13:23:45 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 7450D85D5; Tue, 6 Dec 2011 13:23:44 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=KqvvMceasCV+ anXd7/XT1Q4G4EQ=; b=IRyLeiWcYXwQw/bLA4dk3+tLBOI3cAoYnNH3taN95m/o 8ObTCItVWM/ddQ7KSBcTmPgEtin7RyWf76haa8kld/qupbIUvAhf0zuvmM/s1SSS QWwo4hCqOxiO/oXWrrWkjzXeXpl+OxL3QQgh3BMFkOcVijWpx8pdVmXwg43kRkU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=JhCRH1 imgveAYQk6iXhENCABsyaFqOdNQFts69CL7ELdojVa2vg2n03bORwG3iem87JNo5 KfoKRODKdEP530ZuX8mPhGCKMt/zNZ8V/+s8BUy/c0VqALwZvtJefrHaKMxih39p zHE5UpEZ7yykoCbB0sbBCpWJPuB7WjZuV82Fw= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 6C85485CE; Tue, 6 Dec 2011 13:23:44 -0500 (EST) Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id D892385CA; Tue, 6 Dec 2011 13:23:43 -0500 (EST) From: Andy Wingo To: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: or values bug? References: <20111205143331.GA2681@ccellier.rd.securactive.lan> <87obvmhq7x.fsf@gnu.org> <871usirb2s.fsf@pobox.com> <87wraapwcz.fsf@pobox.com> <878vmpk2hf.fsf@gnu.org> Date: Tue, 06 Dec 2011 19:23:39 +0100 In-Reply-To: <878vmpk2hf.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Tue, 06 Dec 2011 18:57:00 +0100") Message-ID: <87y5upmudw.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Pobox-Relay-ID: 6E1A7310-2037-11E1-9A48-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 Cc: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2011 18:23:48 -0000 Hey, thanks for looking at this! On Tue 06 Dec 2011 18:57, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Hi Andy, > > Andy Wingo skribis: > >> Rather, something like: >> >> (define (truncate x) >> (match x >> (() x) >> ;; similar provably singly-valued cases here >> (else (make-primcall #f 'values (list x))))) > > I suspect it=E2=80=99s often the case that it cannot be proved, for insta= nce > when a lambda calls a top-level. In all those cases, we=E2=80=99d end up > wrapping the expression in (values (list EXP)), which seems like a bad > idea. For the purposes of peval, this is probably fine. Are there any expressions for which we don't know the number of values that we allow to propagate? But if the operand residualizes, it would be nice to avoid turning (let ((x (foo))) (+ 1 x)) into (let ((x (values (foo)))) (+ 1 x)) as in this case the `values' is completely unnecessary. Peval could handle it, or compile-glil.scm could handle it. Other than those comments, the patch looks nice to me! Andy --=20 http://wingolog.org/ From MAILER-DAEMON Thu Dec 15 06:18:13 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rb9KH-0003SM-Sc for mharc-guile-user@gnu.org; Thu, 15 Dec 2011 06:18:13 -0500 Received: from eggs.gnu.org ([140.186.70.92]:34498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rb9KA-0003SE-EB for guile-user@gnu.org; Thu, 15 Dec 2011 06:18:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rb9K4-0008RF-7E for guile-user@gnu.org; Thu, 15 Dec 2011 06:18:06 -0500 Received: from smtp207.alice.it ([82.57.200.103]:33255) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rb9Jv-0008PX-Go; Thu, 15 Dec 2011 06:17:51 -0500 Received: from ambire.localdomain (87.9.131.245) by smtp207.alice.it (8.6.023.02) id 4ED236CF02BBA4F2; Thu, 15 Dec 2011 12:17:32 +0100 Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1Rb9Gd-0003eK-Rq; Thu, 15 Dec 2011 12:14:27 +0100 From: Thien-Thi Nguyen To: guile-sources@gnu.org Subject: Guile-SDL 0.4.0 available Date: Thu, 15 Dec 2011 12:14:27 +0100 Message-ID: <87obvaulws.fsf@ambire.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.103 Cc: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2011 11:18:12 -0000 release notes: The price of portability is some increased ugliness; hackers please see =E2=80=98%%Guile-SDL-obtw=E2=80=99 and suggest alterna= tives. Special thanks go to Brian Templeton for the patch that inspired my change of heart wrt Guile 1.8. (That code is not in Guile-SDL, but the ideas it expresses are.) It has been a long while, but here we are at last. Please look carefully at the NEWS entries marked [I]. Most likely further 0.4.x releases will have more; perhaps they can be avoided for 0.5.x and later. thi README excerpt: This directory contains Guile-SDL, a set of modules that provide bindings for SDL (Simple DirectMedia Layer) to enable Guile programmers to do all the nice things you can do with SDL. Most of the SDL functions have been wrapped with the exception of a few functions that were too C-centric. The SDL Threads and the Audio functions haven't been included because of the problems with Guile code being run from more than one thread. However audio programming can be done with the module =E2=80=98(sdl mixer)=E2=80=99 that requires t= he SDL_mixer library. Also included is SDL_gfx 2.0.22 (by Andreas Schiffler) and bindings for it. NEWS excerpt: - 0.4.0 | 2011-12-15 - improved portability Guile-SDL is now also tested with Guile-1.8.7 on a 64-bit host. It should build and run without any deprecation warnings; if use under =E2=80=98GUILE_WARN_DEPRECATED=3Ddetailed=E2=80=99 reveals so= mething, please report that as a bug. Notably, for Guile versions that do not support "direct shared- object loading" (i.e., Guile 1.8+), configuration arranges for a module's sofile to be installed in $(libdir)/guile-sdl -- aka $(pkglibdir) -- and its Scheme wrapper (that dynamically loads the sofile and handles =E2=80=98define-module=E2=80=99 duties) to b= e installed in the "normal" site directory. See new file HACKING for details. - validation - use Free{SansBold,SerifBoldItalic}.ttf for testing The testing (distributed but not installed) font files are now FreeSansBold.ttf and FreeSerifBoldItalic.ttf (see AUTHORS). The file crystal.ttf is no longer included due to doubts about its lineage and licensing. - support for =E2=80=98VERBOSE=3D1=E2=80=99 By default, "make check" is relatively silent. You can use "make check VERBOSE=3D1" to see more information. - support for =E2=80=98NOMMX=3D1=E2=80=99 You can disable MMX usage dynamically with "make check NOMMX=3D1". This might be necessary if test/gfx.scm segfaults. :-/ - infrastructure upgrade Doing "make check" now prepares a "simulated installation" (under test/.simu) for better approximation to a real-world, post-install environment. It is an approximation only because documentation is not included. Tests are now run by a driver program which DTRT, we hope. Also, they have full access to Guile-BAUX modules. - support for "make installcheck" (You need to "make install" first!) Since =E2=80=98installcheck=E2= =80=99 piggybacks on =E2=80=98check=E2=80=99, it honors =E2=80=98INTERACTI= VE=3D1=E2=80=99, etc. - tests delay less This makes running "make check" less weary for the impatient. - tests explicitly =E2=80=98exit=E2=80=99 Moreover, the exit value is taken from the =E2=80=98(sdl sdl) quit= =E2=80=99 return value. This helps detect problems earlier. - different =E2=80=98#:prefix=E2=80=99 for each module Previously, some tests would use the same import-prefix for different modules. Now they are distinct, for clarity. - cursor test ignores =E2=80=98INTERACTIVE=3D1=E2=80=99 There was really no good reason for it to honor =E2=80=98INTERACTIV= E=3D1=E2=80=99 in the first place. - better coverage, though still incomplete The test suite now includes =E2=80=98t99-cov=E2=80=99, marked as = =E2=80=98xfail=E2=80=99. There are still 189 "slighted" procedures. - planned retirement: integer arg for =E2=80=98grab-input=E2=80=99 Support for integer =E2=80=98mode=E2=80=99 to proc =E2=80=98(sdl sd= l) grab-input=E2=80=99 WILL BE REMOVED after 2012-05-31, such that an integer =E2=80=98mode=E2=80= =99 will result in a =E2=80=98wrong-type-arg=E2=80=99 error. Migration is straightforward; use a symbol instead of an integer. was: -1 now: query 0 off 1 on - planned retirement: ordinary vector argument(s) Some procedures now take uniform vector arguments (see below). For backward compatability with Guile-SDL 0.3.10 and earlier, you can also use an ordinary vector. This is expensive and less safe, however, so this support WILL BE REMOVED after 2012-12-31. Luckily, migration is simple: Import module =E2=80=98(srfi srfi-4)= =E2=80=99 and replace =E2=80=98list->vector=E2=80=99 with =E2=80=98list->u16vecto= r=E2=80=99, and so on. - bugfixes Backward-incompatible changes are marked with "[I]". - distribute =E2=80=98SDL_gfx=E2=80=99 LICENSE I.e., the GNU LGPL 2.1. - no MMX support if not in "32-bit mode" The MMX support (in SDL_gfx) was previously enabled for any processor that reported support for it. However, the code itself makes use of instructions (e.g., PUSHA, POPA) that are not available in 64-bit mode, so we now don't even bother checking for MMX support for 64-bit processors. - [I] flags are symbols Previously the following procs returned a (possibly empty) list of strings. Now, they return a (possibly empty) list of symbols. - (sdl sdl) flagstash-flags - (sdl sdl) number->flags - (sdl sdl) was-init - (sdl sdl) get-mod-state - (sdl sdl) event:key:keysym:mod - (sdl ttf) font:style - exact bitwise match required in =E2=80=98ulong2flags=E2=80=99 This func, a subroutine of the procs listed above in entry "flags are symbols" (except for =E2=80=98flagstash-flags=E2=80=99),= used to include a flag in the returned list if any of its constituent bits were set in the original number. Now, it requires all set bits to match as a condition for inclusion. - correct proc name for wrong-type-arg error message The following procs used to mis-identify themselves (as another) in the =E2=80=98wrong-type-arg=E2=80=99 error message: - (sdl mixer) paused? - (sdl sdl) load-image - (sdl sdl) set-gamma-ramp - allocate enough memory for temp =E2=80=98SDL_Color=E2=80=99 array Procs =E2=80=98set-colors!=E2=80=99 and =E2=80=98set-palette=E2=80= =99 used to corrupt memory by underallocating a temporary =E2=80=98SDL_Color=E2=80=99 array, then= overfilling it. Now, they allocate the right amount. - avoid =E2=80=98SDL_Surface=E2=80=99 double-free Previously, both =E2=80=98get-video-surface=E2=80=99 and =E2=80=98s= et-video-mode=E2=80=99 would return a smob whose free func would call =E2=80=98SDL_FreeSurface= =E2=80=99 on the unpacked =E2=80=98SDL_Surface=E2=80=99 object. This is incorre= ct because those objects are internal (and moreover currently in use), rather than freshly constructed for hand-off to the user; the smob free func should not call =E2=80=98SDL_FreeSurface=E2=80=99 on= them. That is the job for the internal cleanup invoked by =E2=80=98(sdl sdl) q= uit=E2=80=99. Now, the =E2=80=98SDL-Surface=E2=80=99 smob distinguishes between u= ser and internal, and its free func calls =E2=80=98SDL_FreeSurface=E2=80=99= only for user objects. - =E2=80=98(sdl sdl) get-caption=E2=80=99 handles =E2=80=98NULL=E2=80= =99 title, icon This used to segfault on =E2=80=98NULL=E2=80=99 title or icon. - other changes Backward-incompatible changes are marked with "[I]". For procs that now take uniform vectors, see also the "planned retirement" NEWS entry above. - [I] arg type-check tightened from =E2=80=98exact?=E2=80=99 to =E2= =80=98integer?=E2=80=99 Procs that used to accept exact numbers now accept integers only. This basically means rational numbers are now invalid. Observant tarball-perusers will note that the modules and tests no longer use =E2=80=98quotient=E2=80=99. - =E2=80=98(sdl gfx) imfi-mmx?=E2=80=99 now able to set MMX usage This now takes an optional arg =E2=80=98setting=E2=80=99 for en-/di= s-abling MMX usage at runtime. - embedded =E2=80=98SDL_gfx=E2=80=99 upgraded to 2.0.22 Unfortunately, some MMX-backed procs now routinely segfault. (More unfortunately, the segfault has not been investigated, and was in fact the motivation for extending =E2=80=98imfi-mmx?=E2=80= =99, as a "make check" workaround. Masking bugs via feature creep: suboptimal.) - new proc: =E2=80=98(sdl gfx) draw-rounded-rectangle=E2=80=99 This draws a rectangle with rounded corners of specified radius. - new proc: =E2=80=98(sdl gfx) draw-thick-line=E2=80=99 This draws a line of specified thickness (in pixels). - new proc: =E2=80=98(sdl gfx) font-rotation!=E2=80=99 This causes subsequent =E2=80=98draw-character=E2=80=99 and =E2=80= =98draw-string=E2=80=99 calls to render rotated images. The symbolic specified rotation is one of =E2=80=98none=E2=80=99, =E2=80=98clockwise=E2=80=99, =E2=80= =98counter-clockwise=E2=80=99, =E2=80=98upside-down=E2=80=99. - new enumstash: =E2=80=98(sdl gfx) font-rotations=E2=80=99 This is for =E2=80=98font-rotation!=E2=80=99 support. - new proc: =E2=80=98(sdl misc-utils) exact-truncate=E2=80=99 This is nothing but =E2=80=98(inexact->exact (truncate n))=E2=80=99= plus documentation, support and the special glow from association with other Guile-SDL procs. :-D - =E2=80=98#:prefix=E2=80=99 used for import renaming All =E2=80=98#:renamer=E2=80=99 uses were coincident with =E2=80=98= symbol-prefix-proc=E2=80=99, so these have been replaced with =E2=80=98#:prefix=E2=80=99. [Inse= rt blurb about =E2=80=98symbol-prefix-proc=E2=80=99 regret, here.] - some =E2=80=98(sdl gfx)=E2=80=99 procs take s16 uniform vectors Coordinate arguments for these procs can now be s16 uniform vectors. You can even mix normal w/ s16 (but that's crazy). - draw-polygon - draw-aa-polygon - draw-textured-polygon - draw-bezier - =E2=80=98(sdl sdl) create-cursor=E2=80=99 takes u8 uniform vectors The =E2=80=98data=E2=80=99 and =E2=80=98mask=E2=80=99 arguments can= now be u8 uniform vectors. - =E2=80=98(sdl sdl) set-gamma-ramp=E2=80=99 takes u16 uniform vectors The red, green and blue table arguments can now be u16 uniform vectors. - [I] =E2=80=98(sdl sdl) get-gamma-ramp=E2=80=99 now returns list of = uvec Previously, this proc returned an alist. Now, it returns a list of three elements, each of which is a u16 uniform vector. - [I] =E2=80=98(sdl sdl) show-cursor=E2=80=99 redesigned The optional arg is no longer a "toggle enabler" (which didn't seem to be implemented correctly, anyway) but instead a direct "setting". In other words: was: show: (or (show-cursor) (show-cursor #t)) ; buggy? hide: (and (show-cursor) (show-cursor #t)) ; buggy? flip: (show-cursor #t) ; buggy? now: show: (show-cursor #t) hide: (show-cursor #f) flip: (show-cursor (not (show-cursor))) - documentation improvements - manual license now GNU FDL 1.3 - table of contents now after title page - getter/setter procs documented - SDL type no longer mentioned in access procs - todo list dropped - tools for bootstrap upgraded - no longer need gperf(1) to bootstrap - GNU Automake 1.11.1 - GNU Autoconf 2.68 - GNU Libtool 2.4.2 - GNU texinfo 4.13 - Guile-BAUX 20111207.1126.1d610b3 - snuggle.m4 serial 5 tarball and its detached signature in dir: http://download.savannah.gnu.org/releases/guile-sdl/ homepage: http://www.nongnu.org/guile-sdl/ From MAILER-DAEMON Thu Dec 15 06:39:10 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rb9eY-0007iH-0P for mharc-guile-user@gnu.org; Thu, 15 Dec 2011 06:39:10 -0500 Received: from eggs.gnu.org ([140.186.70.92]:50427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rb9eQ-0007i7-Q0 for guile-user@gnu.org; Thu, 15 Dec 2011 06:39:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rb9eM-0004zv-V0 for guile-user@gnu.org; Thu, 15 Dec 2011 06:39:02 -0500 Received: from smtp207.alice.it ([82.57.200.103]:43898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rb9eC-0004yf-EB; Thu, 15 Dec 2011 06:38:48 -0500 Received: from ambire.localdomain (87.9.131.245) by smtp207.alice.it (8.6.023.02) id 4ED236CF02BCA691; Thu, 15 Dec 2011 12:38:46 +0100 Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1Rb9bC-0003fn-OF; Thu, 15 Dec 2011 12:35:42 +0100 From: Thien-Thi Nguyen To: guile-sources@gnu.org Subject: Tastiera-Dura 1.14 available Date: Thu, 15 Dec 2011 12:35:42 +0100 Message-ID: <87mxauukxd.fsf@ambire.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.103 Cc: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2011 11:39:08 -0000 release notes: "Hey ttn, why did you stop hacking Serveez?" Well, the primary reason was to research "byte vectors" (and other rectilinear-hulled bit collections), which brought me to CMOD-PLAY, then Guile-SDL, then Guile-SDL Demos, then Tastiera Dura. (So that's the foreshadowing part.) Thus, this is a maintenance release, primarily for Guile 1.4.x users. For Guile 1.8+ users, it will probably install w/o issue but won't be functional until the next Guile-SDL release is installed. (In the meantime, feedback welcome, anyway.) thi LEGGIMI excerpt: Benvenuto a Tastiera Dura, un piccolo programma per divertire i bambini con forme, lettere ed immagini varie sul schermo in risposta ai dati della tastiera. Si chiama "dura" perch=C3=A9 oltre ai "tasti per uscire", non =C3=A8 possibile interrompere l'esecuzione del programma (in teoria). NOTIZIE excerpt: - 1.14 | 2011-12-14 - manutenzione tarball, prettified source, etc, in dir: http://www.gnuvola.org/software/tastiera-dura/ atom feed: http://www.gnuvola.org/NEWS.atom From MAILER-DAEMON Thu Dec 15 07:24:10 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RbAM6-0000gS-4j for mharc-guile-user@gnu.org; Thu, 15 Dec 2011 07:24:10 -0500 Received: from eggs.gnu.org ([140.186.70.92]:46469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbAM0-0000gC-Rl for guile-user@gnu.org; Thu, 15 Dec 2011 07:24:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbALv-0006I5-55 for guile-user@gnu.org; Thu, 15 Dec 2011 07:24:04 -0500 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:59252 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbALi-0005yu-GB; Thu, 15 Dec 2011 07:23:46 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 754FA8431; Thu, 15 Dec 2011 07:23:45 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=sfnRgRJOSIXmm4PrudnGhkk6zhM=; b=t7fjcI XQbq8GO2G5ZJ2Uj6EVgIXOvg7p4kLyS1bv46pJFOIkeDerCcKHf65/EnyLcgzXIg X4BS9cbui2G4WgbRERkfvM6i/Z7oYF7CazYUB059YlPdr4v2iGRwe4jdQqHcfosB GkfT1aRVz5cJOsLGFS6D4Gf5gUpLbvdnC0is0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=R2aW+hOPvejo2Njg3vXkPoaAezwx17rL 4a3mSY9DGG/uDNi4JYgoQDmNmwds+pxKMQXrVWbNCyMd+nASSUI2C94g+R1k5xeG g6Y2MGCXnndWjJKYdcyZfNX29E/VlZ3aPm6Y5Y+P4givR+GQGkrrXhiDHXCB16PP oXtq1E53dxY= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 6D3D78430; Thu, 15 Dec 2011 07:23:45 -0500 (EST) Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 546B5842E; Thu, 15 Dec 2011 07:23:44 -0500 (EST) From: Andy Wingo To: Thien-Thi Nguyen Subject: Re: Guile-SDL 0.4.0 available References: <87obvaulws.fsf@ambire.localdomain> Date: Thu, 15 Dec 2011 13:23:40 +0100 In-Reply-To: <87obvaulws.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Thu, 15 Dec 2011 12:14:27 +0100") Message-ID: <87mxauuipf.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Pobox-Relay-ID: A17D9C28-2717-11E1-BB5C-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 Cc: guile-user@gnu.org, guile-sources@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2011 12:24:09 -0000 On Thu 15 Dec 2011 12:14, Thien-Thi Nguyen writes: > This directory contains Guile-SDL, a set of modules that provide > bindings for SDL (Simple DirectMedia Layer) to enable Guile > programmers to do all the nice things you can do with SDL. Cool! It works with Guile 2.0 if you replace: #define MAKE_HASH_TABLE(size) \ (scm_make_vector (REASONABLE_BUCKET_COUNT (size), SCM_EOL)) with #define MAKE_HASH_TABLE(size) \ (scm_c_make_hash_table (size)) Cheers, Andy -- http://wingolog.org/ From MAILER-DAEMON Thu Dec 15 12:56:45 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RbFXw-0000Lh-Vp for mharc-guile-user@gnu.org; Thu, 15 Dec 2011 12:56:44 -0500 Received: from eggs.gnu.org ([140.186.70.92]:56307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbFXt-0000Gs-VP for guile-user@gnu.org; Thu, 15 Dec 2011 12:56:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbFXs-0003F8-9g for guile-user@gnu.org; Thu, 15 Dec 2011 12:56:41 -0500 Received: from mailout-de.gmx.net ([213.165.64.22]:47155) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RbFXr-0003Ed-SV for guile-user@gnu.org; Thu, 15 Dec 2011 12:56:40 -0500 Received: (qmail 8640 invoked by uid 0); 15 Dec 2011 17:56:37 -0000 Received: from 92.73.69.205 by www023.gmx.net with HTTP; Thu, 15 Dec 2011 18:56:36 +0100 (CET) Content-Type: text/plain; charset="utf-8" Date: Thu, 15 Dec 2011 18:56:36 +0100 From: "Anton Vidovic" Message-ID: <20111215175636.80660@gmx.net> MIME-Version: 1.0 Subject: Re: printed Guile 2 manual To: guile-user@gnu.org X-Authenticated: #4969600 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX1/rbJ9cwzHrPJ5JzJjxDrFlFyczDiKF7CYtnlroE/ XEiCeycQRQAxrmIkRcyrXJLzJm7NbS/4C1BA== Content-Transfer-Encoding: 8bit X-GMX-UID: g1GYbuZ+eSEqTuG3IHQh/KZ+IGRvb4Dk X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.22 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2011 17:56:43 -0000 On Tue, 15 Nov 2011 17:53:20 +0100 rixed wrote: >-[ Fri, Sep 02, 2011 at 04:07:47PM +0100, Brian Gough ]---- >> I'm thinking of publishing a printed edition of the Guile manual - but >> it only makes sense if there's enough interest from Guile users who like >> printed books. >Any news about this? Apparently it was published this Tuesday, but apart from the news section on the gnu page, nobody told anyone. * http://www.network-theory.co.uk/guile/manual/ * http://www.gnu.org/software/guile/news.html A. -- NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie! Jetzt informieren: http://www.gmx.net/de/go/freephone From MAILER-DAEMON Thu Dec 15 18:07:26 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RbKOc-00065Y-Gn for mharc-guile-user@gnu.org; Thu, 15 Dec 2011 18:07:26 -0500 Received: from eggs.gnu.org ([140.186.70.92]:45174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbKOZ-000649-KK for guile-user@gnu.org; Thu, 15 Dec 2011 18:07:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbKOY-0008Fd-Jh for guile-user@gnu.org; Thu, 15 Dec 2011 18:07:23 -0500 Received: from server.network-theory.com ([109.74.193.71]:55877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbKOY-0008FN-AM for guile-user@gnu.org; Thu, 15 Dec 2011 18:07:22 -0500 Date: Thu, 15 Dec 2011 23:07:20 +0000 From: Brian Gough User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110922 Thunderbird/3.1.15 MIME-Version: 1.0 To: guile-user@gnu.org Subject: Guile 2.0.3 manual published Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-Id: <1RbKOX-00069X-BN.1323990442=973a5f03@network-theory.co.uk> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 109.74.193.71 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2011 23:07:24 -0000 Hello everyone I just wanted to officially confirm that the Guile 2.0.3 manual is now available as a printed book (ISBN 9781906966157). Details at http://www.network-theory.co.uk/guile/manual/ It's a hefty volume - over 900 pages, the price is 29.95 USD (or 19.95 GBP in the UK). -- Brian Gough Network Theory Ltd Web: http://www.network-theory.co.uk/ From MAILER-DAEMON Thu Dec 15 20:36:42 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RbMj4-0004XC-F6 for mharc-guile-user@gnu.org; Thu, 15 Dec 2011 20:36:42 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbMj2-0004Vx-Gw for guile-user@gnu.org; Thu, 15 Dec 2011 20:36:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbMj1-00075a-IK for guile-user@gnu.org; Thu, 15 Dec 2011 20:36:40 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:46214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbMj1-000757-CF for guile-user@gnu.org; Thu, 15 Dec 2011 20:36:39 -0500 Received: by wgbdt11 with SMTP id dt11so4204943wgb.30 for ; Thu, 15 Dec 2011 17:36:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=7XmvOyokitbtMfSjaGsmHKNJNLFqnNiFHhjzcSO6cvc=; b=H8SEGJrnjvH3yQqaDeUGLWM61jqHhIyBazml02aXgeYMdKXpm/1PJB+MN31uUDhlU1 GLIaz+QbAxmSLbR5IEwiH9e+A1ntOlkvVY1Ir5pj+2gQUWXnyt8Z0Qkank0P1m9GKgHh KLJ/iTss4RSzNcNnumKX2dQrs7liMsTTNyC9A= Received: by 10.180.7.198 with SMTP id l6mr9757432wia.3.1323999397614; Thu, 15 Dec 2011 17:36:37 -0800 (PST) Received: from Kagami.home (host86-162-111-233.range86-162.btcentralplus.com. [86.162.111.233]) by mx.google.com with ESMTPS id gn4sm10934150wib.20.2011.12.15.17.36.36 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 15 Dec 2011 17:36:36 -0800 (PST) From: Ian Price To: Andy Wingo Subject: Re: Guile-SDL 0.4.0 available References: <87obvaulws.fsf@ambire.localdomain> <87mxauuipf.fsf@pobox.com> Date: Fri, 16 Dec 2011 01:32:29 +0000 In-Reply-To: <87mxauuipf.fsf@pobox.com> (Andy Wingo's message of "Thu, 15 Dec 2011 13:23:40 +0100") Message-ID: <877h1xti6q.fsf@Kagami.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.49 Cc: guile-user@gnu.org, Thien-Thi Nguyen X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 01:36:41 -0000 Andy Wingo writes: > It works with Guile 2.0 if you replace: > > #define MAKE_HASH_TABLE(size) \ > (scm_make_vector (REASONABLE_BUCKET_COUNT (size), SCM_EOL)) > > with > > #define MAKE_HASH_TABLE(size) \ > (scm_c_make_hash_table (size)) I can confirm that with this change it works. Thanks ttn for the release, and thanks andy for saving me some debugging time :) -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled" From MAILER-DAEMON Fri Dec 16 04:45:16 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RbULs-0006mb-Pc for mharc-guile-user@gnu.org; Fri, 16 Dec 2011 04:45:16 -0500 Received: from eggs.gnu.org ([140.186.70.92]:57363) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbULp-0006m8-Eg for guile-user@gnu.org; Fri, 16 Dec 2011 04:45:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbULl-0004vk-A3 for guile-user@gnu.org; Fri, 16 Dec 2011 04:45:13 -0500 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:42347 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbULl-0004vb-7S for guile-user@gnu.org; Fri, 16 Dec 2011 04:45:09 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 049B565E7; Fri, 16 Dec 2011 04:45:09 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=44lciBdXWOlX8N+r8UO+EgpXXaM=; b=Mtjt6w Tj3QOZ6AVoHFMdxkJ314CpGRIAmFU/b+CfpYAd+1/7NSm7hKXFdRjLQe/uEYBGLc q0OQOt7mHO+n9k3jpiCHlThqdPee7dg6KNaqNrKXUDo/LTCCgsjuUrspCgK+JdcK Iv5tIDKsf5Xgum5zQkl7SK1LZLOkL5sMPXDjI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=LSMJtCPuHJG0F9SlUQGtpcOt9HkW1rBn 3lYaLA4V9e3i9T4HfV7yLr6OyTRo8933JqB7RmtqYKkgTC41GCg+YlARbAvL0t4A qUoPhJuqkRV8+jVrLHCxCgaq2kv5FyeoZWe/q4DOoH06LbaupKH7tg5WDjHw5oaa jhlHBVD7QO4= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id F1F9965E6; Fri, 16 Dec 2011 04:45:08 -0500 (EST) Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 5F36365E5; Fri, 16 Dec 2011 04:45:07 -0500 (EST) From: Andy Wingo To: Brian Gough Subject: Re: Guile 2.0.3 manual published References: <1RbKOX-00069X-BN.1323990442=973a5f03@network-theory.co.uk> Date: Fri, 16 Dec 2011 10:45:04 +0100 In-Reply-To: <1RbKOX-00069X-BN.1323990442=973a5f03@network-theory.co.uk> (Brian Gough's message of "Thu, 15 Dec 2011 23:07:20 +0000") Message-ID: <87d3boalzz.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Pobox-Relay-ID: A35B0F54-27CA-11E1-BFBC-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 Cc: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 09:45:14 -0000 On Fri 16 Dec 2011 00:07, Brian Gough writes: > I just wanted to officially confirm that the Guile 2.0.3 manual is now > available as a printed book (ISBN 9781906966157). > > Details at http://www.network-theory.co.uk/guile/manual/ > > It's a hefty volume - over 900 pages, the price is 29.95 USD (or 19.95 > GBP in the UK). Thanks, Brian! As someone who has already received his copy, I can say that it is a pleasure to run my fingers across printed parentheses. Readers: Tell all your hacker friends! Or better, surprise them with a holiday gift ;-) Cheers, Andy -- http://wingolog.org/ From MAILER-DAEMON Fri Dec 16 06:16:30 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RbVmA-0000hE-3B for mharc-guile-user@gnu.org; Fri, 16 Dec 2011 06:16:30 -0500 Received: from eggs.gnu.org ([140.186.70.92]:42189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbVm8-0000en-3l for guile-user@gnu.org; Fri, 16 Dec 2011 06:16:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbVm6-00055v-Vs for guile-user@gnu.org; Fri, 16 Dec 2011 06:16:28 -0500 Received: from smtp205.alice.it ([82.57.200.101]:59968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbVm6-00055r-LA for guile-user@gnu.org; Fri, 16 Dec 2011 06:16:26 -0500 Received: from ambire.localdomain (95.244.64.35) by smtp205.alice.it (8.6.023.02) id 4ECA5FDA04AD45ED; Fri, 16 Dec 2011 12:13:49 +0100 Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1RbVgX-0000pR-FI; Fri, 16 Dec 2011 12:10:41 +0100 From: Thien-Thi Nguyen To: Ian Price Subject: Re: Guile-SDL 0.4.0 available References: <87obvaulws.fsf@ambire.localdomain> <87mxauuipf.fsf@pobox.com> <877h1xti6q.fsf@Kagami.home> Date: Fri, 16 Dec 2011 12:10:40 +0100 In-Reply-To: <877h1xti6q.fsf@Kagami.home> (Ian Price's message of "Fri, 16 Dec 2011 01:32:29 +0000") Message-ID: <87iplgg4b3.fsf@ambire.localdomain> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.101 Cc: Andy Wingo , guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 11:16:28 -0000 () Ian Price () Fri, 16 Dec 2011 01:32:29 +0000 Andy Wingo writes: > It works with Guile 2.0 if you replace: > > #define MAKE_HASH_TABLE(size) \ > (scm_make_vector (REASONABLE_BUCKET_COUNT (size), SCM_EOL)) > > with > > #define MAKE_HASH_TABLE(size) \ > (scm_c_make_hash_table (size)) I can confirm that with this change it works. Thanks ttn for the release, and thanks andy for saving me some debugging time :) OK, this is a good first and second step. Now the sticking point: i am worried that =E2=80=98scm_c_make_hash_table=E2=80=99 is undocumented. From MAILER-DAEMON Fri Dec 16 08:41:37 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RbY2b-0005L9-Bo for mharc-guile-user@gnu.org; Fri, 16 Dec 2011 08:41:37 -0500 Received: from eggs.gnu.org ([140.186.70.92]:50697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbY2S-0005KU-3L for guile-user@gnu.org; Fri, 16 Dec 2011 08:41:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbY2Q-0007tq-Jh for guile-user@gnu.org; Fri, 16 Dec 2011 08:41:28 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:36777) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbY2Q-0007th-EH for guile-user@gnu.org; Fri, 16 Dec 2011 08:41:26 -0500 Received: by eabm6 with SMTP id m6so1833829eab.0 for ; Fri, 16 Dec 2011 05:41:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=zyJaoEzDXpwmerSZN2Caw9CDgAMH1nbzbpvjV06rQ3g=; b=fjnQ07uHs6cN3AGNZCyxQb2OCTCDey/hm8PxNPXVP7WEqfQH/hrxIMSd+CooQ25snT AyFxVPR/iKnKim4os4qcTpbE/7FrX5ShT9As8F9C3zbIAWQFhmbaSRC4ktV3dhrp7VP0 3rfvUshbrO3LJpuzxSYXyVUswt92xYjRruHiU= MIME-Version: 1.0 Received: by 10.204.131.81 with SMTP id w17mr3013617bks.9.1324042884983; Fri, 16 Dec 2011 05:41:24 -0800 (PST) Received: by 10.204.72.80 with HTTP; Fri, 16 Dec 2011 05:41:24 -0800 (PST) In-Reply-To: <87d3boalzz.fsf@pobox.com> References: <1RbKOX-00069X-BN.1323990442=973a5f03@network-theory.co.uk> <87d3boalzz.fsf@pobox.com> Date: Fri, 16 Dec 2011 08:41:24 -0500 Message-ID: Subject: Re: Guile 2.0.3 manual published From: Julian Graham To: Andy Wingo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.169 Cc: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 13:41:35 -0000 I've already ordered a copy! Thanks, Brian! On Fri, Dec 16, 2011 at 4:45 AM, Andy Wingo wrote: > On Fri 16 Dec 2011 00:07, Brian Gough writes: > >> I just wanted to officially confirm that the Guile 2.0.3 manual is now >> available as a printed book (ISBN 9781906966157). >> >> Details at http://www.network-theory.co.uk/guile/manual/ >> >> It's a hefty volume - over 900 pages, the price is 29.95 USD (or 19.95 >> GBP in the UK). > > Thanks, Brian! =A0As someone who has already received his copy, I can say > that it is a pleasure to run my fingers across printed parentheses. > > Readers: Tell all your hacker friends! =A0Or better, surprise them with a > holiday gift ;-) From MAILER-DAEMON Fri Dec 16 08:58:30 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RbYIw-0005bt-Pp for mharc-guile-user@gnu.org; Fri, 16 Dec 2011 08:58:30 -0500 Received: from eggs.gnu.org ([140.186.70.92]:39963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbYIn-0005GA-G1 for guile-user@gnu.org; Fri, 16 Dec 2011 08:58:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbYIi-00026j-Po for guile-user@gnu.org; Fri, 16 Dec 2011 08:58:21 -0500 Received: from mail-ee0-f41.google.com ([74.125.83.41]:45607) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbYIi-00026c-Eq for guile-user@gnu.org; Fri, 16 Dec 2011 08:58:16 -0500 Received: by eekc41 with SMTP id c41so3404285eek.0 for ; Fri, 16 Dec 2011 05:58:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=95Kaqy1fsDLF5SMM3yy0G4OYiAjtPr4UwUmcW/pPaGQ=; b=x1JHG7npxzuWQSYZxQZyYi+JmQhEMIgBPqoT8qqKo7KixGuWyWRq+CaZk+XhvGw5fP Xcl3UXEsQSZwleOHUcwKWPaIAHV4MXgNo9hQTuYbqUPORazTIec33C0bYfzR2S2iGAtL z1ZavURWyyXEvejWqkZb+fMMB4OSsPaYBBA/c= MIME-Version: 1.0 Received: by 10.204.152.140 with SMTP id g12mr2962789bkw.98.1324043895290; Fri, 16 Dec 2011 05:58:15 -0800 (PST) Received: by 10.204.51.205 with HTTP; Fri, 16 Dec 2011 05:58:15 -0800 (PST) Date: Fri, 16 Dec 2011 05:58:15 -0800 Message-ID: Subject: can't build guile 2.0.3 From: Dongyoon Oh To: guile-user@gnu.org Content-Type: multipart/alternative; boundary=0015175cfec80bbcab04b435fed1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.83.41 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 13:58:27 -0000 --0015175cfec80bbcab04b435fed1 Content-Type: text/plain; charset=ISO-8859-1 Hi, I installed all the dependencies ( libgmp, libiconv, libintl, libltdl, libunistring,libgc, libffi) of guile 2.0.3 but I get build errors when I use the 'make' command. >./configure #it worked > make rm -f guile-procedures.txt makeinfo --force -o guile-procedures.txt guile-procedures.texi || test -f guile-procedures.txt /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:11408: Cross reference to nonexistent node `Backslash Escapes' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:11103: Cross reference to nonexistent node `Network Address Conversion' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:11042: Cross reference to nonexistent node `Network Databases' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:10992: Cross reference to nonexistent node `Network Databases' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:9929: Cross reference to nonexistent node `Hash Tables' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:9922: Cross reference to nonexistent node `Hash Tables' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:9915: Cross reference to nonexistent node `Hash Tables' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:9829: Cross reference to nonexistent node `File Ports' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:9137: Cross reference to nonexistent node `Vtables' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:8740: Cross reference to nonexistent node `Locales' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:8533: Cross reference to nonexistent node `Bitwise Operations' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:7236: Cross reference to nonexistent node `Character Sets' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:7214: Cross reference to nonexistent node `Character Sets' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:7158: Cross reference to nonexistent node `Multiple Values' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:6041: Cross reference to nonexistent node `File Ports' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:5752: Cross reference to nonexistent node `Ports and File Descriptors' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:5741: Cross reference to nonexistent node `Ports and File Descriptors' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:5730: Cross reference to nonexistent node `Ports and File Descriptors' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:3794: Cross reference to nonexistent node `File Ports' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:3601: Cross reference to nonexistent node `Locales' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:3280: Cross reference to nonexistent node `Hash Tables' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:3273: Cross reference to nonexistent node `Hash Tables' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:3266: Cross reference to nonexistent node `Hash Tables' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:2670: Cross reference to nonexistent node `Character Encoding of Source Files' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:2664: Cross reference to nonexistent node `Ports and File Descriptors' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:2646: Cross reference to nonexistent node `Ports and File Descriptors' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:1979: Cross reference to nonexistent node `Ports and File Descriptors' (perhaps incorrect sectioning?). /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:1967: Cross reference to nonexistent node `Closing' (perhaps incorrect sectioning?). Making all in module GUILEC ice-9/eval.go wrote `ice-9/eval.go' GUILEC ice-9/psyntax-pp.go It seems that the program stucks at this moment (i waited for about 10mins but there was no change) Can anyone help me? - Dongyoon --0015175cfec80bbcab04b435fed1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

I installed all the dependencies ( libgmp, libiconv, libintl, l= ibltdl, libunistring,libgc, libffi) of guile 2.0.3
but I get build error= s when I use the 'make' command.

>./configure=A0=A0=A0= =A0 #it worked
> make=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0

rm -f guile-procedures.t= xt
makeinfo --force -o guile-procedures.txt guile-procedures.texi || tes= t -f guile-procedures.txt
/Users/Dongyoon/Downloads/guile-2.0.3/libguile= //guile-procedures.texi:11408: Cross reference to nonexistent node `Backsla= sh Escapes' (perhaps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:11103= : Cross reference to nonexistent node `Network Address Conversion' (per= haps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libgu= ile//guile-procedures.texi:11042: Cross reference to nonexistent node `Netw= ork Databases' (perhaps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:10992= : Cross reference to nonexistent node `Network Databases' (perhaps inco= rrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guil= e-procedures.texi:9929: Cross reference to nonexistent node `Hash Tables= 9; (perhaps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:9922:= Cross reference to nonexistent node `Hash Tables' (perhaps incorrect s= ectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-proce= dures.texi:9915: Cross reference to nonexistent node `Hash Tables' (per= haps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:9829:= Cross reference to nonexistent node `File Ports' (perhaps incorrect se= ctioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-proced= ures.texi:9137: Cross reference to nonexistent node `Vtables' (perhaps = incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:8740:= Cross reference to nonexistent node `Locales' (perhaps incorrect secti= oning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedure= s.texi:8533: Cross reference to nonexistent node `Bitwise Operations' (= perhaps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:7236:= Cross reference to nonexistent node `Character Sets' (perhaps incorrec= t sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-pr= ocedures.texi:7214: Cross reference to nonexistent node `Character Sets'= ; (perhaps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:7158:= Cross reference to nonexistent node `Multiple Values' (perhaps incorre= ct sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-p= rocedures.texi:6041: Cross reference to nonexistent node `File Ports' (= perhaps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:5752:= Cross reference to nonexistent node `Ports and File Descriptors' (perh= aps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libgui= le//guile-procedures.texi:5741: Cross reference to nonexistent node `Ports = and File Descriptors' (perhaps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:5730:= Cross reference to nonexistent node `Ports and File Descriptors' (perh= aps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libgui= le//guile-procedures.texi:3794: Cross reference to nonexistent node `File P= orts' (perhaps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:3601:= Cross reference to nonexistent node `Locales' (perhaps incorrect secti= oning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedure= s.texi:3280: Cross reference to nonexistent node `Hash Tables' (perhaps= incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:3273:= Cross reference to nonexistent node `Hash Tables' (perhaps incorrect s= ectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-proce= dures.texi:3266: Cross reference to nonexistent node `Hash Tables' (per= haps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:2670:= Cross reference to nonexistent node `Character Encoding of Source Files= 9; (perhaps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.= 3/libguile//guile-procedures.texi:2664: Cross reference to nonexistent node= `Ports and File Descriptors' (perhaps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:2646:= Cross reference to nonexistent node `Ports and File Descriptors' (perh= aps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libgui= le//guile-procedures.texi:1979: Cross reference to nonexistent node `Ports = and File Descriptors' (perhaps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:1967:= Cross reference to nonexistent node `Closing' (perhaps incorrect secti= oning?).
Making all in module
=A0 GUILEC ice-9/eval.go
wrote `ice-= 9/eval.go'
=A0 GUILEC ice-9/psyntax-pp.go



It seems that the program stu= cks at this moment (i waited for about 10mins but there was no change)
= Can anyone help me?

- Dongyoon






--0015175cfec80bbcab04b435fed1-- From MAILER-DAEMON Fri Dec 16 09:00:50 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RbYLC-0007SP-KN for mharc-guile-user@gnu.org; Fri, 16 Dec 2011 09:00:50 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbYL3-0007O1-3d for guile-user@gnu.org; Fri, 16 Dec 2011 09:00:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbYKw-00030e-AB for guile-user@gnu.org; Fri, 16 Dec 2011 09:00:40 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:37679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbYKv-00030U-Vp for guile-user@gnu.org; Fri, 16 Dec 2011 09:00:34 -0500 Received: by eabm6 with SMTP id m6so1852722eab.0 for ; Fri, 16 Dec 2011 06:00:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=+ukuZYzbO4ZLv4zE4uZ55I45B//OZkUcfkBZcBxZELo=; b=FLRZsC9Mr7id1DaVKST+X/K8wWSfpZy0iHNKPkglhO2wELc0fwWkqEHhO2bjueeGKz UDksFa8w7u8Tm3ka31Dq+TocXjXjChURHIHpsprEGHY/58Xgw1Nt4yFy3/4J81mttjXq NTjOIEBdL0YzCayi+Sdbdg2ZIIVAzwDSgeEDY= MIME-Version: 1.0 Received: by 10.204.152.140 with SMTP id g12mr2965987bkw.98.1324044032973; Fri, 16 Dec 2011 06:00:32 -0800 (PST) Received: by 10.204.51.205 with HTTP; Fri, 16 Dec 2011 06:00:32 -0800 (PST) In-Reply-To: References: Date: Fri, 16 Dec 2011 06:00:32 -0800 Message-ID: Subject: Re: can't build guile 2.0.3 From: Dongyoon Oh To: guile-user@gnu.org Content-Type: multipart/alternative; boundary=0015175cfec8409cac04b4360681 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.169 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 14:00:47 -0000 --0015175cfec8409cac04b4360681 Content-Type: text/plain; charset=ISO-8859-1 BTW, I'm using Mac OS X 10.7.2(Lion) Thanks, Dongyoon On Fri, Dec 16, 2011 at 5:58 AM, Dongyoon Oh wrote: > Hi, > > I installed all the dependencies ( libgmp, libiconv, libintl, libltdl, > libunistring,libgc, libffi) of guile 2.0.3 > but I get build errors when I use the 'make' command. > > >./configure #it worked > > make > > rm -f guile-procedures.txt > makeinfo --force -o guile-procedures.txt guile-procedures.texi || test -f > guile-procedures.txt > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:11408: > Cross reference to nonexistent node `Backslash Escapes' (perhaps incorrect > sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:11103: > Cross reference to nonexistent node `Network Address Conversion' (perhaps > incorrect sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:11042: > Cross reference to nonexistent node `Network Databases' (perhaps incorrect > sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:10992: > Cross reference to nonexistent node `Network Databases' (perhaps incorrect > sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:9929: > Cross reference to nonexistent node `Hash Tables' (perhaps incorrect > sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:9922: > Cross reference to nonexistent node `Hash Tables' (perhaps incorrect > sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:9915: > Cross reference to nonexistent node `Hash Tables' (perhaps incorrect > sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:9829: > Cross reference to nonexistent node `File Ports' (perhaps incorrect > sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:9137: > Cross reference to nonexistent node `Vtables' (perhaps incorrect > sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:8740: > Cross reference to nonexistent node `Locales' (perhaps incorrect > sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:8533: > Cross reference to nonexistent node `Bitwise Operations' (perhaps incorrect > sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:7236: > Cross reference to nonexistent node `Character Sets' (perhaps incorrect > sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:7214: > Cross reference to nonexistent node `Character Sets' (perhaps incorrect > sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:7158: > Cross reference to nonexistent node `Multiple Values' (perhaps incorrect > sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:6041: > Cross reference to nonexistent node `File Ports' (perhaps incorrect > sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:5752: > Cross reference to nonexistent node `Ports and File Descriptors' (perhaps > incorrect sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:5741: > Cross reference to nonexistent node `Ports and File Descriptors' (perhaps > incorrect sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:5730: > Cross reference to nonexistent node `Ports and File Descriptors' (perhaps > incorrect sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:3794: > Cross reference to nonexistent node `File Ports' (perhaps incorrect > sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:3601: > Cross reference to nonexistent node `Locales' (perhaps incorrect > sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:3280: > Cross reference to nonexistent node `Hash Tables' (perhaps incorrect > sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:3273: > Cross reference to nonexistent node `Hash Tables' (perhaps incorrect > sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:3266: > Cross reference to nonexistent node `Hash Tables' (perhaps incorrect > sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:2670: > Cross reference to nonexistent node `Character Encoding of Source Files' > (perhaps incorrect sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:2664: > Cross reference to nonexistent node `Ports and File Descriptors' (perhaps > incorrect sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:2646: > Cross reference to nonexistent node `Ports and File Descriptors' (perhaps > incorrect sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:1979: > Cross reference to nonexistent node `Ports and File Descriptors' (perhaps > incorrect sectioning?). > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:1967: > Cross reference to nonexistent node `Closing' (perhaps incorrect > sectioning?). > Making all in module > GUILEC ice-9/eval.go > wrote `ice-9/eval.go' > GUILEC ice-9/psyntax-pp.go > > > > It seems that the program stucks at this moment (i waited for about 10mins > but there was no change) > Can anyone help me? > > - Dongyoon > > > > > > > --0015175cfec8409cac04b4360681 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable BTW, I'm using Mac OS X 10.7.2(Lion)

Thanks,
Dongyoon
On Fri, Dec 16, 2011 at 5:58 AM, Dongyoon Oh <= span dir=3D"ltr"><dyoh47@gmail.com> wrote:
Hi,

I installed all the dependencies= ( libgmp, libiconv, libintl, libltdl, libunistring,libgc, libffi) of guile= 2.0.3
but I get build errors when I use the 'make' command.

>.= /configure=A0=A0=A0=A0 #it worked
> make=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0

rm -f guile-procedures.t= xt
makeinfo --force -o guile-procedures.txt guile-procedures.texi || tes= t -f guile-procedures.txt
/Users/Dongyoon/Downloads/guile-2.0.3/libguile= //guile-procedures.texi:11408: Cross reference to nonexistent node `Backsla= sh Escapes' (perhaps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:11103= : Cross reference to nonexistent node `Network Address Conversion' (per= haps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libgu= ile//guile-procedures.texi:11042: Cross reference to nonexistent node `Netw= ork Databases' (perhaps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:10992= : Cross reference to nonexistent node `Network Databases' (perhaps inco= rrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guil= e-procedures.texi:9929: Cross reference to nonexistent node `Hash Tables= 9; (perhaps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:9922:= Cross reference to nonexistent node `Hash Tables' (perhaps incorrect s= ectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-proce= dures.texi:9915: Cross reference to nonexistent node `Hash Tables' (per= haps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:9829:= Cross reference to nonexistent node `File Ports' (perhaps incorrect se= ctioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-proced= ures.texi:9137: Cross reference to nonexistent node `Vtables' (perhaps = incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:8740:= Cross reference to nonexistent node `Locales' (perhaps incorrect secti= oning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedure= s.texi:8533: Cross reference to nonexistent node `Bitwise Operations' (= perhaps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:7236:= Cross reference to nonexistent node `Character Sets' (perhaps incorrec= t sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-pr= ocedures.texi:7214: Cross reference to nonexistent node `Character Sets'= ; (perhaps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:7158:= Cross reference to nonexistent node `Multiple Values' (perhaps incorre= ct sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-p= rocedures.texi:6041: Cross reference to nonexistent node `File Ports' (= perhaps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:5752:= Cross reference to nonexistent node `Ports and File Descriptors' (perh= aps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libgui= le//guile-procedures.texi:5741: Cross reference to nonexistent node `Ports = and File Descriptors' (perhaps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:5730:= Cross reference to nonexistent node `Ports and File Descriptors' (perh= aps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libgui= le//guile-procedures.texi:3794: Cross reference to nonexistent node `File P= orts' (perhaps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:3601:= Cross reference to nonexistent node `Locales' (perhaps incorrect secti= oning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedure= s.texi:3280: Cross reference to nonexistent node `Hash Tables' (perhaps= incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:3273:= Cross reference to nonexistent node `Hash Tables' (perhaps incorrect s= ectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-proce= dures.texi:3266: Cross reference to nonexistent node `Hash Tables' (per= haps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:2670:= Cross reference to nonexistent node `Character Encoding of Source Files= 9; (perhaps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.= 3/libguile//guile-procedures.texi:2664: Cross reference to nonexistent node= `Ports and File Descriptors' (perhaps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:2646:= Cross reference to nonexistent node `Ports and File Descriptors' (perh= aps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libgui= le//guile-procedures.texi:1979: Cross reference to nonexistent node `Ports = and File Descriptors' (perhaps incorrect sectioning?).
/Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:1967:= Cross reference to nonexistent node `Closing' (perhaps incorrect secti= oning?).
Making all in module
=A0 GUILEC ice-9/eval.go
wrote `ice-= 9/eval.go'
=A0 GUILEC ice-9/psyntax-pp.go



It seems that the program stu= cks at this moment (i waited for about 10mins but there was no change)
= Can anyone help me?

= - Dongyoon







--0015175cfec8409cac04b4360681-- From MAILER-DAEMON Fri Dec 16 09:34:38 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RbYru-0003Yr-9D for mharc-guile-user@gnu.org; Fri, 16 Dec 2011 09:34:38 -0500 Received: from eggs.gnu.org ([140.186.70.92]:59383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbYrn-0003Yf-RA for guile-user@gnu.org; Fri, 16 Dec 2011 09:34:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbYrj-0000nt-CH for guile-user@gnu.org; Fri, 16 Dec 2011 09:34:31 -0500 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:34602 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbYri-00008f-Qp for guile-user@gnu.org; Fri, 16 Dec 2011 09:34:27 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id C5719791A; Fri, 16 Dec 2011 09:30:54 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=SODnmqb8mad0 vRPy7Ma6bRMX1hM=; b=SieYp+f+18zujMr0adSbY+BnkTUW0KIZOp5DEsLAj/b6 LKv+Lfm38l8qpL9PP6cpBc5lsLZvgJsgXKf/9QH9FYdjLH3XmVCXBp9XfSIwlpCN 83wQuz/NeZUEUvvZlfQImoMjywp9QryBYIqzD2Od2QJlRmSU024nm2ltQXoYPGo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=KzlMFJ aC5ArWJt6RieGtbNvkZC3hqA9Z68wEceF0w4Hgo5/zbB55JbZqoVMdzBQHvgYLXL 8poqmvi0EQobO8P+6TXP096K9lwliPUfjbsuEc0a9EZU1tCp8SBMmr++orhP2xYj WDqaaTIXChbD4i1oUyt8FFIoUSgn41oaFtv8k= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id BC9727919; Fri, 16 Dec 2011 09:30:54 -0500 (EST) Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 297AA7918; Fri, 16 Dec 2011 09:30:54 -0500 (EST) From: Andy Wingo To: Thien-Thi Nguyen Subject: Re: Guile-SDL 0.4.0 available References: <87obvaulws.fsf@ambire.localdomain> <87mxauuipf.fsf@pobox.com> <877h1xti6q.fsf@Kagami.home> <87iplgg4b3.fsf@ambire.localdomain> Date: Fri, 16 Dec 2011 15:30:51 +0100 In-Reply-To: <87iplgg4b3.fsf@ambire.localdomain> (Thien-Thi Nguyen's message of "Fri, 16 Dec 2011 12:10:40 +0100") Message-ID: <874nx0a8ro.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Pobox-Relay-ID: 8FA244A0-27F2-11E1-86D6-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 Cc: guile-user@gnu.org, Ian Price X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 14:34:37 -0000 On Fri 16 Dec 2011 12:10, Thien-Thi Nguyen writes: > () Ian Price > () Fri, 16 Dec 2011 01:32:29 +0000 > > Andy Wingo writes: > > > It works with Guile 2.0 if you replace: > > > > #define MAKE_HASH_TABLE(size) \ > > (scm_make_vector (REASONABLE_BUCKET_COUNT (size), SCM_EOL)) > > > > with > > > > #define MAKE_HASH_TABLE(size) \ > > (scm_c_make_hash_table (size)) > > I can confirm that with this change it works. Thanks ttn for the > release, and thanks andy for saving me some debugging time :) > > OK, this is a good first and second step. Now the sticking point: > i am worried that =E2=80=98scm_c_make_hash_table=E2=80=99 is undocumented. Patches very much welcome :-) If neither of you has time, please send a mail to bug-guile@gnu.org so that we don't forget about it. Andy --=20 http://wingolog.org/ From MAILER-DAEMON Fri Dec 16 09:37:32 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RbYui-0004c4-NS for mharc-guile-user@gnu.org; Fri, 16 Dec 2011 09:37:32 -0500 Received: from eggs.gnu.org ([140.186.70.92]:60133) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbYud-0004br-IG for guile-user@gnu.org; Fri, 16 Dec 2011 09:37:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbYuc-0001SH-By for guile-user@gnu.org; Fri, 16 Dec 2011 09:37:27 -0500 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:41757 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbYuc-0001SD-9z for guile-user@gnu.org; Fri, 16 Dec 2011 09:37:26 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 2037F79BF; Fri, 16 Dec 2011 09:37:26 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=xSEQauE++2u9 RFqleeNZVNrez8g=; b=Md4DyRO3ZJB6zePs+xoUxjdK57YUhyCmfEUeN0e7dZ8d /1+jb6wx5JWqjzccD1OPZGqbQ4PVMuXOWKfwviRVq/KjEetuTC18lHpDhTvgJ8+w 0/rmJs01d92q4AdBQLZmUdYV28FXQeJ7X4bZROWZ9psm0OxoFxZNP/yLcPkMnto= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=EAd53k 06v58ZtzVl9I9l0pdllmvsipFkZVjc1TjjXYivlZe9aEy07IqYn5IoC4ZYXb+QXT lhaSEOJx412kPye4qt/f8f2OkbkVG42DR4EaBd0WgU4Tv8dg+VLiAK5wgj9k1RIZ cRt7DDKcXOJoiiape83SF3Q3CPho+iEV46sfI= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 1792C79BE; Fri, 16 Dec 2011 09:37:26 -0500 (EST) Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 7AEA079BD; Fri, 16 Dec 2011 09:37:25 -0500 (EST) From: Andy Wingo To: Dongyoon Oh Subject: Re: can't build guile 2.0.3 References: Date: Fri, 16 Dec 2011 15:37:20 +0100 In-Reply-To: (Dongyoon Oh's message of "Fri, 16 Dec 2011 05:58:15 -0800") Message-ID: <87vcpg8twf.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Pobox-Relay-ID: 78E2BE38-27F3-11E1-BA4B-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 Cc: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 14:37:31 -0000 Hi Dongyoon, On Fri 16 Dec 2011 14:58, Dongyoon Oh writes: > makeinfo --force -o guile-procedures.txt guile-procedures.texi || test -f= guile-procedures.txt > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:114= 08: Cross reference to nonexistent node `Backslash Escapes' (perhaps incorr= ect sectioning?). > [...] These are benign; we should get around to fixing them, but they do not indicate errors. > Making all in module > =C2=A0 GUILEC ice-9/eval.go > wrote `ice-9/eval.go' > =C2=A0 GUILEC ice-9/psyntax-pp.go > > It seems that the program stucks at this moment (i waited for about 10min= s but there was no change) > Can anyone help me? This step takes approximately forever ;-). Or, 4 minutes or so on my machine. But if you wait long enough, it does continue. Regards, Andy --=20 http://wingolog.org/ From MAILER-DAEMON Fri Dec 16 15:50:02 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RbejC-00059q-KF for mharc-guile-user@gnu.org; Fri, 16 Dec 2011 15:50:02 -0500 Received: from eggs.gnu.org ([140.186.70.92]:39031) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbejA-00059i-1N for guile-user@gnu.org; Fri, 16 Dec 2011 15:50:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rbej8-0004y6-NU for guile-user@gnu.org; Fri, 16 Dec 2011 15:49:59 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:44457) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rbej8-0004xi-I6 for guile-user@gnu.org; Fri, 16 Dec 2011 15:49:58 -0500 Received: by eabm6 with SMTP id m6so2216534eab.0 for ; Fri, 16 Dec 2011 12:49:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=oMCv4kg3dGINyVg7g6PNfaMVsILsYYdxV7+WHtxQMeY=; b=NWHBYsY0Ip/l/j6O4bmzu1NVdwobEq2Vv+J4MyWEpyoy/ChruqjUG2c59jp6RXUa+f 2FQ9uUIqvu8KUUyBONDG0dD187R8GY3QW0r4EEmIKkuKmNHUntuC6Wv6vSdYeLpSta2m 7UMzaVE7cd8oA310StvEzChtB9E6On2J0X2OU= MIME-Version: 1.0 Received: by 10.204.153.12 with SMTP id i12mr3118438bkw.134.1324068596556; Fri, 16 Dec 2011 12:49:56 -0800 (PST) Received: by 10.204.51.205 with HTTP; Fri, 16 Dec 2011 12:49:56 -0800 (PST) In-Reply-To: <87vcpg8twf.fsf@pobox.com> References: <87vcpg8twf.fsf@pobox.com> Date: Fri, 16 Dec 2011 12:49:56 -0800 Message-ID: Subject: Re: can't build guile 2.0.3 From: Dongyoon Oh To: Andy Wingo Content-Type: multipart/alternative; boundary=0015175cd5445b224e04b43bbe62 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.169 Cc: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 20:50:01 -0000 --0015175cd5445b224e04b43bbe62 Content-Type: text/plain; charset=ISO-8859-1 Hi, Andy Thanks for your comment! So I waited patiently and move onto the next stage but I still got an error in make: make all-am CC readline.lo readline.c: In function 'init_bouncing_parens': readline.c:445: warning: implicit declaration of function 'rl_get_keymap_name' readline.c:445: warning: passing argument 1 of 'strncmp' makes pointer from integer without a cast CCLD libguilereadline-v-18.la Undefined symbols for architecture x86_64: "_rl_get_keymap_name", referenced from: _init_bouncing_parens in readline.o ld: symbol(s) not found for architecture x86_64 collect2: ld returned 1 exit status make[3]: *** [libguilereadline-v-18.la] Error 1 Best, Dongyoon On Fri, Dec 16, 2011 at 6:37 AM, Andy Wingo wrote: > Hi Dongyoon, > > On Fri 16 Dec 2011 14:58, Dongyoon Oh writes: > > > makeinfo --force -o guile-procedures.txt guile-procedures.texi || test > -f guile-procedures.txt > > > /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:11408: > Cross reference to nonexistent node `Backslash Escapes' (perhaps incorrect > sectioning?). > > [...] > > These are benign; we should get around to fixing them, but they do not > indicate errors. > > > Making all in module > > GUILEC ice-9/eval.go > > wrote `ice-9/eval.go' > > GUILEC ice-9/psyntax-pp.go > > > > It seems that the program stucks at this moment (i waited for about > 10mins but there was no change) > > Can anyone help me? > > This step takes approximately forever ;-). Or, 4 minutes or so on my > machine. But if you wait long enough, it does continue. > > Regards, > > Andy > -- > http://wingolog.org/ > --0015175cd5445b224e04b43bbe62 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, Andy

Thanks for your comment!
So I waited patiently and mov= e onto the next stage but I still got an error in make:

make=A0 all= -am
=A0 CC=A0=A0=A0=A0 readline.lo
readline.c: In function 'init_= bouncing_parens':
readline.c:445: warning: implicit declaration of function 'rl_get_keyma= p_name'
readline.c:445: warning: passing argument 1 of 'strncmp&= #39; makes pointer from integer without a cast
=A0 CCLD=A0=A0
libguilereadline-v-18.la
Undefined symbols for architecture x86_64:
=A0 "_rl_get_keymap_name= ", referenced from:
=A0=A0=A0=A0=A0 _init_bouncing_parens in readli= ne.o
ld: symbol(s) not found for architecture x86_64
collect2: ld ret= urned 1 exit status
make[3]: *** [libguilereadline-= v-18.la] Error 1

Best,
Dongyoon

On Fri, Dec 16, 2011 at 6:37 AM, Andy Wingo <wingo@pobox.com> wrote:
Hi Dongyoon,

On Fri 16 Dec 2011 14:58, Dongyoon Oh <dyoh47@gmail.com> writes:

> makeinfo --force -o guile-procedures.txt guile-procedures.texi || test= -f guile-procedures.txt
> /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:= 11408: Cross reference to nonexistent node `Backslash Escapes' (perhaps= incorrect sectioning?).
> [...]

These are benign; we should get around to fixing them, but they do not
indicate errors.

> Making all in module
> =A0 GUILEC ice-9/eval.go
> wrote `ice-9/eval.go'
> =A0 GUILEC ice-9/psyntax-pp.go
>
> It seems that the program stucks at this moment (i waited for about 10= mins but there was no change)
> Can anyone help me?

This step takes approximately forever ;-). =A0Or, 4 minutes or so on = my
machine. =A0But if you wait long enough, it does continue.

Regards,

Andy
--
http://wingolog.org/=

--0015175cd5445b224e04b43bbe62-- From MAILER-DAEMON Fri Dec 16 21:29:56 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rbk28-0004Ve-K2 for mharc-guile-user@gnu.org; Fri, 16 Dec 2011 21:29:56 -0500 Received: from eggs.gnu.org ([140.186.70.92]:48961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbgQN-0007Mh-DC for guile-user@gnu.org; Fri, 16 Dec 2011 17:38:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbgQL-0005r1-Tc for guile-user@gnu.org; Fri, 16 Dec 2011 17:38:43 -0500 Received: from mail-ee0-f41.google.com ([74.125.83.41]:37679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbgQL-0005qx-Ew for guile-user@gnu.org; Fri, 16 Dec 2011 17:38:41 -0500 Received: by eekc41 with SMTP id c41so3831779eek.0 for ; Fri, 16 Dec 2011 14:38:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=zbK7dgeuNqw/0XweH/5tkUN0A/lma2Ge1LovloIdqsM=; b=ltnmpkadBB1OZchntWhbYWTKbEMBjiwVW2yFkGcKwFmUMmatma6Vs9nWfe7OZ4b46n SmpaV21LQWivXWmprUmIOaspERpmV0NROGdxhRGGqtfzvDTtUnWzZwi+qNh7Heq3oGgN 80bWvBfV7BtSOby8Inmen+IiDUW+CJeTE6Glk= MIME-Version: 1.0 Received: by 10.213.4.138 with SMTP id 10mr693288ebr.19.1324075118089; Fri, 16 Dec 2011 14:38:38 -0800 (PST) Received: by 10.213.22.19 with HTTP; Fri, 16 Dec 2011 14:38:37 -0800 (PST) Date: Fri, 16 Dec 2011 23:38:37 +0100 Message-ID: Subject: Tortoise tutorial From: luis souto To: guile-user@gnu.org Content-Type: multipart/alternative; boundary=0015174c3f0811d88404b43d4355 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.83.41 X-Mailman-Approved-At: Fri, 16 Dec 2011 21:29:55 -0500 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 22:38:45 -0000 --0015174c3f0811d88404b43d4355 Content-Type: text/plain; charset=ISO-8859-1 Hello from Spain. I installed Guile 2.0.3 and it works well. I've tried Tortoise tutorial: http://www.gnu.org/software/guile/docs/guile-tut/tutorial.html and it compiled well, Gnuplot window pops up, but (tortoise-move 3) doesn't draw. The source code is: /* Simple backend for a Logo like tortoise drawer. */ #include #include #include #include #include static const int WIDTH = 10; static const int HEIGHT = 10; static FILE* global_output; static double x = 0.0; static double y = 0.0; static double direction = 0.0; static int pendown = 1; static FILE* start_gnuplot (); static void draw_line (FILE* output, double x1, double y1, double x2, double y2); static SCM tortoise_reset (); static SCM tortoise_pendown (); static SCM tortoise_penup (); static SCM tortoise_turn (SCM degrees); static SCM tortoise_move (SCM length); static void* register_functions (void* data); static FILE* start_gnuplot () { FILE* output; int pipes[2]; pid_t pid; pipe (pipes); pid = fork (); if (!pid)http://www.gnu.org/software/guile/docs/guile-tut/tutorial.html { dup2 (pipes[0], STDIN_FILENO); execlp ("gnuplot", NULL); return; /* Not reached. */ } output = fdopen (pipes[1], "w"); fprintf (output, "set multiplot\n"); fprintf (output, "set parametric\n"); fprintf (output, "set xrange [-%d:%d]\n", WIDTH, WIDTH); fprintf (output, "set yrange [-%d:%d]\n", HEIGHT, HEIGHT); fprintf (output, "set size ratio -1\n"); fprintf (output, "unset xtics\n"); fprintf (output, "unset ytics\n"); fflush (output); return output; } int main (int argc, char* argv[]) { global_output = start_gnuplot (); scm_with_guile (®ister_functions, NULL); scm_shell (argc, argv); return EXIT_SUCCESS; } static void draw_line (FILE* output, double x1, double y1, double x2, double y2) { fprintf (output, "plot [0:1] %f + %f * t, %f + %f * t notitle\n", x1, x2 - x1, y1, y2 - y1); fflush (output); } static SCM tortoise_reset () { x = y = 0.0; direction = 0.0; pendown = 1; fprintf (global_output, "clear\n"); fflush (global_output); return SCM_UNSPECIFIED; } static SCM tortoise_pendown () { SCM result = scm_from_bool (pendown); pendown = 1; return result; } static SCM tortoise_penup () { SCM result = scm_from_bool (pendown); pendown = 0; return result; } static SCM tortoise_turn (SCM degrees) { const double value = scm_to_double (degrees); direction += M_PI / 180.0 * value; return scm_from_double (direction * 180.0 / M_PI); } static SCM tortoise_move (SCM length) { const double value = scm_to_double (length); double newX, newY; newX = x + value * cos (direction); newY = y + value * sin (direction); if (pendown) draw_line (global_output, x, y, newX, newY); x = newX; y = newY; return scm_list_2 (scm_from_double (x), scm_from_double (y)); } static void* register_functions (void* data) { scm_c_define_gsubr ("tortoise-reset", 0, 0, 0, &tortoise_reset); scm_c_define_gsubr ("tortoise-penup", 0, 0, 0, &tortoise_penup); scm_c_define_gsubr ("tortoise-pendown", 0, 0, 0, &tortoise_pendown); scm_c_define_gsubr ("tortoise-turn", 1, 0, 0, &tortoise_turn); scm_c_define_gsubr ("tortoise-move", 1, 0, 0, &tortoise_move); return NULL; } What's wrong ? --0015174c3f0811d88404b43d4355 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello from Spain. I installed Guile 2.0.3 and it works well. I've tried= Tortoise tutorial: http://www.gnu.org/software/guile/docs/guile-tut/tutori= al.html and it compiled well, Gnuplot window pops up, but (tortoise-mov= e 3) doesn't draw. The source code is:

/* Simple backend for a Logo like tortoise drawer.=A0 */
#include &l= t;stdlib.h>
#include <stdio.h>
#include <unistd.h>
= #include <math.h>
#include <libguile.h>

static const = int WIDTH =3D 10;
static const int HEIGHT =3D 10;
static FILE* global_output;
static do= uble x =3D 0.0;
static double y =3D 0.0;
static double direction =3D = 0.0;
static int pendown =3D 1;

static FILE* start_gnuplot ();
= static void draw_line (FILE* output, double x1, double y1, double x2, doubl= e y2);
static SCM tortoise_reset ();
static SCM tortoise_pendown ();
static= SCM tortoise_penup ();
static SCM tortoise_turn (SCM degrees);
stati= c SCM tortoise_move (SCM length);
static void* register_functions (void*= data);


static FILE* start_gnuplot ()
{
=A0 FILE* output;
=A0 int = pipes[2];
=A0 pid_t pid;

=A0 pipe (pipes);
=A0 pid =3D fork ()= ;

=A0 if (!pid)http://www.gnu.org/software/guile/docs/guile-tut/tuto= rial.html
=A0=A0=A0 {
=A0=A0=A0=A0=A0 dup2 (pipes[0], STDIN_FILENO);
=A0=A0=A0= =A0=A0 execlp ("gnuplot", NULL);
=A0=A0=A0=A0=A0 return; /* No= t reached.=A0 */
=A0=A0=A0 }

=A0 output =3D fdopen (pipes[1], &qu= ot;w");

=A0 fprintf (output, "set multiplot\n");
=A0 fprintf (output, "set parametric\n");
=A0 fprintf (output,= "set xrange [-%d:%d]\n", WIDTH, WIDTH);
=A0 fprintf (output, = "set yrange [-%d:%d]\n", HEIGHT, HEIGHT);
=A0 fprintf (output,= "set size ratio -1\n");
=A0 fprintf (output, "unset xtics\n");
=A0 fprintf (output, &q= uot;unset ytics\n");
=A0 fflush (output);

=A0 return output;=
}



int main (int argc, char* argv[])
{
=A0 global_o= utput =3D start_gnuplot ();

=A0 scm_with_guile (&register_functions, NULL);
=A0 scm_shell (a= rgc, argv);
=A0
=A0 return EXIT_SUCCESS;
}




sta= tic void draw_line (FILE* output, double x1, double y1, double x2, double y= 2)
{
=A0 fprintf (output, "plot [0:1] %f + %f * t, %f + %f * t notitle= \n",
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 x1, x2 - x1, y1, y2 - y1);
= =A0 fflush (output);
}


static SCM tortoise_reset ()
{
= =A0 x =3D y =3D 0.0;
=A0 direction =3D 0.0;
=A0 pendown =3D 1;

=A0 fprintf (global_output, "clear\n");=
=A0 fflush (global_output);

=A0 return SCM_UNSPECIFIED;
}
=
static SCM tortoise_pendown ()
{
=A0 SCM result =3D scm_from_bool= (pendown);
=A0 pendown =3D 1;
=A0 return result;
}

static SCM tortoise_pe= nup ()
{
=A0 SCM result =3D scm_from_bool (pendown);
=A0 pendown = =3D 0;
=A0 return result;
}

static SCM tortoise_turn (SCM degr= ees)
{
=A0 const double value =3D scm_to_double (degrees);
=A0 direction +=3D M= _PI / 180.0 * value;
=A0 return scm_from_double (direction * 180.0 / M_P= I);
}

static SCM tortoise_move (SCM length)
{
=A0 const dou= ble value =3D scm_to_double (length);
=A0 double newX, newY;

=A0 newX =3D x + value * cos (direction);
= =A0 newY =3D y + value * sin (direction);

=A0 if (pendown)
=A0=A0= =A0 draw_line (global_output, x, y, newX, newY);

=A0 x =3D newX;
= =A0 y =3D newY;

=A0 return scm_list_2 (scm_from_double (x), scm_from_double (y));
}
<= br>
static void* register_functions (void* data)
{
=A0 scm_c_defin= e_gsubr ("tortoise-reset", 0, 0, 0, &tortoise_reset);
=A0 = scm_c_define_gsubr ("tortoise-penup", 0, 0, 0, &tortoise_penu= p);
=A0 scm_c_define_gsubr ("tortoise-pendown", 0, 0, 0, &tortois= e_pendown);
=A0 scm_c_define_gsubr ("tortoise-turn", 1, 0, 0, = &tortoise_turn);
=A0 scm_c_define_gsubr ("tortoise-move", = 1, 0, 0, &tortoise_move);
=A0 return NULL;
}



What's wrong ?=A0
--0015174c3f0811d88404b43d4355-- From MAILER-DAEMON Sat Dec 17 00:49:35 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rbn9L-0002Iv-Ae for mharc-guile-user@gnu.org; Sat, 17 Dec 2011 00:49:35 -0500 Received: from eggs.gnu.org ([140.186.70.92]:52584) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rbn9J-0002Ip-5m for guile-user@gnu.org; Sat, 17 Dec 2011 00:49:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rbn9I-0001YF-0n for guile-user@gnu.org; Sat, 17 Dec 2011 00:49:33 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:61358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rbn9H-0001Y9-Ol for guile-user@gnu.org; Sat, 17 Dec 2011 00:49:31 -0500 Received: by wibhq12 with SMTP id hq12so424346wib.0 for ; Fri, 16 Dec 2011 21:49:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=JbLPjqZ0nIjw2TCXCXNDVXm6ws2rLZjQjmNCdWrtDmg=; b=mM9/+wvJTItnbZ0+cFmlmsywgijoIFs6hWZ6S37jrfyDDnxYSVJbFU72u9mC3WQpgo wmHTIRnWlhVbwOjo3fREo+jhD+o8nyWH5XdfjQgJ1Hy1G6xTjOeVOV2msU5yGHrDCQJk Cml6D1+6S7twBd7U8uDqZs1wCb0cA30yLISYY= MIME-Version: 1.0 Received: by 10.180.106.3 with SMTP id gq3mr16212217wib.34.1324100970823; Fri, 16 Dec 2011 21:49:30 -0800 (PST) Received: by 10.217.0.84 with HTTP; Fri, 16 Dec 2011 21:49:30 -0800 (PST) In-Reply-To: References: Date: Sat, 17 Dec 2011 06:49:30 +0100 Message-ID: Subject: Re: Tortoise tutorial From: zx spectrumgomas To: guile-user@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.212.169 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Dec 2011 05:49:34 -0000 Sorry, the source code is here: http://pastebin.com/dXz6QGz1 From MAILER-DAEMON Sat Dec 17 07:01:51 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rbsxb-00067v-AC for mharc-guile-user@gnu.org; Sat, 17 Dec 2011 07:01:51 -0500 Received: from eggs.gnu.org ([140.186.70.92]:55159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbsxX-00062k-Mg for guile-user@gnu.org; Sat, 17 Dec 2011 07:01:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RbsxW-0000FC-I0 for guile-user@gnu.org; Sat, 17 Dec 2011 07:01:47 -0500 Received: from smtp205.alice.it ([82.57.200.101]:55914) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RbsxT-0000Dl-CJ; Sat, 17 Dec 2011 07:01:43 -0500 Received: from ambire.localdomain (79.54.66.157) by smtp205.alice.it (8.6.023.02) id 4ECA5FDA04DCEBA6; Sat, 17 Dec 2011 13:01:41 +0100 Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1RbsuS-0001No-KF; Sat, 17 Dec 2011 12:58:36 +0100 From: Thien-Thi Nguyen To: guile-sources@gnu.org Subject: Guile-SDL Demos 2.0 available Date: Sat, 17 Dec 2011 12:58:36 +0100 Message-ID: <87sjkjquj7.fsf@ambire.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.101 Cc: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Dec 2011 12:01:48 -0000 release notes: Pop pop pop... thi README excerpt: This is a collection of small programs released under GNU GPL v3 that use Guile-SDL, available at: http://www.nongnu.org/guile-sdl/ NB: These require Guile-SDL 0.4.0 or later. NEWS excerpt: - 2.0 | 2011-12-17 - requires Guile-SDL 0.4.0 or later - improved portability Now tested w/ Guile 1.8.7 on a 64-bit host. Notably, "space-frisk --site" falls back to a filesystem walk if no module catalogs are available. It also handles newer (Guile 1.4.1.124) module catalogs. - Deal default demo now interactive - bugfixes - View VCG uses =E2=80=98primitive-load=E2=80=99 for rw-vcg.scm - ./demo requires /bin/bash, not just /bin/sh You can look at this as a bugfix or as a bug appeasement where the bug is reliance on /bin/bash in the first place. Probably Someone should rewrite ./demo in Scheme... - =E2=80=98./demo --help=E2=80=99 spells "rescue" correctly (ugh) tarball, prettified source, screenshot, etc. in dir: http://www.gnuvola.org/software/guile-sdl-demos/ From MAILER-DAEMON Sat Dec 17 19:25:39 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rc4ZP-0007FO-2t for mharc-guile-user@gnu.org; Sat, 17 Dec 2011 19:25:39 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rc4ZM-0007EU-74 for guile-user@gnu.org; Sat, 17 Dec 2011 19:25:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rc4ZK-0000ag-IP for guile-user@gnu.org; Sat, 17 Dec 2011 19:25:36 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:59769) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rc4ZK-0000aW-86 for guile-user@gnu.org; Sat, 17 Dec 2011 19:25:34 -0500 Received: by eabm6 with SMTP id m6so2904025eab.0 for ; Sat, 17 Dec 2011 16:25:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RJKOXGfKb8gFlppMp+jDiLDyGtpTwbOUxGwL18ZexHI=; b=ZCh9JK+JTXB+axp/pjLjbT6d3366lKl++POf4q4fyP6BfbDhaKeKXexwXjiknVTYMY VQXcxPt8+RZxnKzLwHbE0fVA0W6j5Oreh7dFG6NZ/YMTUrYuLryX2aYxQNtoX8pH4RnP EDeVBeB9XxHx69HemT9Ch+CVwfHzfdBq4OD18= MIME-Version: 1.0 Received: by 10.204.143.137 with SMTP id v9mr291305bku.116.1324167932324; Sat, 17 Dec 2011 16:25:32 -0800 (PST) Received: by 10.204.51.205 with HTTP; Sat, 17 Dec 2011 16:25:32 -0800 (PST) In-Reply-To: References: <87vcpg8twf.fsf@pobox.com> Date: Sat, 17 Dec 2011 16:25:32 -0800 Message-ID: Subject: Re: can't build guile 2.0.3 From: Dongyoon Oh To: Andy Wingo Content-Type: multipart/alternative; boundary=0015175ce2823aac8604b452df38 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.169 Cc: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 00:25:37 -0000 --0015175ce2823aac8604b452df38 Content-Type: text/plain; charset=ISO-8859-1 I succeeded in installing guile 2.0.3 after I installed gcc 4.6.2 separately from Xcode installation. Thanks, Dongyoon On Fri, Dec 16, 2011 at 12:49 PM, Dongyoon Oh wrote: > Hi, Andy > > Thanks for your comment! > So I waited patiently and move onto the next stage but I still got an > error in make: > > make all-am > CC readline.lo > readline.c: In function 'init_bouncing_parens': > readline.c:445: warning: implicit declaration of function > 'rl_get_keymap_name' > readline.c:445: warning: passing argument 1 of 'strncmp' makes pointer > from integer without a cast > CCLD libguilereadline-v-18.la > Undefined symbols for architecture x86_64: > "_rl_get_keymap_name", referenced from: > _init_bouncing_parens in readline.o > ld: symbol(s) not found for architecture x86_64 > collect2: ld returned 1 exit status > make[3]: *** [libguilereadline-v-18.la] Error 1 > > Best, > Dongyoon > > > On Fri, Dec 16, 2011 at 6:37 AM, Andy Wingo wrote: > >> Hi Dongyoon, >> >> On Fri 16 Dec 2011 14:58, Dongyoon Oh writes: >> >> > makeinfo --force -o guile-procedures.txt guile-procedures.texi || test >> -f guile-procedures.txt >> > >> /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:11408: >> Cross reference to nonexistent node `Backslash Escapes' (perhaps incorrect >> sectioning?). >> > [...] >> >> These are benign; we should get around to fixing them, but they do not >> indicate errors. >> >> > Making all in module >> > GUILEC ice-9/eval.go >> > wrote `ice-9/eval.go' >> > GUILEC ice-9/psyntax-pp.go >> > >> > It seems that the program stucks at this moment (i waited for about >> 10mins but there was no change) >> > Can anyone help me? >> >> This step takes approximately forever ;-). Or, 4 minutes or so on my >> machine. But if you wait long enough, it does continue. >> >> Regards, >> >> Andy >> -- >> http://wingolog.org/ >> > > --0015175ce2823aac8604b452df38 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I succeeded in installing guile 2.0.3 after I installed gcc 4.6.2 separatel= y from Xcode installation.

Thanks,
Dongyoon

On Fri, Dec 16, 2011 at 12:49 PM, Dongyoon Oh <dyoh47@gmail.com> wrote:
Hi, Andy

Thanks for your comment! So I waited patiently and move onto the next stage but I still got an err= or in make:

make=A0 all-am
=A0 CC=A0=A0=A0=A0 readline.lo
readline.c: In func= tion 'init_bouncing_parens':
readline.c:445: warning: implicit declaration of function 'rl_get_keyma= p_name'
readline.c:445: warning: passing argument 1 of 'strncmp&= #39; makes pointer from integer without a cast
=A0 CCLD=A0=A0 libguilereadline-v-18.l= a
Undefined symbols for architecture x86_64:
=A0 "_rl_get_keymap_name= ", referenced from:
=A0=A0=A0=A0=A0 _init_bouncing_parens in readli= ne.o
ld: symbol(s) not found for architecture x86_64
collect2: ld ret= urned 1 exit status
make[3]: *** [libguilereadline-v-18.la] Error 1

Best,
Dongyoon


On Fri, De= c 16, 2011 at 6:37 AM, Andy Wingo <wingo@pobox.com> wrote:
Hi Dongyoon,

On Fri 16 Dec 2011 14:58, Dongyoon Oh <dyoh47@gmail.com> writes:

> makeinfo --force -o guile-procedures.txt guile-procedures.texi || test= -f guile-procedures.txt
> /Users/Dongyoon/Downloads/guile-2.0.3/libguile//guile-procedures.texi:= 11408: Cross reference to nonexistent node `Backslash Escapes' (perhaps= incorrect sectioning?).
> [...]

These are benign; we should get around to fixing them, but they do not
indicate errors.

> Making all in module
> =A0 GUILEC ice-9/eval.go
> wrote `ice-9/eval.go'
> =A0 GUILEC ice-9/psyntax-pp.go
>
> It seems that the program stucks at this moment (i waited for about 10= mins but there was no change)
> Can anyone help me?

This step takes approximately forever ;-). =A0Or, 4 minutes or so on = my
machine. =A0But if you wait long enough, it does continue.

Regards,

Andy
--
http://wingolog.org/=


--0015175ce2823aac8604b452df38-- From MAILER-DAEMON Sun Dec 18 06:04:10 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RcEXK-0002Bf-I7 for mharc-guile-user@gnu.org; Sun, 18 Dec 2011 06:04:10 -0500 Received: from eggs.gnu.org ([140.186.70.92]:49546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcEXH-0002BZ-Vm for guile-user@gnu.org; Sun, 18 Dec 2011 06:04:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RcEXG-0007WE-PX for guile-user@gnu.org; Sun, 18 Dec 2011 06:04:07 -0500 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:35445 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcEXG-0007Vy-N6 for guile-user@gnu.org; Sun, 18 Dec 2011 06:04:06 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 553636F74; Sun, 18 Dec 2011 06:04:05 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=XWdDyTLRMcam melr7xNqKSjCrNY=; b=oJEzSm9+2xxH9xRJPWwMywSiWyq74OO742x1q5Kwkz6k TZy3ipJuoKbTordp0e9+vXG1WYxRHYxqR5FzAzd4LTtoDju4ACtw4HjxM9Lnd9mr +IvyIUBOd8XJawZb47qCo8CGfKZDabl/ArRXWtT2Yh3H8GvGJXyr+lIxFCVBT1o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=uIVuL2 p1vVA+ejNNNOn1Uiiyb1oHHKAeUf+piiw+l6FuUMYUjLd9XTiHjvVb7sOOvOTQEN g+P1sdJEGMOG8v+sGbYAbaYLnLQeERMS0OgumvBoumZJKe46tGvQdCDt8T7KVbha gTyJPQwjE1Iwg9FxIKKOWyFi1Dr2nuvy9ESdk= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 45D166F73; Sun, 18 Dec 2011 06:04:05 -0500 (EST) Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 1C5266F72; Sun, 18 Dec 2011 06:04:03 -0500 (EST) From: Andy Wingo To: Dongyoon Oh Subject: Re: can't build guile 2.0.3 References: <87vcpg8twf.fsf@pobox.com> Date: Sun, 18 Dec 2011 12:04:00 +0100 In-Reply-To: (Dongyoon Oh's message of "Fri, 16 Dec 2011 12:49:56 -0800") Message-ID: <874nwyta3j.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Pobox-Relay-ID: FF7D925E-2967-11E1-B25E-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 Cc: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 11:04:09 -0000 On Fri 16 Dec 2011 21:49, Dongyoon Oh writes: > =C2=A0 CC=C2=A0=C2=A0=C2=A0=C2=A0 readline.lo > readline.c: In function 'init_bouncing_parens': > readline.c:445: warning: implicit declaration of function 'rl_get_keymap_= name' > readline.c:445: warning: passing argument 1 of 'strncmp' makes pointer fr= om integer without a cast This is probably Apple's `lineedit' pretending to be GNU readline, but not being entirely compatible. Either install GNU readline, or disable readline when compiling. Cheers, Andy --=20 http://wingolog.org/ From MAILER-DAEMON Sun Dec 18 15:40:59 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RcNXX-0000Gh-Lq for mharc-guile-user@gnu.org; Sun, 18 Dec 2011 15:40:59 -0500 Received: from eggs.gnu.org ([140.186.70.92]:34061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcNXU-0000EY-JQ for guile-user@gnu.org; Sun, 18 Dec 2011 15:40:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RcNXT-0007bD-Mm for guile-user@gnu.org; Sun, 18 Dec 2011 15:40:56 -0500 Received: from smtp205.alice.it ([82.57.200.101]:51447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcNXR-0007ac-Ij; Sun, 18 Dec 2011 15:40:53 -0500 Received: from ambire.localdomain (95.245.73.108) by smtp205.alice.it (8.6.023.02) id 4EECA2D8001CD01D; Sun, 18 Dec 2011 21:40:52 +0100 Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1RcNUQ-0001cG-1m; Sun, 18 Dec 2011 21:37:46 +0100 From: Thien-Thi Nguyen To: guile-sources@gnu.org Subject: Guile-SDL Demos 2.1 available Date: Sun, 18 Dec 2011 21:37:45 +0100 Message-ID: <87d3blsjja.fsf@ambire.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.101 Cc: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 20:40:57 -0000 release notes: Too hasty w/ 2.0, ah well. thi README excerpt: This is a collection of small programs released under GNU GPL v3 that use Guile-SDL, available at: http://www.nongnu.org/guile-sdl/ NB: These require Guile-SDL 0.4.0 or later. NEWS excerpt: - 2.1 | 2011-12-18 - individual program licenses upgraded to GPLv3+ - bugfix: individual program versions bumped This was an omission from Guile-SDL Demos 2.0. Doing =E2=80=98./demo PROGRAM --version=E2=80=99 now DTRT. - =E2=80=98program --help=E2=80=99 output uses U+2018, U+2019 tarball, prettified source, screenshot, etc. in dir: http://www.gnuvola.org/software/guile-sdl-demos/ From MAILER-DAEMON Sun Dec 18 18:52:00 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RcQWO-0002r9-3L for mharc-guile-user@gnu.org; Sun, 18 Dec 2011 18:52:00 -0500 Received: from eggs.gnu.org ([140.186.70.92]:53715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcQWM-0002r1-5Y for guile-user@gnu.org; Sun, 18 Dec 2011 18:51:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RcQWK-0004se-UM for guile-user@gnu.org; Sun, 18 Dec 2011 18:51:58 -0500 Received: from lo.gmane.org ([80.91.229.12]:36345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcQWK-0004sX-PH for guile-user@gnu.org; Sun, 18 Dec 2011 18:51:56 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RcQWI-0001KO-Kz for guile-user@gnu.org; Mon, 19 Dec 2011 00:51:54 +0100 Received: from reverse-83.fdn.fr ([80.67.176.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Dec 2011 00:51:54 +0100 Received: from ludo by reverse-83.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Dec 2011 00:51:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: guile-user@gnu.org From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Subject: Re: Guile 2.0.3 manual published Date: Mon, 19 Dec 2011 00:51:40 +0100 Lines: 14 Message-ID: <8762hdh20j.fsf@gnu.org> References: <1RbKOX-00069X-BN.1323990442=973a5f03@network-theory.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: reverse-83.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 Frimaire an 220 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:8zqKezQjbend0+gyegblE8nsiIk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2011 23:51:59 -0000 Hello! Brian Gough skribis: > I just wanted to officially confirm that the Guile 2.0.3 manual is now > available as a printed book (ISBN 9781906966157). > > Details at http://www.network-theory.co.uk/guile/manual/ Thanks, I confirm that it’s a pleasure to browse this book! :-) (And sorry if my excitement led me to update news.html a bit too early!) Ludo’. From MAILER-DAEMON Mon Dec 19 08:10:28 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rccz6-0000JR-SC for mharc-guile-user@gnu.org; Mon, 19 Dec 2011 08:10:28 -0500 Received: from eggs.gnu.org ([140.186.70.92]:43975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rccyp-00005k-VE for guile-user@gnu.org; Mon, 19 Dec 2011 08:10:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rccye-0005ZE-Ql for guile-user@gnu.org; Mon, 19 Dec 2011 08:10:11 -0500 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:35415 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RccyN-0005W6-4l; Mon, 19 Dec 2011 08:09:43 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id ABE5E7D74; Mon, 19 Dec 2011 08:09:42 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=Z5sZZWjOA+neUvQmUHJEGJMxcdk=; b=E9SgI5 3OrxIe5dyCoNHjK0sDv33H4SYmg25vDzN0o6BkBqTama12PrufgpeTttVz3sculZ 4u2kdPGANsTbiHzHnIeyC7kJ28LbNXJT0BNbE1/JaArdW8ZMAtSZGKyDW39Z1CTh BnXh9kqeyS/Z3rfHosQ5T11EXgpPhgg/rwuyU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=A5OYvvikKdILbf1XITZbE3L0v74VGd1L 80EMU9KJBMCAjKh4e8lGEm0mKPhp3FqfxXeiZmclmSU3VcdsM7NyzvYOElkGbMRo 6rLMnh6ABdZpyJIeVGk0JUoaog1iurDoxV/KoPMGtV53rBiNxqigeq+jbPMf8y6v 0xuLeyQq9bA= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id A4BDB7D73; Mon, 19 Dec 2011 08:09:42 -0500 (EST) Received: from badger (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id DC6147D72; Mon, 19 Dec 2011 08:09:41 -0500 (EST) From: Andy Wingo To: David Kastrup Subject: Re: [gnu-prog-discuss] Guile & deprecation References: <877h1z9udz.fsf@fencepost.gnu.org> <87obvbb6dz.fsf@gnu.org> <4EE8AD89.7080203@gnu.org> <87borbb4sk.fsf@gnu.org> <4EE8B612.10808@gnu.org> <20111218170007.GB3388@barah.math.u-psud.fr> <87zkepn3sj.fsf@gnu.org> <87wr9tve5k.fsf@fencepost.gnu.org> <87mxapk304.fsf@gnu.org> <877h1tv5e9.fsf@fencepost.gnu.org> <87bor5ihby.fsf_-_@gnu.org> <8739chuh8m.fsf@fencepost.gnu.org> Date: Mon, 19 Dec 2011 14:09:37 +0100 In-Reply-To: <8739chuh8m.fsf@fencepost.gnu.org> (David Kastrup's message of "Mon, 19 Dec 2011 08:56:41 +0100") Message-ID: <87wr9sr9m6.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Pobox-Relay-ID: B6C6A93E-2A42-11E1-90C1-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 Cc: guile-user@gnu.org, gnu-prog-discuss@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 13:10:27 -0000 On Mon 19 Dec 2011 08:56, David Kastrup writes: >> Would you like to submit a patch to document your findings? :-) > > As long as Guile as a project is dead enough to require passersby not > just to report but also fix its problems and organize the infrastructure > for it, it does not seem like something one could recommend to depend on > in good conscience. David, you are not a passer-by: you hack on a GNU project that has been using Guile for some 15 years now. You know Scheme. You like GNU, I presume. You have spent paragraphs and countless electrons about these two or three bugs, on the development lists, using them as a meta-token of all that you perceive to be wrong with a project: but you never filed a bug report. http://thread.gmane.org/gmane.lisp.guile.devel/13001 As my dear grandmother used to say, "shit or get off the pot": either submit a patch or file a bug report. Discussing Guile in GNU is totally on-topic, but using these two easily fixed bugs to smear the work we have been doing for the last few years is not productive. Andy -- http://wingolog.org/ From MAILER-DAEMON Mon Dec 19 21:24:10 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RcpNC-0003Mq-Do for mharc-guile-user@gnu.org; Mon, 19 Dec 2011 21:24:10 -0500 Received: from eggs.gnu.org ([140.186.70.92]:36818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rclbn-0003Ve-Iu for guile-user@gnu.org; Mon, 19 Dec 2011 17:23:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rclbm-0006Ag-Lz for guile-user@gnu.org; Mon, 19 Dec 2011 17:22:59 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:56102) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rclbm-0006Aa-FM for guile-user@gnu.org; Mon, 19 Dec 2011 17:22:58 -0500 Received: by eabm6 with SMTP id m6so4535280eab.0 for ; Mon, 19 Dec 2011 14:22:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=oVKgEbZyTMsPFUEFP4PBYNhvNCe0gf5qtynj3sQmlYM=; b=OcPlJtd9GUJs8Hl3k0xAAhlONRmBHK2gpQJvA9hos8uX0qz8eeoVOod3hsTqvdAoE8 TtMqNXbTKbCdMmgshxdDJ5WstXJ1Vr5Rqid3c9JyDexM53sxp6ypWXxy/fCATte92wLO ADVoiqdhbyL13sGnUz5yCZriz5X4iubcHsVnc= MIME-Version: 1.0 Received: by 10.205.83.73 with SMTP id af9mr2249799bkc.24.1324333377101; Mon, 19 Dec 2011 14:22:57 -0800 (PST) Received: by 10.204.55.68 with HTTP; Mon, 19 Dec 2011 14:22:56 -0800 (PST) In-Reply-To: <8762hdh20j.fsf@gnu.org> References: <1RbKOX-00069X-BN.1323990442=973a5f03@network-theory.co.uk> <8762hdh20j.fsf@gnu.org> Date: Mon, 19 Dec 2011 14:22:56 -0800 Message-ID: Subject: Re: Guile 2.0.3 manual published From: =?UTF-8?Q?Aleix_Conchillo_Flaqu=C3=A9?= To: guile-user@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.169 X-Mailman-Approved-At: Mon, 19 Dec 2011 21:24:08 -0500 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Dec 2011 22:23:00 -0000 my copy just arrived. looks nice. thanks! aleix From MAILER-DAEMON Tue Dec 20 10:55:16 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rd228-00028r-Qr for mharc-guile-user@gnu.org; Tue, 20 Dec 2011 10:55:16 -0500 Received: from eggs.gnu.org ([140.186.70.92]:59555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcsGT-0003xR-Gy for guile-user@gnu.org; Tue, 20 Dec 2011 00:29:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RcsGS-0003m4-5N for guile-user@gnu.org; Tue, 20 Dec 2011 00:29:25 -0500 Received: from mail-ee0-f67.google.com ([74.125.83.67]:51590) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RcsGS-0003lz-06 for guile-user@gnu.org; Tue, 20 Dec 2011 00:29:24 -0500 Received: by eekd41 with SMTP id d41so1515321eek.6 for ; Mon, 19 Dec 2011 21:29:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=aEMMkdt2yhR3+npjZBmFtvVvzKAOBy1/HdGmsWgiHl0=; b=pk1trYqqk7mmVjKQKApoHFwnx8GqbodPSuoZM40pLe1WlS997L5Qrm0zGUVMR17ab7 DtjvpQFmr9K93YNUgTK4NTRjeuvwgz7xkwDQzylbMPn9OXDsNHTaX9mTTbK0ahPAp26m iERbZ+r/EoehCt6fqyjf9ydAIjoYGCG0f01Ek= MIME-Version: 1.0 Received: by 10.14.51.80 with SMTP id a56mr285012eec.103.1324358962560; Mon, 19 Dec 2011 21:29:22 -0800 (PST) Received: by 10.213.10.143 with HTTP; Mon, 19 Dec 2011 21:29:22 -0800 (PST) In-Reply-To: References: Date: Tue, 20 Dec 2011 06:29:22 +0100 Message-ID: Subject: Re: Tortoise tutorial From: zx spectrumgomas To: guile-user@gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.83.67 X-Mailman-Approved-At: Tue, 20 Dec 2011 10:55:15 -0500 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2011 05:29:26 -0000 The problem was my value of the LC_NUMERIC locale. If locale is spanish , decimal separator is "," =A0and all doubles are displayed with a comma instead of a dot. I fixed it with : $export LC_NUMERIC=3D"C" From MAILER-DAEMON Wed Dec 21 12:56:42 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RdQPC-0007ab-5T for mharc-guile-user@gnu.org; Wed, 21 Dec 2011 12:56:42 -0500 Received: from eggs.gnu.org ([140.186.70.92]:59782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdLG7-0003gs-7E for guile-user@gnu.org; Wed, 21 Dec 2011 07:27:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RdLFu-000848-Rf for guile-user@gnu.org; Wed, 21 Dec 2011 07:26:59 -0500 Received: from eneide.happyleptic.org ([213.251.171.101]:45922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdLFu-0007vq-Lg for guile-user@gnu.org; Wed, 21 Dec 2011 07:26:46 -0500 Received: from extranet.securactive.org ([82.234.213.170] helo=ccellier.rd.securactive.lan) by eneide.happyleptic.org with esmtp (Exim 4.72) (envelope-from ) id 1RdLQA-0006y7-KU for guile-user@gnu.org; Wed, 21 Dec 2011 13:37:22 +0100 Received: from rixed by ccellier.rd.securactive.lan with local (Exim 4.72) (envelope-from ) id 1RdLFh-0003Jr-SW for guile-user@gnu.org; Wed, 21 Dec 2011 13:26:33 +0100 Date: Wed, 21 Dec 2011 13:26:33 +0100 From: rixed@happyleptic.org To: guile-user@gnu.org Subject: interrogation about introspecting function bindings Message-ID: <20111221122633.GA11850@ccellier.rd.securactive.lan> Mail-Followup-To: rixed@happyleptic.org, guile-user@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.251.171.101 X-Mailman-Approved-At: Wed, 21 Dec 2011 12:56:39 -0500 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2011 12:27:04 -0000 I'm trying to get a list of parameter names from a function, using this: (use-modules (system vm program)) (define (val->string v) (if (string? v) v (object->string v))) (define (fun-params fun) (let ((bindings (program-bindings fun))) (map (lambda (binding) (val->string (binding:name binding))) bindings))) All seams well: (define (f foo) 'bar) (fun-params f) -> ("foo") But sometime I've got internal binding as well as parameter in the bindings list. So I use (program-arities) to find out how many parameters I actually have, and take only the firsts bindings : (define (pop l n) (cond ((= 0 n) '()) ((null? l) '()) (else (cons (car l) (pop (cdr l) (- n 1)))))) (define (fun-params fun) (let ((bindings (program-bindings fun)) (arity (arity:nreq (car (program-arities fun))))) (map (lambda (binding) (val->string (binding:name binding))) (pop bindings arity)))) This seams to work, but is it guaranteed that the first b bindings will be the parameters ? From MAILER-DAEMON Thu Dec 22 12:35:02 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RdmXm-0001je-2N for mharc-guile-user@gnu.org; Thu, 22 Dec 2011 12:35:02 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdmXj-0001g9-AZ for guile-user@gnu.org; Thu, 22 Dec 2011 12:35:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RdmXd-0000oc-IP for guile-user@gnu.org; Thu, 22 Dec 2011 12:34:59 -0500 Received: from smtp206.alice.it ([82.57.200.102]:53140) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdmXV-0000nu-Gl; Thu, 22 Dec 2011 12:34:45 -0500 Received: from ambire.localdomain (79.10.157.18) by smtp206.alice.it (8.6.023.02) id 4ECA607904DB9279; Thu, 22 Dec 2011 18:34:42 +0100 Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1RdmXp-0001Tx-6V; Thu, 22 Dec 2011 18:35:05 +0100 From: Thien-Thi Nguyen To: guile-sources@gnu.org Subject: Guile-SDL Demos 3.0 available Date: Thu, 22 Dec 2011 18:35:05 +0100 Message-ID: <8739cc1pdi.fsf@ambire.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.102 Cc: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 17:35:00 -0000 release notes: New screenshot on the homepage, too! thi README excerpt: This is a collection of small programs released under GNU GPL v3 that use Guile-SDL, available at: http://www.nongnu.org/guile-sdl/ NB: These require Guile-SDL 0.4.0 or later. NEWS excerpt: - 3.0 | 2011-12-22 - programs can be run from anywhere Previously, programs had to be invoked from their own directory, to able to find their data files (i.e., they looked in "."). Now, they look in =E2=80=98(dirname (car (command-line)))=E2=80=99.= Note that this will fail for symlinks, so if you want to "install" a program in ~/bin, for instance, the best way is to create a small shell wrapper: #!/bin/sh exec /path/to/guile-sdl-demos-3.0/PROG/PROG "$@" Perhaps we will support "make install" in a future release... - programs can be run w/o args Previously, such functionality lived in the top-level driver script =E2=80=98demo=E2=80=99 and some programs would barf if run w= /o args. - =E2=80=98make check=E2=80=99 support The command "make check" runs all the demo programs without args. - changes to driver script =E2=80=98demo=E2=80=99 - license now GPLv3+ It used to be GPLv3 (without the "any later version" option). - /bin/bash no longer required /bin/bash was to implement =E2=80=98unpicasso --random=E2=80=99 sup= port, but that's moved into unpicasso proper. - new option =E2=80=98--version=E2=80=99 This displays the Guile-SDL Demos version and exits successfully. - changes to demo =E2=80=98view-vcg=E2=80=99 - VCG files cleanup There were two long-standing =E2=80=98\D=E2=80=99 in the VCG files. Who knows how they got there? - workaround for Guile 1.8.7 (ice-9 popen) bug Previously, view-vcg used =E2=80=98open-input-pipe=E2=80=99 for gat= hering the output of the sed(1) command used as part of reading the vcg file. Unfortunately, Guile 1.8.7 does not return all of the subprocess output for some of the larger vcg files, so now we filter in two steps, via a temporary file, and avoid pipes altogether (sigh). - geometry defaults to 300x400 - option =E2=80=98--batch=E2=80=99 dropped The program is now always interactive. - changes to demo =E2=80=98unpicasso=E2=80=99 - if given a directory, scan it for images A file is recognized as an image if its name has one of the extensions (portion after last "."): gif, png, jpg, ppm. - new option =E2=80=98--random=E2=80=99 This option makes unpicasso run the command =E2=80=98locate *.jpg= =E2=80=99 and randomly choos one of the resulting directories for scanning (as described above). You need a working locate(1) installed on the system. - new demo =E2=80=98mq=E2=80=99 This program highlights the difference between KEYUP and KEYDOWN events, w/ some alpha blending and fancy blit ordering mixed in. tarball, prettified source, screenshot, etc. in dir: http://www.gnuvola.org/software/guile-sdl-demos/ From MAILER-DAEMON Thu Dec 22 12:46:18 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rdmig-00057l-Hl for mharc-guile-user@gnu.org; Thu, 22 Dec 2011 12:46:18 -0500 Received: from eggs.gnu.org ([140.186.70.92]:38602) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdYkQ-0000t1-Uo for guile-user@gnu.org; Wed, 21 Dec 2011 21:51:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RdYkP-0005Bw-M1 for guile-user@gnu.org; Wed, 21 Dec 2011 21:51:10 -0500 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:51871 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdYkP-0005Bk-Hq for guile-user@gnu.org; Wed, 21 Dec 2011 21:51:09 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 753D58F9A; Wed, 21 Dec 2011 21:51:08 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=w/nGN8Bv4OpOyF/0YGcDFRmlfzY=; b=Y4mYDQ ZLcJ0yU5bSpkpcRvX4R6ZxqGhdNiBgzK0tcN7/aym8G2L+PxCRNt0WhT7xLT4Pc5 8NFGiYx7aCD6u6XdJzeNUymbxSqwiPWJDoFC87Fw3Ra0KWnDUfYuYnqfnq18XQim VxcrZbjHqXEKAidDjM/h89Am9qsrZZTR+Ntrw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=imKpnEG3VI/6i+2q9OZxSWXRrVQ8OoNf McCdsKi009kh/fdTQvxWVslBL0yhb2mjZxbyI7yI+snbn3FrJDKz6C33kInb8B+/ JADUFPLLzuBlC7LgnlgNdRwf151kBIAgUfNP0ewTpVHofu+0ygCHRQwbWwtX5RpP sP1VyrgN2vU= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 456EE8F97; Wed, 21 Dec 2011 21:51:08 -0500 (EST) Received: from badger (unknown [184.174.165.119]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 4BB9E8F94; Wed, 21 Dec 2011 21:51:07 -0500 (EST) From: Andy Wingo To: Daniel Hartwig Subject: Re: bug#10147: HTTP "Expires" header should handle non-date values References: Date: Wed, 21 Dec 2011 21:51:04 -0500 In-Reply-To: (Daniel Hartwig's message of "Sun, 27 Nov 2011 18:39:12 +0800") Message-ID: <87ty4tqpyf.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Pobox-Relay-ID: CBED2E4E-2C47-11E1-9A2B-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 X-Mailman-Approved-At: Thu, 22 Dec 2011 12:46:15 -0500 Cc: guile-user@gnu.org, 10147@debbugs.gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 02:51:12 -0000 Hi Daniel, So sorry for the delay. On Sun 27 Nov 2011 05:39, Daniel Hartwig writes: > This is definitely a bug on Guile's part, HTTP/1.1 permits such values > for "Expires" headers [1], treating them as though they were a date in > the past: > > HTTP/1.1 clients and caches MUST treat other invalid date formats, > especially including the value "0", as in the past (i.e., "already > expired"). > > [1] http://tools.ietf.org/html/rfc2616#section-14.21 But that's right after saying The format is an absolute date and time as defined by HTTP-date in section 3.3.1; it MUST be in RFC 1123 date format: Expires = "Expires" ":" HTTP-date But, pragmatism may rule, here... > Attached patch permits non-date values for "Expires", leaving them as > strings (preferable, as such responses can be transparently forwarded > to other clients). The staleness of a response could be determined > quite crudely, e.g. > > (define (response-stale? r) > (let ((expires (response-expires r))) > (and expires > (or (not (date? expires)) ;; Indicates already expired. > (time<=? (date->time-utc expires) > (current-time)))))) Let us assume that it is a good idea to include this hack. Wouldn't it be better to keep the expires header as a date? Would any date in the past work fine? Would it be best to allow some special cases like "0" or "-1" instead? I'm just trying to limit the damage here :) WDYT? Andy -- http://wingolog.org/ From MAILER-DAEMON Thu Dec 22 12:46:18 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rdmig-00059D-Sz for mharc-guile-user@gnu.org; Thu, 22 Dec 2011 12:46:18 -0500 Received: from eggs.gnu.org ([140.186.70.92]:43160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdaGC-0004wR-EL for guile-user@gnu.org; Wed, 21 Dec 2011 23:28:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RdaGB-0002WX-0e for guile-user@gnu.org; Wed, 21 Dec 2011 23:28:04 -0500 Received: from mail-tul01m020-f169.google.com ([209.85.214.169]:44740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdaGA-0002WT-SX for guile-user@gnu.org; Wed, 21 Dec 2011 23:28:02 -0500 Received: by obcwo8 with SMTP id wo8so4582337obc.0 for ; Wed, 21 Dec 2011 20:28:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=0WisBw9kDXlSpCdQ+n1u6AF1NrCm7Pz/vBku52+jyeQ=; b=HoNjgEGpxGjypBu6ls2laVRGfWdYRnP/bS1RwBn7WSG17u+BKLsBo09vnWSe6OukrW /Fgo0wbjYvcpKlLbDRpBA1VP6rx7/jYJVYM52XI4EZnD6wZKpmjj7mwBDGIx/qCaBc2K Xn3bOEftomnZw8ZvC09VRuqQhcsgLtE3MUf8o= MIME-Version: 1.0 Received: by 10.50.157.229 with SMTP id wp5mr6923935igb.22.1324528081789; Wed, 21 Dec 2011 20:28:01 -0800 (PST) Received: by 10.231.219.134 with HTTP; Wed, 21 Dec 2011 20:28:01 -0800 (PST) In-Reply-To: <87ty4tqpyf.fsf@pobox.com> References: <87ty4tqpyf.fsf@pobox.com> Date: Thu, 22 Dec 2011 12:28:01 +0800 Message-ID: Subject: Re: bug#10147: HTTP "Expires" header should handle non-date values From: Daniel Hartwig To: Andy Wingo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.169 X-Mailman-Approved-At: Thu, 22 Dec 2011 12:46:16 -0500 Cc: guile-user@gnu.org, 10147@debbugs.gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 04:28:05 -0000 On 22 December 2011 10:51, Andy Wingo wrote: > > On Sun 27 Nov 2011 05:39, Daniel Hartwig writes: > >> This is definitely a bug on Guile's part, HTTP/1.1 permits such values >> for "Expires" headers [1], treating them as though they were a date in >> the past: >> >> =A0 =A0HTTP/1.1 clients and caches MUST treat other invalid date formats= , >> =A0 =A0especially including the value "0", as in the past (i.e., "alread= y >> =A0 =A0expired"). >> >> [1] http://tools.ietf.org/html/rfc2616#section-14.21 > > But that's right after saying > > =A0 The format is an absolute date and time as defined by HTTP-date in > =A0 section 3.3.1; it MUST be in RFC 1123 date format: > > =A0 =A0 =A0Expires =3D "Expires" ":" HTTP-date > > But, pragmatism may rule, here... > ... especially given that players like Google are using "-1" ;-) > ... Wouldn't it > be better to keep the expires header as a date? =A0Would any date in the > past work fine? > That is what I initially considered. A great solution because it requires no changes to existing code which would be expecting a date value. I think any date would do, ideally it would match the value of the Date header, but the current parsing code does not allow for access to it. I considered using a single, well defined value for date-in-the-past (Unix epoch). The *only* concern I had with this approach is wrt implementing a cache/proxy. My idea was that by storing the non-date values as a string you can store/forward these unmodified and still check for the "already expired" condition. Admitedly this is a very minor concern, as there is no change in semantics at the protocol level -- both approaches result in the client understanding that the content is already expired. I think what I came up with was a solution in need of a problem (which should be solved more generally across the whole module any way). > Would it be best to allow some special cases like "0" or "-1" instead? > Not sure precisely what you mean here. Is it something like: (or (false-if-exception (parse-date str)) (and (memq str '("0" "-1")) str) date-in-the-past) ? > I'm just trying to limit the damage here :) =A0WDYT? > I am certainly in favour of keeping the value as a date to achieve this aim. From MAILER-DAEMON Thu Dec 22 12:46:19 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rdmih-0005AT-5i for mharc-guile-user@gnu.org; Thu, 22 Dec 2011 12:46:19 -0500 Received: from eggs.gnu.org ([140.186.70.92]:43482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rdhrt-0003vo-Ik for guile-user@gnu.org; Thu, 22 Dec 2011 07:35:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rdhrs-0002wq-CE for guile-user@gnu.org; Thu, 22 Dec 2011 07:35:29 -0500 Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:58797 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rdhrs-0002wm-8S for guile-user@gnu.org; Thu, 22 Dec 2011 07:35:28 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 6B4DA7E8E; Thu, 22 Dec 2011 07:35:27 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=sasl; bh=xNW/qF10Y0Ty 9+jvgm3+btTHU7g=; b=KUc906r26DU09RzsPDLdNaHf9AUPi8y1wDjbazCwnjsR xnmbndOGR/TLi43E2zr9HdB9NLbqnYhR9MiniJRJYYYR5BnUxleD4l+KgYkFWXAm CT6rnOs7cJEIlAPQwEjCODJW3mTE0vXJxjFYxW0PJ61nx7qumAQrmkM15L8oa+Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; q=dns; s=sasl; b=Vxfful y+OMXGSUVQXsqUaEtcI+LxtEWJECWd7ELhPn1bHTs/B6TAdDPIZCij2ABVRKZfYj p5Nd1giatQvonvJQRGASpTexiE+G5dkJ+Xxqw/w7W9zxgpLTMd4VgIqDMpq8udQt E0qA1unaErEafhv+6B3BF7vYJSkfyIk08w5m4= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 64E347E8D; Thu, 22 Dec 2011 07:35:27 -0500 (EST) Received: from badger (unknown [184.174.165.119]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 148577E8C; Thu, 22 Dec 2011 07:35:27 -0500 (EST) From: Andy Wingo To: Daniel Hartwig Subject: Re: bug#10147: HTTP "Expires" header should handle non-date values References: <87ty4tqpyf.fsf@pobox.com> Date: Thu, 22 Dec 2011 07:35:24 -0500 In-Reply-To: (Daniel Hartwig's message of "Thu, 22 Dec 2011 12:28:01 +0800") Message-ID: <87hb0srdgz.fsf@pobox.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Pobox-Relay-ID: 6D2E3A5E-2C99-11E1-ADF9-65B1DE995924-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 74.115.168.62 X-Mailman-Approved-At: Thu, 22 Dec 2011 12:46:16 -0500 Cc: guile-user@gnu.org, 10147@debbugs.gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Dec 2011 12:35:37 -0000 On Wed 21 Dec 2011 23:28, Daniel Hartwig writes: > On 22 December 2011 10:51, Andy Wingo wrote: >> >> On Sun 27 Nov 2011 05:39, Daniel Hartwig writes: >> >>> =C2=A0 =C2=A0HTTP/1.1 clients and caches MUST treat other invalid date = formats, >>> =C2=A0 =C2=A0especially including the value "0", as in the past (i.e., = "already >>> =C2=A0 =C2=A0expired"). >> >> But, pragmatism may rule, here... > > ... especially given that players like Google are using "-1" ;-) Yes, indeed. >> ... Wouldn't it >> be better to keep the expires header as a date? =C2=A0Would any date in = the >> past work fine? > > That is what I initially considered. I considered using a single, > well defined value for date-in-the-past (Unix epoch). I think I would prefer this. It makes user code easier, and with more of a chance of being correct. I think that Mozilla at least used to use the beginnning of the epoch as this date. >> Would it be best to allow some special cases like "0" or "-1" instead? >> > > Not sure precisely what you mean here. Is it something like: > > (or (false-if-exception (parse-date str)) > (and (memq str '("0" "-1")) str) > date-in-the-past) More like: (if (member str '("0" "-1")) date-in-the-past (parse-date str)) Then we can wait and see -- if only these two values are out there, then we are good, and we keep the "validating" characteristic of our date parser. Otherwise we can fall back to the false-if-exception dance if someone submits a bug report. WDYT? Want to send another patch? :-) Andy --=20 http://wingolog.org/ From MAILER-DAEMON Mon Dec 26 16:30:21 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RfI7h-0000H8-DE for mharc-guile-user@gnu.org; Mon, 26 Dec 2011 16:30:21 -0500 Received: from eggs.gnu.org ([140.186.70.92]:44302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RfDYf-00074n-2c for guile-user@gnu.org; Mon, 26 Dec 2011 11:37:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RfDYd-0004kk-OO for guile-user@gnu.org; Mon, 26 Dec 2011 11:37:53 -0500 Received: from maximusconfessor.all2all.org ([62.58.108.13]:60644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RfDYd-0004kX-K1 for guile-user@gnu.org; Mon, 26 Dec 2011 11:37:51 -0500 Received: from localhost (unknown [192.168.0.2]) by maximusconfessor.all2all.org (Postfix) with ESMTP id 01087A04C2D5; Mon, 26 Dec 2011 17:37:49 +0100 (CET) Received: from maximusconfessor.all2all.org ([192.168.0.1]) by localhost (maximusconfessor.all2all.org [192.168.0.2]) (amavisd-new, port 10024) with ESMTP id Zy-k0fZofS7V; Mon, 26 Dec 2011 17:15:45 +0100 (CET) Received: from asterix (unknown [139.82.89.98]) by maximusconfessor.all2all.org (Postfix) with ESMTPSA id B386AA04C643; Mon, 26 Dec 2011 17:37:40 +0100 (CET) Date: Mon, 26 Dec 2011 14:37:38 -0200 From: David Pirotte To: Brian Gough Subject: Re: Guile 2.0.3 manual published Message-ID: <20111226143738.256ba4dd@asterix> In-Reply-To: <1RbKOX-00069X-BN.1323990442=973a5f03@network-theory.co.uk> References: <1RbKOX-00069X-BN.1323990442=973a5f03@network-theory.co.uk> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.8; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 62.58.108.13 X-Mailman-Approved-At: Mon, 26 Dec 2011 16:30:19 -0500 Cc: guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2011 16:37:54 -0000 Le Thu, 15 Dec 2011 23:07:20 +0000, Brian Gough a =E9crit : > Hello everyone >=20 > I just wanted to officially confirm that the Guile 2.0.3 manual is now=20 > available as a printed book (ISBN 9781906966157). >=20 > Details at http://www.network-theory.co.uk/guile/manual/ >=20 > It's a hefty volume - over 900 pages, the price is 29.95 USD (or 19.95=20 > GBP in the UK). Thanks Brian. I have ordered the 2 copies I said I would... [actually my co= llege and I, separate countries separate orders :)] Cheers, David From MAILER-DAEMON Tue Dec 27 10:49:10 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RfZH4-0005Im-He for mharc-guile-user@gnu.org; Tue, 27 Dec 2011 10:49:10 -0500 Received: from eggs.gnu.org ([140.186.70.92]:32770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RfZGw-0005Ig-UU for guile-user@gnu.org; Tue, 27 Dec 2011 10:49:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RfZGv-0001vR-MM for guile-user@gnu.org; Tue, 27 Dec 2011 10:49:02 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:32785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RfZGv-0001vN-Fb for guile-user@gnu.org; Tue, 27 Dec 2011 10:49:01 -0500 Received: by iacb35 with SMTP id b35so22105087iac.0 for ; Tue, 27 Dec 2011 07:49:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lW8YtKrO9WqhKN0/V2e079DEQ2C4E9xlCVoNe8duqZw=; b=AYrViHFWo2HW+CYzPjkIexhQwRDmCmAmnCe6gU7TZhilk4a04X5+n1ydHa655YMkgr 8yrsigNV7A6oiJ6NSZAc9cWpOtOlXC4yQ4lWPtX+3fnyglfqHg+JVU4exEm3Cn73vT67 QNhC8cPXs+uBHFlZ9r2iI2jFMuKwxtQ/L4SiI= MIME-Version: 1.0 Received: by 10.50.156.138 with SMTP id we10mr11629777igb.10.1325000940713; Tue, 27 Dec 2011 07:49:00 -0800 (PST) Received: by 10.231.48.68 with HTTP; Tue, 27 Dec 2011 07:49:00 -0800 (PST) In-Reply-To: <87hb0srdgz.fsf@pobox.com> References: <87ty4tqpyf.fsf@pobox.com> <87hb0srdgz.fsf@pobox.com> Date: Tue, 27 Dec 2011 23:49:00 +0800 Message-ID: Subject: Re: bug#10147: HTTP "Expires" header should handle non-date values From: Daniel Hartwig To: Andy Wingo Content-Type: multipart/mixed; boundary=e89a8f234aad65f89104b514d2af X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 Cc: guile-user@gnu.org, 10147@debbugs.gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Dec 2011 15:49:08 -0000 --e89a8f234aad65f89104b514d2af Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 22 December 2011 20:35, Andy Wingo wrote: >> Not sure precisely what you mean here. =A0Is it something like: >> >> (or (false-if-exception (parse-date str)) >> =A0 =A0 (and (memq str '("0" "-1")) str) >> =A0 =A0 date-in-the-past) > > More like: > > =A0(if (member str '("0" "-1")) > =A0 =A0 =A0date-in-the-past > =A0 =A0 =A0(parse-date str)) > > Then we can wait and see -- if only these two values are out there, then > we are good, and we keep the "validating" characteristic of our date > parser. =A0Otherwise we can fall back to the false-if-exception dance if > someone submits a bug report. A rough check against ~2600 sites scraped from dmoz.org shows only a handful with other values. These two: "Mon, 12 Jul 1996 1:00:00 GMT" ^ misses leading `0' "Thu, 01 Jan 1970 00:00:00 +0000" ^ should be `GMT' The second (use of `+0000') was also encountered amongst other date-valued headers in ~1% of pages sampled. There might be a case here for relaxing `parse-date' as I don't think these should be handled specifically for "Expires" headers. There were three more like: "{ts '2011-12-27 08:12:22'}" which only appeared for "Expires" headers. They look something like server directives which should have been transformed to legit expiration dates but haven't been, due to misconfiguration. In this case I'd rather throw an error than parse it (wrongly) to date-in-the-past. Given those points, I have attached a patch implementing the suggested handling for "Expires" and will take a look at perhaps relaxing parse-date (and others). Anyone have ideas on that? Daniel --e89a8f234aad65f89104b514d2af Content-Type: text/x-patch; charset=US-ASCII; name="0001-permit-non-date-values-for-Expires-header.patch" Content-Disposition: attachment; filename="0001-permit-non-date-values-for-Expires-header.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gwp37ai00 RnJvbSA4YjdlZGEwYmQ3YjAzNDY3ZjZlZWYwY2U2Yzk5ZGVkZjhmZDNhYzBjIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBEYW5pZWwgSGFydHdpZyA8bWFuZHlrZUBnbWFpbC5jb20+CkRh dGU6IFR1ZSwgMjcgRGVjIDIwMTEgMjI6MjQ6MjggKzA4MDAKU3ViamVjdDogW1BBVENIXSBwZXJt aXQgbm9uLWRhdGUgdmFsdWVzIGZvciBFeHBpcmVzIGhlYWRlcgoKKiBtb2R1bGUvd2ViL2h0dHAu c2NtICgiRXhwaXJlcyIpOiBQZXJtaXQgKHNvbWUpIG5vbi1kYXRlIHZhbHVlcy4KLS0tCiBtb2R1 bGUvd2ViL2h0dHAuc2NtIHwgICAxMCArKysrKysrKystCiAxIGZpbGVzIGNoYW5nZWQsIDkgaW5z ZXJ0aW9ucygrKSwgMSBkZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9tb2R1bGUvd2ViL2h0dHAu c2NtIGIvbW9kdWxlL3dlYi9odHRwLnNjbQppbmRleCBhZmU3MGE3Li45YmI0NDQ5IDEwMDY0NAot LS0gYS9tb2R1bGUvd2ViL2h0dHAuc2NtCisrKyBiL21vZHVsZS93ZWIvaHR0cC5zY20KQEAgLTE1 MDYsNyArMTUwNiwxNSBAQCBwaHJhc2VcIi4iCiAKIDs7IEV4cGlyZXMgPSBIVFRQLWRhdGUKIDs7 Ci0oZGVjbGFyZS1kYXRlLWhlYWRlciEgIkV4cGlyZXMiKQorKGRlZmluZSAqZGF0ZS1pbi10aGUt cGFzdCogKHBhcnNlLWRhdGUgIlRodSwgMDEgSmFuIDE5NzAgMDA6MDA6MDAgR01UIikpCisKKyhk ZWNsYXJlLWhlYWRlciEgIkV4cGlyZXMiCisgIChsYW1iZGEgKHN0cikKKyAgICAoaWYgKG1lbWJl ciBzdHIgJygiMCIgIi0xIikpCisgICAgICAgICpkYXRlLWluLXRoZS1wYXN0KgorICAgICAgICAo cGFyc2UtZGF0ZSBzdHIpKSkKKyAgZGF0ZT8KKyAgd3JpdGUtZGF0ZSkKIAogOzsgTGFzdC1Nb2Rp ZmllZCA9IEhUVFAtZGF0ZQogOzsKLS0gCjEuNy41LjQKCg== --e89a8f234aad65f89104b514d2af-- From MAILER-DAEMON Wed Dec 28 03:58:09 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RfpKr-00006X-Er for mharc-guile-user@gnu.org; Wed, 28 Dec 2011 03:58:09 -0500 Received: from eggs.gnu.org ([140.186.70.92]:41694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rflc1-0004Yq-8p for guile-user@gnu.org; Tue, 27 Dec 2011 23:59:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rflc0-0000FC-IB for guile-user@gnu.org; Tue, 27 Dec 2011 23:59:37 -0500 Received: from nm35-vm6.bullet.mail.ne1.yahoo.com ([98.138.229.102]:25308) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Rflc0-0000F0-2t for guile-user@gnu.org; Tue, 27 Dec 2011 23:59:36 -0500 Received: from [98.138.90.55] by nm35.bullet.mail.ne1.yahoo.com with NNFMP; 28 Dec 2011 04:59:35 -0000 Received: from [98.138.87.7] by tm8.bullet.mail.ne1.yahoo.com with NNFMP; 28 Dec 2011 04:59:35 -0000 Received: from [127.0.0.1] by omp1007.mail.ne1.yahoo.com with NNFMP; 28 Dec 2011 04:59:35 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 128105.85936.bm@omp1007.mail.ne1.yahoo.com Received: (qmail 87773 invoked by uid 60001); 28 Dec 2011 04:59:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1325048374; bh=2HRNmM8wKflAHC2YD8wzAsvptKxiDQqXVPLUVornnRk=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=cC2oaXAXzdJSi5hoGeU1OUsCDDVAD73w9JPfwiJExOjugHPLSkRkdE+myxgwKaU/nVQM3bNZvZ5BsGDdsDMbKzwm0IXtv/uJU06ZQpX8ZuZp9w+tzyrf0lQoEAQvjMoM6FBziE81PNChuHSMrr0WDFczYnNmK0OQplGsTkrxk+s= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=KKKzznOsFr9/KzLhrDSWXghhUzI9BIhEXc35tqa14ckPb1vL8jjF5L00mGYkDGsvGiLw3GfE3MSJvEx5T1FGRNnYRnMeajnbH3gWSQZ9Z32C8mwlHWyVx5ChRGyBRang6jRtLgVAru5Bmef3jRk5dfhCFLfxtJMMpbb65BM+elQ=; X-YMail-OSG: F8XzbqwVM1kx.PwaifNXrFOF3vGIe3TT0rd4TbjHfeJOmwI 2TWcvtJRvjFZlXCLhXunerXWn6uIuZQTMcRB1NlB9vXjRAHiLCIqBIaxyQZc kp7oTPZBHHce6vSjxvIkJuaAFJswJRFrJT3EXxXrSVnV6D20KXylCQaMougg 8ukANilsAfs9w_i77UtqTgzueaoLUac8PoMziEIE5NdXzir4sc9Mcw3GnHbf UKx7jYnpN1jwgDBGRfkbWKoCEwmusxz1nGJ8CpKfuKnHjvCkFxtrvmEl3GaI SfbnBNmVlb_JeZeXPuRMJdqv8.fqa3RjiIGy7UR9_huCiyYHxB8QDXzwH0xn .1H3FDFjEiTkv_qiE44iQ3jAUEFCMNScdNdcM.SB5fckfzUhmyeRqXDP57Xe ETCf8ul8bpxQNa28C7B3_oTde5wg98png80hvnmNEYOrlkQ.FtMlUpVismUy suqmbs7DQmDtVfyRiCgy.4g-- Received: from [71.130.209.185] by web37903.mail.mud.yahoo.com via HTTP; Tue, 27 Dec 2011 20:59:34 PST X-Mailer: YahooMailWebService/0.8.115.331698 References: <1322690970.58961.YahooMailNeo@web37905.mail.mud.yahoo.com> <87obvnhrja.fsf@gnu.org> Message-ID: <1325048374.74674.YahooMailNeo@web37903.mail.mud.yahoo.com> Date: Tue, 27 Dec 2011 20:59:34 -0800 (PST) From: Mike Gran Subject: Re: Guile on Zile, module questions To: =?iso-8859-1?Q?Ludovic_Court=E8s?= , "guile-user@gnu.org" In-Reply-To: <87obvnhrja.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 98.138.229.102 X-Mailman-Approved-At: Wed, 28 Dec 2011 03:58:06 -0500 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Mike Gran List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 04:59:38 -0000 =A0=0A> From: Ludovic Court=E8s ludo@gnu.org=0A=A0=0A> =0A> This sounds gre= at!=A0 Another competitor for Gano and Guile-Emacs!=A0 ;-)=0A=0ALOL. Gano. = Gano lead to a fairly complete ECMA-48 soft term library, which=0Awas the = fun part. But building the state machine got boring. So =0AGano is dead. = Long live Gano.=0AI could post the ECMA-48 soft term library, I guess, but= , I imagine=0Athe potential number of users of such a library to be approxi= mately zero.=0A=0A-Mike From MAILER-DAEMON Wed Dec 28 03:58:09 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RfpKr-00005m-9Q for mharc-guile-user@gnu.org; Wed, 28 Dec 2011 03:58:09 -0500 Received: from eggs.gnu.org ([140.186.70.92]:57954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RflaQ-0004VA-L9 for guile-user@gnu.org; Tue, 27 Dec 2011 23:57:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RflaP-0008AT-Kt for guile-user@gnu.org; Tue, 27 Dec 2011 23:57:58 -0500 Received: from nm5.bullet.mail.sp2.yahoo.com ([98.139.91.75]:45450) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RflaP-0008AI-84 for guile-user@gnu.org; Tue, 27 Dec 2011 23:57:57 -0500 Received: from [98.139.91.65] by nm5.bullet.mail.sp2.yahoo.com with NNFMP; 28 Dec 2011 04:57:56 -0000 Received: from [72.30.22.203] by tm5.bullet.mail.sp2.yahoo.com with NNFMP; 28 Dec 2011 04:57:56 -0000 Received: from [127.0.0.1] by omp1065.mail.sp2.yahoo.com with NNFMP; 28 Dec 2011 04:57:56 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 112792.51719.bm@omp1065.mail.sp2.yahoo.com Received: (qmail 86742 invoked by uid 60001); 28 Dec 2011 04:57:55 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1325048275; bh=eeeIJ3x9sTO4A9ZUyjSrsdrgB7wJg3F5m4ohZmcI1UM=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=LtCkmOG43jQKwtz1AW/H3LImS6yOhZWv3Q8hZmGKukLsr2quBJHmoLhAkzlIgJaOT44otYKlM0M4iqtK5IPBen5kxp/AbVVMUtu0YJVWF0hsMPt3qJ2uqW+y4PhW149G8s4Xcsbxdwp2YTusb9ppfopM14A7lAkwTHVlgl5gpB0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=LUJRu72Wf8ALSWlVgq4TLgHwT5zxBfUP1i0vLeS0AssEmplO+SH7gsxkoHR749XFhxvCI5LI3QIyvViQ+r+A5I3j5vaQRldmpkGVQV+FDIYZYIJf50jIA+mJUD55Pjm1YAZ0haI6xBmKBf0Ufe/t4MGbTFE0bdD5KnQQL/I1Ciw=; X-YMail-OSG: 0SdllqkVM1khabZXEiBEMoW4UoAR116Cx4i62Xruxk5iM.A n.isVXEi6SCgDS7oXCzDP2NQShIOizJD4FEOdIeweXC1JnuE11UgHVjhS8Ns I0c.6jeiS9JI6Tg7DIlN.2sF6eM05764knb_JzSu5q4g3C4Wii62U_1IIsp8 u4_p6kfDF__JOklX9njfZu5E8ESVfbZAp2J7vKK6RRF6hbzQMPCxzHVY.By7 IYT.Hllw7F7FN2_i4ntzXT6jwVV6iH7tY_PUl0Csr1zRAMNhw_0WOoeESIsX 67FEDme7_OYg_6ys2rO2kAuPuJtMVc_.nLmwofnPqZCGDwHQ2jLGYSMaFSJp LVYUa6IJMihxpg5AWmaZ5ZI2QRUQIjtuGiO3bh0o_CGndbhve12GdzQn_uZ1 ZiZLb.Qm.3Opz_V_mj78m1f2RUlNbESC3El2hA8_qwTqmWk4oJSMrHFkomM3 zWIxtOnBDxbs39Bco1pSJ2XWE0lLEstlKg4_S4CA8zx263EPJGh16uNZRl5o XlRTqUxcibK98_We8Cgk3upJbNYKgN25t0Q-- Received: from [71.130.209.185] by web37903.mail.mud.yahoo.com via HTTP; Tue, 27 Dec 2011 20:57:55 PST X-Mailer: YahooMailWebService/0.8.115.331698 References: <1322690970.58961.YahooMailNeo@web37905.mail.mud.yahoo.com> <87obvnhrja.fsf@gnu.org> Message-ID: <1325048275.82363.YahooMailNeo@web37903.mail.mud.yahoo.com> Date: Tue, 27 Dec 2011 20:57:55 -0800 (PST) From: Mike Gran Subject: Re: Guile on Zile, module questions To: =?utf-8?B?THVkb3ZpYyBDb3VydMOocw==?= , "guile-user@gnu.org" In-Reply-To: <87obvnhrja.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 98.139.91.75 X-Mailman-Approved-At: Wed, 28 Dec 2011 03:58:06 -0500 Cc: "help-zile@gnu.org" X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Mike Gran List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 04:57:59 -0000 > Hi Mike!=0A> =0A>> Over the USA holiday I started looking at the last C = version of=0A>> Zile, which has its own toy Lisp interpreter.=C2=A0 (Zile = also=0A>> comes in a new Lua version!)=C2=A0 I looks like it would be simp= le to=0A>> strip out that Zile Lisp and replace it with Guile Scheme. =0A>= > But I don't think anyone has tried it.=0A> =0A> This sounds great!=C2=A0= Another competitor for Gano and Guile-Emacs!=C2=A0 ;-)=0A> =0A> Where=E2= =80=99s the source?=C2=A0 :-)=0A=0AI have a somewhat complete version at=0A= https://github.com/spk121/zile=0A=C2=A0=0AThere's a few regressions, and so= me problems with self-documentation,=0Aand the build it still fragile, but,= it basically works.=0A=C2=A0=0A-Mike From MAILER-DAEMON Wed Dec 28 11:27:23 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RfwLb-00041P-CT for mharc-guile-user@gnu.org; Wed, 28 Dec 2011 11:27:23 -0500 Received: from eggs.gnu.org ([140.186.70.92]:34336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RfwLU-00041J-UL for guile-user@gnu.org; Wed, 28 Dec 2011 11:27:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RfwLT-00021V-QE for guile-user@gnu.org; Wed, 28 Dec 2011 11:27:16 -0500 Received: from nm17-vm0.bullet.mail.ac4.yahoo.com ([98.139.53.208]:37416) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RfwLT-00020z-Io for guile-user@gnu.org; Wed, 28 Dec 2011 11:27:15 -0500 Received: from [98.139.52.196] by nm17.bullet.mail.ac4.yahoo.com with NNFMP; 28 Dec 2011 16:27:15 -0000 Received: from [98.139.52.140] by tm9.bullet.mail.ac4.yahoo.com with NNFMP; 28 Dec 2011 16:27:15 -0000 Received: from [127.0.0.1] by omp1023.mail.ac4.yahoo.com with NNFMP; 28 Dec 2011 16:27:15 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 132970.8576.bm@omp1023.mail.ac4.yahoo.com Received: (qmail 26578 invoked by uid 60001); 28 Dec 2011 16:27:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1325089634; bh=WpAA5OZ+qafsCBpXmstqtAbD+hiv8dC7Vw5922U+zt8=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=V4FVTuZQr33Cgdkn52ePjdZB7h6c4fKnvzxIZD8fTV3+CNqLLGhFd8X+VSyicwunOeBbw6T0V6C09cM7WO4h9+crZSrStyKbVex5e/jA5PxQUEYPayCjzU49nYRmuHA6G3aIUcBhM2JDDRVD2y/lcK7bupv9P1plKFKYoQihrGY= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding; b=2FywOjgy2QEROPvmAyR9TmPrHkusLA7kbMTXlVNmxjh95RlqyREfdqpZ4TxwGpAjJYEt9vOOrThUChyNw7oAJveWwDa2Vbm3H55t7/B+fQEzZ0znmzW3KR0XRfhGY44NBNwzqHOKZ98hD5EJ4gvMuSdbEovuDj5L/KbQO4IdPHQ=; X-YMail-OSG: WSUJWB8VM1kEk2k6NWhFgUkxGnai_E7PhrTmzvCrn9mo8p6 PmJLRVWxMuxD1IEJ3dUyL1JNnwgo.xfxZs_HnGYshQ9Zz76TBqOAabqLIkUw y1eK6m9XAWnOwT57Q5fxK.xZkq7qudUU6aBmzmObVTFEMdwb4hV1WrpjQm.X O9KxPohQ48ZJhEVesWEdEQoF.XD4WBfOPFUBFjLI2KrbQ8BIHn32WtlFy.C9 PeUYFVj7rd1A_vgUzZrD2FiIUytGQdcO0xYtjBkaOkCrFVjofV8hK5D_KEFx JhLyD3YarSv9avEbEJPPQYlagnNiuRYgoxtfCDjfLAvis4qoyoHmpERUpCmV VrEczbMk3FOWazKTglrulubNuaU9hYsDk_3yDcoq67Mot0EuodSbAEgzmDft kub7Gj7kQVGjF6pWLER1FVfMAOONqs0WqvyHDMmgsx3qxTosV8TwMQdr.L0c - Received: from [71.130.209.185] by web37901.mail.mud.yahoo.com via HTTP; Wed, 28 Dec 2011 08:27:14 PST X-Mailer: YahooMailWebService/0.8.115.331698 References: <1322690970.58961.YahooMailNeo@web37905.mail.mud.yahoo.com> <87obvnhrja.fsf@gnu.org> <1325048374.74674.YahooMailNeo@web37903.mail.mud.yahoo.com> <20111228.120605.124830630.schilling.klaus@web.de> Message-ID: <1325089634.26493.YahooMailNeo@web37901.mail.mud.yahoo.com> Date: Wed, 28 Dec 2011 08:27:14 -0800 (PST) From: Mike Gran Subject: Re: Guile on Zile To: Klaus Schilling MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 98.139.53.208 Cc: Guile User X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Mike Gran List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 16:27:22 -0000 > From: Klaus Schilling =0A> =0A>>=A0 I could post = the ECMA-48 soft term library, I guess, but, I imagine=0A>>=A0 the potentia= l number of users of such a library to be approximately zero.=0A>> =0A> wha= t is an ecma-48 soft term library?=0A=0AIt is an object that=A0contains a= =A0sequential list of=A0fixed-width strings=0Aand a position of a virtual c= ursor in that list of strings.=0AA set of operations modify the object, suc= h as 'add character'=0A'insert line' 'delete line', etc.=A0 If you choose, = for example, 25=0Astrings of 80 characters width, it could form the softwar= e model=0Abehind a terminal emulator.=0A=0AThe list of operations are as de= scribed in ECMA-48, which is the standard=0Aon which=A0terminal emulators l= ike xterm are based.=A0=0A=0AThanks,=0A=0AMike From MAILER-DAEMON Thu Dec 29 00:16:08 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rg8LY-0008BH-Ra for mharc-guile-user@gnu.org; Thu, 29 Dec 2011 00:16:08 -0500 Received: from eggs.gnu.org ([140.186.70.92]:35805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RfqwO-0002Gr-Sv for guile-user@gnu.org; Wed, 28 Dec 2011 05:41:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RfqwN-0000oL-S4 for guile-user@gnu.org; Wed, 28 Dec 2011 05:41:00 -0500 Received: from fmmailgate02.web.de ([217.72.192.227]:36406) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RfqwN-0000oE-NC; Wed, 28 Dec 2011 05:40:59 -0500 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate02.web.de (Postfix) with ESMTP id 2506D1BE76DBA; Wed, 28 Dec 2011 11:40:58 +0100 (CET) Received: from localhost ([188.195.211.39]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0M3Slc-1QoqoT3MdE-00rK2L; Wed, 28 Dec 2011 11:40:58 +0100 Date: Wed, 28 Dec 2011 12:06:05 +0100 (CET) Message-Id: <20111228.120605.124830630.schilling.klaus@web.de> To: spk121@yahoo.com Subject: Re: Guile on Zile, module questions From: Klaus Schilling In-Reply-To: <1325048374.74674.YahooMailNeo@web37903.mail.mud.yahoo.com> References: <1322690970.58961.YahooMailNeo@web37905.mail.mud.yahoo.com> <87obvnhrja.fsf@gnu.org> <1325048374.74674.YahooMailNeo@web37903.mail.mud.yahoo.com> X-Mailer: Mew version 3.3 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:S+6lQghPiqBzErJqDWn4vxjD2WgtmyMQLF1QepmEOai NUwOhWmY7ay+4phSIqmxECHKyHAUV2kT5HDJErGOo0nNjd6Syu Ta3YgfxuMoH1UDQD3CAmPQ08DxhTdadWxWqE3IKldEaiLS/Iiw Q0ibRwlvKjK1Ws2Y83zklEonyzjG2/9JAPNbVnh5vxqv10zwvh BxaVF9JC8PPBwhKEFo4Jw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.227 X-Mailman-Approved-At: Thu, 29 Dec 2011 00:16:07 -0500 Cc: ludo@gnu.org, guile-user@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Dec 2011 10:41:01 -0000 From: Mike Gran Subject: Re: Guile on Zile, module questions Date: Tue, 27 Dec 2011 20:59:34 -0800 (PST) > I could post the ECMA-48 soft term library, I guess, but, I imagine > the potential number of users of such a library to be approximately zero. > what is an ecma-48 soft term library? Klaus Schilling From MAILER-DAEMON Fri Dec 30 17:58:53 2011 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RglPZ-0003eq-Pj for mharc-guile-user@gnu.org; Fri, 30 Dec 2011 17:58:53 -0500 Received: from eggs.gnu.org ([140.186.70.92]:42068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RglPV-0003c3-Vr for guile-user@gnu.org; Fri, 30 Dec 2011 17:58:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RglPU-0005eZ-JW for guile-user@gnu.org; Fri, 30 Dec 2011 17:58:49 -0500 Received: from mail-qy0-f169.google.com ([209.85.216.169]:57287) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RglPU-0005eV-Cv for guile-user@gnu.org; Fri, 30 Dec 2011 17:58:48 -0500 Received: by qcsd17 with SMTP id d17so9771124qcs.0 for ; Fri, 30 Dec 2011 14:58:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=r8LkMcifQPR0SOUSHcFFaChgI7TyoQqAjIltNSk++wc=; b=ZRRnk1LKoUAqJebqQEr+3N7Rvy8GoBkRY+a+hrTO2ROgwr9yp68IKLUaln1lR0247z na3t7W7J8sH1jgXGmnKQqmHl+6+ZDqEn7xClM8IUSZtUDpEEmsK6IjHUX5+2b6lqrB3D 2+dsQUZS2P5wqZqLuYzx0HefajRdI2iBC82UM= MIME-Version: 1.0 Received: by 10.229.75.141 with SMTP id y13mr14804955qcj.135.1325285927629; Fri, 30 Dec 2011 14:58:47 -0800 (PST) Received: by 10.229.119.134 with HTTP; Fri, 30 Dec 2011 14:58:47 -0800 (PST) Date: Fri, 30 Dec 2011 23:58:47 +0100 Message-ID: Subject: salutations and web scraping From: Catonano To: guile-user@gnu.org Content-Type: multipart/alternative; boundary=00235429cb34f131be04b5572c6a X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.216.169 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Dec 2011 22:58:51 -0000 --00235429cb34f131be04b5572c6a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello people, Happy New Year. I=B4m a beginner, I never wrote a single line of LISP or Scheme in my life and I=B4m here for asking for directions and suggestions. I=B4m mumbling about a pet project. I would like to scrape the web site of = a comunitarian radio station and grab the flash streamed content they publish. The license the material is published under is Creative Common so what I=B4m planning is not illegal. The reason why they chose such an obtuse solution is because they are obtuse. They started the station in the 70s and now they don=B4t get this digital new thing I read the web stuff. The client chapter suggests to adopt an architecture similar to that of the server for parallel scrapers and closes flashing the idea of threads and futures. I don=B4t see how I could use threads or futures (I=B4m not even sure what = they are) and my boldness is such that I=B4d ask you to write for me an example skeleton code. Also I was thinking to write a scraper in Guile scheme and then such scraper would parse the html source for te relevant bits and then delegate the flash stuff to a unix command, I think wget, curl or something similar. Is this reasonable ? Is there any architectural glitch I=B4m missing, here = ? Don=B4t worry people, I know that the server setup and the internet connection is not so strong and I don=B4t want to be server hostile so I guess a maximum of 2 parallel connections are gonna run. Or, I was dreaming I could try to integrate the thing with the Gnome enviroinment and make it available from the Gnome Shell javascript. So the people in the community could use it to grab the footages themselves. I don=B4t know Thanks so much for ANY hint Cato --00235429cb34f131be04b5572c6a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello people,

Happy New Year.

I=B4m a beginner, I never wrote= a single line of LISP or Scheme in my life and I=B4m here for asking for d= irections and suggestions.

I=B4m mumbling about a pet project. I wou= ld like to scrape the web site of a comunitarian radio station and grab the= flash streamed content they publish. The license the material is published= under is Creative Common=A0 so what I=B4m planning is not illegal.

The reason why they chose such an obtuse solution is because they are o= btuse. They started the station in the 70s and now they don=B4t get this di= gital new thing

I read the web stuff. The client chapter suggests to= adopt an architecture similar to that of the server for parallel scrapers = and closes flashing the idea of threads and futures.

I don=B4t see how I could use threads or futures (I=B4m not even sure w= hat they are) and my boldness is such that I=B4d ask you to write for me an= example skeleton code.

Also I was thinking to write a scraper in Gu= ile scheme and then such scraper would parse the html source for te relevan= t bits and then delegate the flash stuff to a unix command, I think wget, c= url or something similar. Is this reasonable ? Is there any architectural g= litch I=B4m missing, here ?

Don=B4t worry people, I know that the server setup and the internet con= nection is not so strong and I don=B4t want to be server hostile so I guess= a maximum of 2 parallel connections are gonna run.

Or, I was dream= ing I could try to integrate the thing with the Gnome enviroinment and make= it available from the Gnome Shell javascript. So the people in the communi= ty could use it to grab the footages themselves. I don=B4t know

Thanks so much for ANY hint
Cato
--00235429cb34f131be04b5572c6a--