guile HEAD test suite erroneously parses ~/.guile

2007-08-04 Thread Andy Wingo
Running make check in guile built from HEAD: Backtrace: In /home/wingo/.guile: 6: 0* (use-modules (texinfo reflection)) 6: 1 (eval-case (# # *unspecified*) (else #)) 6: 2 (begin (process-use-modules (list (list #))) *unspecified*) In unknown file: ?: 3* [process-use-modules

duplicates handlers warnings should go to stderr, not stdout

2007-09-01 Thread Andy Wingo
Currently warnings about duplicates, etc are printed to the current output port, whereas they should go to the error port. Index: ice-9/boot-9.scm === RCS file: /cvsroot/guile/guile/guile-core/ice-9/boot-9.scm,v retrieving revision

Re: bug in read?

2007-09-23 Thread Andy Wingo
Hi, Since it's a week later now and no one's answered: On Mon 17 Sep 2007 23:49, Luigi Semenzato [EMAIL PROTECTED] writes: Is this a reader bug? Hash marks following an integer are interpreted as zeros, and the number is converted to real. guile (read) 44### 44000.0 guile If this is

quasiquote badness

2008-10-02 Thread Andy Wingo
While diagnosing a problem in the vm branch, I found this in master: guile `,@x (unquote-splicing x) This should throw an error. Andy -- http://wingolog.org/

Re: and-map and or-map not documented in the manual

2008-10-08 Thread Andy Wingo
Hey Gregory, On Wed 08 Oct 2008 18:19, Gregory Marton [EMAIL PROTECTED] writes: Hi Folks, A colleague just noticed that and-map and or-map, defined in boot-9.scm with some helpful comments above them, are not actually documented in the Guile Manual. How might I go about adding them? Good

Re: and-map and or-map not documented in the manual

2008-10-10 Thread Andy Wingo
Hi Gregory, On Thu 09 Oct 2008 18:22, Gregory Marton [EMAIL PROTECTED] writes: I would prefer to document them, because it's less work, and because the pointer into srfi-1 would help new users find other tools they might need. Can I be helpful in making that happen? I apologize for

Re: Does anyone actually use threads with guile?

2008-11-13 Thread Andy Wingo
Hi Linas, [cc'ing them all, but followups to just one please -- bug-guile is probably best] For my part I apologize for not having the cycles to poke this more thoroughly. Fortunately you are a good programmer and can figure things out :) History: pthread support was new with 1.8, as you

Re: [PATCH]: deadlock in make_struct()

2008-11-18 Thread Andy Wingo
Hi Linas, I was about to write about how your patch looked incorrect to me, because GC could see a half-initialized struct (and potentially sweep it, with a bad free function); but I just looked back and back into the history, and could not find why the critical section was there. It has been

Re: quasiquote badness

2008-12-04 Thread Andy Wingo
Hi, On Tue 02 Dec 2008 19:56, [EMAIL PROTECTED] (Ludovic Courtès) writes: Andy Wingo [EMAIL PROTECTED] writes: While diagnosing a problem in the vm branch, I found this in master: guile `,@x (unquote-splicing x) This should throw an error. I think I agree, but interestingly

Re: Conflict with HDF5 libraries

2009-03-22 Thread Andy Wingo
On Sat 21 Mar 2009 17:14, l...@gnu.org (Ludovic Courtès) writes: Mark Patterson mpatter...@physics.queensu.ca writes: typedef long long long_long; I suggest that we leave it in the 1.8 series for compatibility and remove it altogether in the next stable series. Opinions? Sounds good to

Re: CFLAGS=-m64 needed for gmp with MacOS

2009-04-15 Thread Andy Wingo
On Sun 12 Apr 2009 19:12, John Rehwinkel jreh...@mac.com writes: Since gmp is built as a 64-bit library, the gmp test in configure fails on MacOS with an architecture mismatch with libgmp.dylib. Adding CFLAGS=-m64 to the ./configure command fixes this. I don't know if it's worth

Re: manual correction

2009-04-17 Thread Andy Wingo
On Thu 16 Apr 2009 14:39, john jptmo...@gmail.com writes: Hi in http://www.gnu.org/software/guile/manual/guile.html#Autoconf-Macros GUILE_LDFLAGS -- GUILE_LIBS I know I was the one that told you to do this ;-) But I think I was wrong. Are you using GUILE_FLAGS from guile.m4, or are you using

Re: Segfault when running fibc benchmark in current trunk

2009-04-17 Thread Andy Wingo
Hi Juhani, On Fri 17 Apr 2009 02:37, Juhani Rantanen mi...@aj-group.net writes: I noticed that vm is now in the trunk, so I decided to run some benchmarks to test it for robustness. While doing this, I found a problem that seems to be related to continuations, although guile crashes in gc.

Re: Segfault when running fibc benchmark in current trunk

2009-04-22 Thread Andy Wingo
Hi Juhani! On Wed 22 Apr 2009 21:29, Juhani Rantanen mi...@aj-group.net writes: I look forward to the next bug report :) Here are some more files that don't need the benchmark suite to run. I also ran all of the tests with Gambit and there wasn't any errors. Testing maze under Guile-r5rs

Re: Serious performance issues with 1.9.0

2009-07-19 Thread Andy Wingo
Hello, On Sun 19 Jul 2009 15:56, Martin Ward mar...@gkc.org.uk writes: On Friday 17 Jul 2009 19:10, Ludovic Courtès wrote: You can work around it by manually compiling your source files:   guile-tools compile -o ALL.go ALL.scm   ... The compiled version can then be run with something

Re: Serious performance issues with 1.9.0

2009-07-24 Thread Andy Wingo
On Mon 20 Jul 2009 14:48, Martin Ward mar...@gkc.org.uk writes: On Sunday 19 Jul 2009 23:03, Andy Wingo wrote: Discussed here:   http://article.gmane.org/gmane.lisp.guile.devel/8882 I'm working on a fix, hopefully within a couple of days. Great! Let me know when it is ready, and I'll put

Re: Serious performance issues with 1.9.0

2009-07-26 Thread Andy Wingo
Hi Martin, On Fri 17 Jul 2009 19:27, Martin Ward mar...@gkc.org.uk writes: Now here's something totally wierd with Guile 1.8.7: echo '(load ALL.scm)(load prog_to_spec_TEST.scx)(exit)' | /usr/bin/time guile takes 139 seconds CPU time. /usr/bin/time guile -l ALL.scm -s

[bug #27168] Strange reader bug (string-number)

2009-08-04 Thread Andy Wingo
Update of bug #27168 (project guile): Status:None = Fixed Open/Closed:Open = Closed ___ Follow-up Comment #1: Fixed in master and

Re: guile dlopen problems on Mac OS X

2009-08-04 Thread Andy Wingo
Hi Ken, On Tue 04 Aug 2009 11:26, Ken Raeburn raeb...@raeburn.org writes: After installing 1.9.1 on Mac OS X (10.5.7), and updating $PATH to point to the installation 'bin' directory: % guile-tools compile -o ack.go ack.scm ERROR: In procedure dynamic-link: ERROR: file:

Re: Strange reader bug (string-number)

2009-08-04 Thread Andy Wingo
, and backported to 1.8. Thanks for the report! commit ee0ddd21211757664092eaec631c4c76f4aae74f Author: Andy Wingo wi...@pobox.com Date: Tue Aug 4 20:29:09 2009 +0200 fix buffer overrun reading partial numbers: 1.0f, 1.0/, and 1.0+ * libguile/numbers.c (mem2decimal_from_point, mem2ureal

Re: can't configure --with-libgmp-prefix; header search order

2009-08-04 Thread Andy Wingo
On Tue 04 Aug 2009 11:26, Ken Raeburn raeb...@raeburn.org writes: First, a minor nit: % ./configure --help | head -1 `configure' configures guile 1.9.0 to adapt to many kinds of systems. % ./configure --version | head -1 guile configure 1.9.0 % But I downloaded 1.9.1, not 1.9.0; the

Re: guile 1.9.1 crash trying to profile code

2009-08-04 Thread Andy Wingo
On Tue 04 Aug 2009 11:26, Ken Raeburn raeb...@raeburn.org writes: % guile Guile Scheme interpreter 0.5 on Guile 1.9.1 Copyright (C) 2001-2008 Free Software Foundation, Inc. Enter `,help' for help. scheme@(guile-user) ,pr (cons 1 2) Backtrace: Hasn't ever worked, I'm afraid. But perhaps

Re: Serious performance issues with 1.9.0

2009-08-11 Thread Andy Wingo
Hi, On Sun 26 Jul 2009 14:01, Andy Wingo wi...@pobox.com writes: On Fri 17 Jul 2009 19:27, Martin Ward mar...@gkc.org.uk writes: Testing prog_to_spec_TEST.scx: Guile 1.9.1: 260.9 secs Guile 1.8.7: 135.9 secs Gambit v4.4.4:88.3 secs SCM version 5e5: 29.4 secs Hobbit compiled

Re: missing gnulib modules

2009-09-03 Thread Andy Wingo
On Wed 02 Sep 2009 15:11, l...@gnu.org (Ludovic Courtès) writes: ac_cv_libunistring='no, consider installing GNU libunistring' We need to fix `configure' so that it throws an error in this case. I guess we need to pull in the configure.ac patch from 1ee2c72eafaae5f91f4c899bc4b4853af5c16f28

Re: Guile 1.9: bug in load

2009-11-16 Thread Andy Wingo
Hi Luca :-) On Fri 13 Nov 2009 21:24, Luca Saiu posit...@gnu.org writes: load should call canonicalize-path relative to the directory of the file which loads the other one, not relative to `pwd`. Has this changed since 1.8? AFAIK no -- but do correct me if I'm wrong -- and so for that reason,

Re: Guile 1.9: bug in load

2009-11-18 Thread Andy Wingo
Hi Thien-Thi, On Wed 18 Nov 2009 06:16, Thien-Thi Nguyen t...@gnuvola.org writes: () Andy Wingo wi...@pobox.com () Mon, 16 Nov 2009 20:23:07 +0100 However the use case is important. We need to implement a (current-file) macro, I think, which should allow for file-relative loads

Re: 1.9.5 alpha does not install ice-9/quasisyntax.scm

2009-12-10 Thread Andy Wingo
On Wed 09 Dec 2009 16:08, Mike Gran spk...@yahoo.com writes: It looks like 1.9.5 alpha fails to install a file required by boot-9: quasisyntax.scm. It should be compiled into boot-9.go. Perhaps you are tweaking your boot-9.scm after installation? In any case I think I have fixed the bug.

Re: guile 1.9.1 crash trying to profile code

2009-12-21 Thread Andy Wingo
On Tue 04 Aug 2009 11:26, Ken Raeburn raeb...@raeburn.org writes: % guile Guile Scheme interpreter 0.5 on Guile 1.9.1 Copyright (C) 2001-2008 Free Software Foundation, Inc. Enter `,help' for help. scheme@(guile-user) ,pr (cons 1 2) wi...@unquote:~/src/guile$ meta/guile Guile Scheme

[bug #28440] uniform-vector-list crashes guile

2010-01-03 Thread Andy Wingo
Update of bug #28440 (project guile): Open/Closed:Open = Closed ___ Follow-up Comment #1: Fixed in master. Thanks for the report!

[bug #28442] Compiler not seeing module define in load-extension

2010-01-03 Thread Andy Wingo
Update of bug #28442 (project guile): Status:None = Invalid Open/Closed:Open = Closed ___ Follow-up Comment #2: See discussion in

Re: 0e as identifier

2010-01-03 Thread Andy Wingo
Hi Bill, On Sat 02 Jan 2010 13:45, Bill Schottstaedt b...@ccrma.stanford.edu writes: I believe r5rs says an identifier can't start with a digit, but guile allows it to What R5RS says is this: The precise rules for forming identifiers vary among implementations of Scheme, but in all

Re: UTF-8 regression in guile 1.9.5

2010-01-09 Thread Andy Wingo
Hi, Reviving an old thread... On Fri 11 Dec 2009 16:05, Mike Gran spk...@yahoo.com writes: On Sun 06 Dec 2009 21:43, Linas Vepstas writes: 2009/12/6 Mike Gran : need to call (setlocale LC_ALL ) But for Guile to store characters as codepoints, declaring a locale pretty much a

Re: [PATCH] Declare `GC_dump' ourselves if gc/gc.h doesn't.

2010-01-09 Thread Andy Wingo
On Sat 09 Jan 2010 14:28, Thien-Thi Nguyen t...@gnuvola.org writes: +# `GC_dump' is available in GC 6.8 but not declared. Neil, you also compile with pre-7.x, no? Do we need to support this? Just wondering if it wouldn't be easier to simply require 7.x without workarounds. It seems debian is

Re: [PATCH] Declare `GC_dump' ourselves if gc/gc.h doesn't.

2010-01-12 Thread Andy Wingo
Hi, On Mon 11 Jan 2010 23:09, l...@gnu.org (Ludovic Courtès) writes: Andy Wingo wi...@pobox.com writes: On Sat 09 Jan 2010 14:28, Thien-Thi Nguyen t...@gnuvola.org writes: +# `GC_dump' is available in GC 6.8 but not declared. Neil, you also compile with pre-7.x, no? Do we need to support

Re: [PATCH] Declare `GC_dump' ourselves if gc/gc.h doesn't.

2010-01-12 Thread Andy Wingo
Hello, On Tue 12 Jan 2010 19:51, Thien-Thi Nguyen t...@gnuvola.org writes: There IS something you can do: take a stand against pkg-config and DTRT (the Autoconf Way). FWIW... I'm sympathetic to your desire to compile against 6.8, but once 7.x is more widely distributed, I think it's a win to

Re: [PATCH] Update configure script hints wrt precious env vars.

2010-01-13 Thread Andy Wingo
On Wed 13 Jan 2010 09:19, Thien-Thi Nguyen t...@gnuvola.org writes: From eb2713038b601abd59fdf377847510f27fd17e83 Mon Sep 17 00:00:00 2001 From: Thien-Thi Nguyen t...@gnuvola.org Date: Sat, 9 Jan 2010 10:07:48 +0100 Subject: [PATCH] Update configure script hints wrt precious env vars. *

Re: Mac OS X .dylib

2010-01-30 Thread Andy Wingo
Hello Hans, On Sat 30 Jan 2010 15:41, Hans Aberg hab...@math.su.se writes: It seems guile-1.8.7 does not admit dynamic library file name extensions .dylib, but only .so, on Mac OS X (tried 10.5.8. PPC G4) I think your example shold work, but it's something that's totally handled by libltdl.

Re: Error during compilation

2010-02-08 Thread Andy Wingo
Hi Štěpán, On Sun 07 Feb 2010 16:19, Štěpán Němec step...@gmail.com writes: On Sun, Feb 07, 2010 at 11:37:47AM +0100, Andy Wingo wrote: So, sorry for the noise, although the compilation failure without a decent error message still seems weird to me. Yes I don't understand that, there should

Re: slib with guile 1.9.7

2010-02-14 Thread Andy Wingo
Hi Aubrey, On Sat 13 Feb 2010 20:38, Aubrey Jaffer a...@alum.mit.edu writes: During the compilation there was a warning: ;;; WARNING: compilation of /usr/local/src/guile-1.9.7/meta/guile-tools failed: ;;; key misc-error, throw_args (dynamic-link file: ~S, message: ~S

Re: compiler bug in 1.9.9

2010-03-30 Thread Andy Wingo
On Tue 30 Mar 2010 17:02, Daniel Llorens del Río daniel.llor...@bluewin.ch writes: 0 (assoc-ref ((#variable-cache-cell key: f! . 1)) #2f64((0 1) (2 3))) This was actually a problem with the runtime, not the compiler: equal? on an array and a non-array bombed. Fixed, thanks! Andy --

Re: Weak Vectors Patch

2010-04-05 Thread Andy Wingo
On Mon 05 Apr 2010 19:03, l...@gnu.org (Ludovic Courtès) writes: For these last two things, we’d need to modify the ‘vector-ref’ and ‘vector-set’ instructions so that they do the right thing. The best solution would be to just call scm_c_vector_{ref,set_x} when SCM_I_WVECTP, so that the

Re: equality time test in source and object code check

2010-04-14 Thread Andy Wingo
On Wed 14 Apr 2010 21:40, stefan stefan.ta...@spray.se writes: I'm not certain if this is a Bug. But it looks like there is an equality test of times for the check if the object file is in sync with the source file. I could imagine that the rule that has to be obeyed is obj-code-file-time =

Re: Weak Vectors Patch

2010-04-18 Thread Andy Wingo
Hi, On Sat 17 Apr 2010 22:48, l...@gnu.org (Ludovic Courtès) writes: Clinton Ebadi clin...@unknownlamer.org writes: I talked to wingo, and he suggested that (equal? WEAK-VECTOR VECTOR) = #f; Hmm what’s the motivation? It seems more intuitive to me to have, e.g., (equal? (make-vector 3

Re: [bug #29860] Macro-generated macros get wrong module context [1.9.10]

2010-05-21 Thread Andy Wingo
On Tue 11 May 2010 22:29, Ludovic Courtès invalid.nore...@gnu.org writes: Wherever the macro generated by `make-the-macro' is expanded, it should look up `hello' in the context of (mm), but it does not: Wow, that's a nasty one. Will poke. Andy -- http://wingolog.org/

Re: [bug #29574] VM stack overflows aren't properly handled [1.9.10]

2010-05-21 Thread Andy Wingo
Hi Ludo, I've come up with the following hack: a small VM stack space is reserved and made available only upon stack overflow, so that `throw' can run to completion. (See attached patch.) The patch didn't come through the mail, and I'm in an internetless cafe, so I can't see it now -- but it

Re: [bug #29817] `define*' procedures get invalid source info [1.9.10]

2010-05-21 Thread Andy Wingo
On Fri 07 May 2010 11:48, Ludovic Courtès invalid.nore...@gnu.org writes: Summary: `define*' procedures get invalid source info Interesting bug! Added to my list. Should not be difficult to fix. Andy -- http://wingolog.org/

Re: [bug #29860] Macro-generated macros get wrong module context [1.9.10]

2010-05-22 Thread Andy Wingo
On Sat 22 May 2010 11:35, l...@gnu.org (Ludovic Courtès) writes: Wow, that's a nasty one. Will poke. Please assign it to you in the bug tracker. Yes, we’ll start using a bug tracker again! :-) Apparently we will, though I will not interact with it regularly ;-) Andy --

[bug #29817] `define*' procedures get invalid source info [1.9.10]

2010-06-05 Thread Andy Wingo
Update of bug #29817 (project guile): Status:None = Fixed Open/Closed:Open = Closed ___ Follow-up Comment #1: Source location with

[bug #29860] Macro-generated macros get wrong module context [1.9.10]

2010-06-06 Thread Andy Wingo
Update of bug #29860 (project guile): Status:None = Fixed Open/Closed:Open = Closed ___ Follow-up Comment #1: Fixed in git, thanks

[bug #25525] Segfault using goops

2010-06-07 Thread Andy Wingo
Follow-up Comment #4, bug #25525 (project guile): This bug is still present in git. ___ Reply to this item at: http://savannah.gnu.org/bugs/?25525 ___ Message sent via/by Savannah

Re: -0.0 treated as negative?

2010-06-07 Thread Andy Wingo
Hi Bill, On Mon 07 Jun 2010 16:00, Bill Schottstaedt b...@ccrma.stanford.edu writes: I just noticed a case where -0.0 is apparently negative: scheme@(guile-user) (/ 1.0 -0.0) -inf.0 scheme@(guile-user) (negative? -0.0) #f Interesting. R5RS seems to be mute on negative zeros. The

find-versioned-module bugs

2010-06-09 Thread Andy Wingo
Hi Julian, ~/src/guile$ meta/guile scheme@(guile-user) (find-versioned-module ice-9/ q '() %load-path ) $1 = /opt/guile/share/guile/2.0/ice-9//q.scm scheme@(guile-user) %load-path $2 = (/home/wingo/src/guile/guile-readline /home/wingo/src/guile /home/wingo/src/guile/module

Re: guile 1.8.7 static const char foo[] is incomplete type, rejected by some compilers

2010-06-09 Thread Andy Wingo
On Wed 09 Jun 2010 21:13, Jay K jay.kr...@cornell.edu writes: I will try ftp://alpha.gnu.org/gnu/guile/guile-1.9.11.tar.gz. Haven't managed to get it to find bdw-gc, despite building and installing it.. Usually this is a pkg-config problem. Where is bdw-gc.pc ? Where is pkg-config? What prefix

Re: isinf and type-pun warning/error on OSF guile 1.8.7

2010-06-09 Thread Andy Wingo
Hi Jay, On Wed 09 Jun 2010 17:43, Jay K jay.kr...@cornell.edu writes: libtool: compile:  gcc -DHAVE_CONFIG_H -I.. -I/home/jayk/src/guile-1.8.7 -I.. -mieee -mieee -D_REENTRANT -pthread -g -O2 -Wall -Wmissing-prototypes -Werror -MT libguile_la-numbers.lo -MD -MP -MF

Re: guile 1.8.7 static const char foo[] is incomplete type, rejected by some compilers

2010-06-10 Thread Andy Wingo
On Wed 09 Jun 2010 23:32, Jay K jay.kr...@cornell.edu writes: -prefix=$HOME Indeed, duh to me, there is no bdwcgc.pc. Just to be clear, that would be bdw-gc.pc. You would need to add $HOME/lib/pkgconfig to your $PKG_CONFIG_PATH. There is

Re: error building guile documentation

2010-06-10 Thread Andy Wingo
On Thu 10 Jun 2010 11:45, Jay K jay.kr...@cornell.edu writes: cat alist.doc arbiters.doc async.doc backtrace.doc boolean.doc chars.doc continuations.doc debug.doc deprecation.doc deprecated.doc discouraged.doc dynl.doc dynwind.doc environments.doc eq.doc error.doc eval.doc evalext.doc

Re: isinf and type-pun warning/error on OSF guile 1.8.7

2010-06-10 Thread Andy Wingo
On Thu 10 Jun 2010 11:27, Jay K jay.kr...@cornell.edu writes: http://www.gnu.org/software/hello/manual/autoconf/Function-Portability.html recommend wither gnulib or a little other workaround shown. Ah, we'll use gnulib then in master. For 1.8, I would recommend compiling without -Werror, on

Re: find-versioned-module bugs

2010-06-10 Thread Andy Wingo
On Thu 10 Jun 2010 06:25, Julian Graham jool...@gmail.com writes: As you see this function is preferring modules from the end of the %load-path. In addition it has adds an unnecessary /. Do you have time to fix it? :) Eep!  Sure, I'll try to take a look this evening. Fixed! See commit

[bug #29583] gcc 4.5 breaks guile 1.8.7

2010-06-10 Thread Andy Wingo
Update of bug #29583 (project guile): Status:None = Fixed Open/Closed:Open = Closed ___ Follow-up Comment #3: Fixed in git, thanks.

Re: find-versioned-module bugs

2010-06-10 Thread Andy Wingo
Hi Julian, On Thu 10 Jun 2010 16:02, Julian Graham jool...@gmail.com writes: wanting to load the most recent version of a library when multiple matches are available for a partially-specified version reference. So just because we've found, say, a module with version (6 1) that matches our

[bug #30117] Funky name for one of the root modules

2010-06-14 Thread Andy Wingo
Follow-up Comment #1, bug #30117 (project guile): From the NEWS: ** All modules have names now Before, you could have anonymous modules: modules without names. Now, because of hygiene and macros, all modules have names. If a module was created without a name, the first time `module-name' is

[bug #30116] (guile) introduces a cycle in the submodules subtree

2010-06-14 Thread Andy Wingo
Update of bug #30116 (project guile): Status:None = Wont Fix ___ Follow-up Comment #1: http://thread.gmane.org/gmane.lisp.guile.devel/10297/focus=10300 `app' and `%app' are there for

[bug #30116] (guile) introduces a cycle in the submodules subtree

2010-06-14 Thread Andy Wingo
Update of bug #30116 (project guile): Open/Closed:Open = Closed ___ Reply to this item at: http://savannah.gnu.org/bugs/?30116 ___

Re: find-versioned-module bugs

2010-06-14 Thread Andy Wingo
On Thu 10 Jun 2010 16:49, Andy Wingo wi...@pobox.com writes: In our case, my opinion is that we should change the rule to be, the first compatible version found in the path; though perhaps we should wait for confirmation from Ludovic. I was just looking at the current situation

Re: find-versioned-module bugs

2010-06-16 Thread Andy Wingo
On Wed 16 Jun 2010 01:12, l...@gnu.org (Ludovic Courtès) writes: Andy Wingo wi...@pobox.com writes: In our case, my opinion is that we should change the rule to be, the first compatible version found in the path; though perhaps we should wait for confirmation from Ludovic. I’m a bit lost

Re: find-versioned-module bugs

2010-06-18 Thread Andy Wingo
On Thu 17 Jun 2010 14:58, Julian Graham jool...@gmail.com writes: I don't know, all that code is tricky. How about having find-versioned-module return a tail instead of a full path, then pass that tail to primitive-load-path? It will cause some slight duplication of effort but it will find

Re: [bug #30170] Auto-compilation erroneously recompiles dependencies [1.9.11]

2010-06-18 Thread Andy Wingo
On Thu 17 Jun 2010 15:20, Ludovic Courtès invalid.nore...@gnu.org writes: $ guile -L . bar.scm ;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-autocompile argument to disable. ;;; compiling ./foo.scm ;;; compiled

Re: [bug #30169] Auto-compilation failure of a module doesn't lead to a failure [1.9.11]

2010-06-18 Thread Andy Wingo
Hello, On Thu 17 Jun 2010 15:06, Ludovic Courtès invalid.nore...@gnu.org writes: Guile should instead abort as soon as auto-compilation fails. Guile can fail autocompilation due to eval-when issues for syntax helpers. Do you want to make Guile fail in this case? Andy -- http://wingolog.org/

Re: [bug #30169] Auto-compilation failure of a module doesn't lead to a failure [1.9.11]

2010-06-18 Thread Andy Wingo
On Fri 18 Jun 2010 16:52, l...@gnu.org (Ludovic Courtès) writes: Andy Wingo wi...@pobox.com writes: On Thu 17 Jun 2010 15:06, Ludovic Courtès invalid.nore...@gnu.org writes: Guile should instead abort as soon as auto-compilation fails. Guile can fail autocompilation due to eval-when issues

Re: [bug #30170] Auto-compilation erroneously recompiles dependencies [1.9.11]

2010-06-18 Thread Andy Wingo
On Fri 18 Jun 2010 16:54, Ludovic Courtès invalid.nore...@gnu.org writes: Andy Is it because of .? What if you replaced . with `pwd` ? Indeed, that solves the problem: [...] Missing a `canonicalize-path'? It would seem so. Would you like to fix this? :-) Look in load.c:763. Andy --

[bug #30073] identifier-macros aren't set!-able

2010-06-19 Thread Andy Wingo
Update of bug #30073 (project guile): Status:None = Fixed Open/Closed:Open = Closed ___ Follow-up Comment #1: Fixed in git, though

[bug #30063] Mangled argument names returned by program-arguments-alist

2010-06-19 Thread Andy Wingo
Update of bug #30063 (project guile): Status:None = Fixed Open/Closed:Open = Closed ___ Follow-up Comment #1: This was only the

Re: [bug #30169] Auto-compilation failure of a module doesn't lead to a failure [1.9.11]

2010-06-20 Thread Andy Wingo
Hi, On Sun 20 Jun 2010 16:23, Ludovic Courtès invalid.nore...@gnu.org writes: So, you want Guile to fail faster for this error; how do you distinguish it from eval-when errors as above? Or would you prefer that eval-when errors lead to failures as well? Do you mean that, for programs

Re: [r6rs] #\x0 is a perfectly valid character datum representation

2010-06-21 Thread Andy Wingo
On Mon 21 Jun 2010 10:12, Marco Maggi marco.maggi-i...@poste.it writes: #\x0 Add (read-enable 'r6rs-hex-escapes) to your guile init file. Mike: is there a more sensible default than the one we have? Thanks, Andy -- http://wingolog.org/

Re: [r6rs] underscore is not a pattern variable and can appear any number of times

2010-06-21 Thread Andy Wingo
On Mon 21 Jun 2010 09:35, Marco Maggi marco.maggi-i...@poste.it writes: (syntax-case stx () ((_ _) Fixed in master, thanks for the report. It is an incompatible change in R6RS, but I think it's for the better. Ciao, A -- http://wingolog.org/

Re: [r6rs] probably bad syntax expansion

2010-06-21 Thread Andy Wingo
Hello, On Mon 21 Jun 2010 09:59, Marco Maggi marco.maggi-i...@poste.it writes: (define A function-using-macro-B) (define-syntax B ) (A) I have abbreviated your illuminating example. I don't really know what to think of it, except to say that for top-level programs Guile implements REPL

[bug #30169] Auto-compilation failure of a module doesn't lead to a failure [1.9.11]

2010-06-25 Thread Andy Wingo
Follow-up Comment #2, bug #30169 (project guile): You know, we might consider this to be the same problem as we see here: $ guile -L . scheme@(guile-user) (use-modules (foo)) ;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-autocompile argument to

Re: Guile 1.9.10 Build Questions

2010-07-13 Thread Andy Wingo
Hi Michael, On Tue 13 Jul 2010 15:54, Faenza, Michael E mfae...@mitre.org writes: I’ve attempted to build Guile 1.9.10 on a 32-bit installation of Ubuntu 9.10. Please include the commands you ran (with the environment variables), and your config.log. You can gzip the config.log if you think

Re: ']' and infinite loop

2010-07-13 Thread Andy Wingo
On Tue 13 Jul 2010 19:19, Bill Schottstaedt b...@ccrma.stanford.edu writes: In Guile 1.9.10, typing '(1 ']x) or lots of similar cases involving ']', to the repl gets into an infinite loop. Indeed '(] causes an infinite loop. Fixed in git. Thanks, Andy -- http://wingolog.org/

Re: Guile 1.9: bug in load

2010-07-17 Thread Andy Wingo
Mar 2010 14:02, Luca Saiu posit...@gnu.org writes: Hello again. Andy, you had asked me to ping you if the problem was still there after some time. I still see it in 1.9.9. Thanks to you and the whole team for your great work, Andy Wingo wrote: On Wed 18 Nov 2009 11:05, Luca Saiu posit

Re: [r6rs] #\x0 is a perfectly valid character datum representation

2010-07-17 Thread Andy Wingo
Hi, On Sat 17 Jul 2010 13:22, Mike Gran spk...@yahoo.com writes: r6rs hex *character* escapes and Guile 1.8.x octal character escapes could logically coexist without confusion. Let's do that. Shall you, or shall I? I pushed this change into git. Thanks a lot! Andy --

[bug #30611] [1.8.7] (ice-9 optargs) mixes keyword and optional args

2010-08-01 Thread Andy Wingo
Follow-up Comment #1, bug #30611 (project guile): How do you know one is correct and the other is not? If you are saying that 1.9.11's behavior is more intuitive, I agree. We probably need to document this incompatibility in the 1.9.11 NEWS, however.

Re: Bug in vector-move-right!

2010-08-04 Thread Andy Wingo
Hi Michael, Late reply, but better than never... On Fri 26 Mar 2010 08:06, Michael Lucy michaelgl...@gmail.com writes: I think there's a bug in vector-move-right!. I'm using guile 1.9.9 as built from the git repository earlier today. This is the behavior I see: scheme@(guile-user)

Re: High run time variance

2010-08-04 Thread Andy Wingo
On Mon 29 Mar 2010 18:09, Luca Saiu posit...@gnu.org writes: To sum up, within each run the computation time of (fibo n) is the same, but the time varies widely from one run to another. This anomaly seems to have become much more accentuated in 1.9. I suspect this is related to the GC issues

Re: High run time variance

2010-08-05 Thread Andy Wingo
Hi, On Thu 05 Aug 2010 15:42, Luca Saiu posit...@gnu.org writes: ;;; Why does this GCs after creating b? Try running this with GC_PRINT_STATS=1, ;;; or with GC_DONT_GC=1 if you want to see the memory use rise. (define size 10) (define times 100) (define b (make-bitvector size))

Re: High run time variance

2010-08-05 Thread Andy Wingo
On Thu 05 Aug 2010 18:21, Luca Saiu posit...@gnu.org writes: Andy Wingo wrote: The toplevel references to bitvector-set! don't get cached, so the bitvector-set! gets looked up every time, and there is some unfortunate allocation in scm_from_locale_symboln. If you put it in a function

[bug #30660] scm_from_locale_stringn allocates memory

2010-08-05 Thread Andy Wingo
URL: http://savannah.gnu.org/bugs/?30660 Summary: scm_from_locale_stringn allocates memory Project: Guile Submitted by: wingo Submitted on: Thu Aug 5 14:59:48 2010 Category: None Severity: 3 - Normal

Re: Broken link ./trunk/doc/ref/scsh.texi:@url(http://arglist.com/guile/}

2010-08-17 Thread Andy Wingo
Hi Bake, On Fri 06 Aug 2010 06:04, Bake Timmons b3timm...@speedymail.org writes: http://arglist.com/guile/ is a broken link in the scsh.texi file in trunk. The site explains elsewhere at http://arglist.com/www : I've removed some material related to the Guile programming language, since

Re: Building Lua

2010-08-17 Thread Andy Wingo
Hi Reuben, On Sun 08 Aug 2010 10:52, Reuben Thomas r...@sc3d.org writes: I'd like to build the under-development Lua compiler. I have checked out the lua branch in git, but I can't find any instructions (not, for example, the promised NOTES-LUA file mentioned on this list), nor any configure

[bug #30810] guile --version incorrectly prints GPL

2010-08-18 Thread Andy Wingo
URL: http://savannah.gnu.org/bugs/?30810 Summary: guile --version incorrectly prints GPL Project: Guile Submitted by: wingo Submitted on: Thu Aug 19 05:58:50 2010 Category: None Severity: 3 - Normal

Re: dead link in guile manual

2010-08-25 Thread Andy Wingo
On Fri 20 Aug 2010 10:09, anog...@gmx.at writes: Guile Reference Manual for Guile 1.8 has a dead link in 2.2 Obtaining and Installing Guile Thanks, fixed. Andy -- http://wingolog.org/

Re: [doc] using gds in emacs

2010-08-25 Thread Andy Wingo
Hi, On Sat 21 Aug 2010 08:20, anog...@gmx.at writes: http://www.gnu.org/software/guile/manual/html_node/GDS-Getting-Started.html#GDS-Getting-Started It should be mentioned that you have to load gds-scheme.el, gds-server.el and gds.el and that you don't get these files if you install guile

[bug #30851] [1.9.11] %site-dir different from pkg-config, guile-config

2010-08-25 Thread Andy Wingo
Update of bug #30851 (project guile): Status:None = Fixed Open/Closed:Open = Closed ___ Follow-up Comment #1: Fixed, thanks for the

[bug #30890] guile should install default signal handlers (?)

2010-08-27 Thread Andy Wingo
URL: http://savannah.gnu.org/bugs/?30890 Summary: guile should install default signal handlers (?) Project: Guile Submitted by: wingo Submitted on: Fri Aug 27 15:17:12 2010 Category: None Severity: 3 -

Re: Undefined symbol _start first referenced in file .libs/libguile_la-g

2010-08-29 Thread Andy Wingo
Hi Marion, On Sat 17 Apr 2010 14:40, Marion Hakanson hakan...@easystreet.net writes: Apologies for reviving an old topic. There was no resolution posted, and the same problem is happening today with guile-1.8.7 on Solaris-10 x86 platform, compiling with Sun Studio 12, all patches current as

[bug #30901] High runtime variance

2010-08-29 Thread Andy Wingo
URL: http://savannah.gnu.org/bugs/?30901 Summary: High runtime variance Project: Guile Submitted by: wingo Submitted on: Sun Aug 29 19:49:05 2010 Category: None Severity: 3 - Normal Item

Re: typo/bug in guile-bf08e10/doc/ref/api-control.texi

2010-09-04 Thread Andy Wingo
Hi, On Fri 03 Sep 2010 14:47, ebuy rt...@online.de writes: consider the order (PROC CONT) in the documentation of the procedure call-with-current-continuation Shouldn't that be transposed? (CONT PROC) ? Nope! The point is to reify the continuation as a *value*; thus it is passed as a

[bug #30983] ,help after (activate-readline) hangs

2010-09-07 Thread Andy Wingo
Follow-up Comment #1, bug #30983 (project guile): Can you reproduce this with guile -q ? ___ Reply to this item at: http://savannah.gnu.org/bugs/?30983 ___ Message sent via/by Savannah

Re: [1.9.12][OpenBSD] run time failure ...

2010-09-08 Thread Andy Wingo
Hi, On Wed 08 Sep 2010 21:21, primus rpri...@gmail.com writes: Failure is at: (won't know where to start debugging this - scheme land now). gmake[2]: Entering directory `/usr/obj/micro/guile-1.9.12/module' GUILEC ice-9/eval.go guile: uncaught throw to wrong-type-arg: (#f Wrong type

Re: Error in configuring guile project.

2010-09-10 Thread Andy Wingo
On Thu 09 Sep 2010 11:55, Gaurav Goel gaurav.x.g...@oracle.com writes: I was trying to build guile on my mac OS Can you try again with 1.8.7? It is the current 1.8 release. Thanks, Andy ps. On Mac, the issue is often whether you have a 64-bit compiled gmp or a 32-bit compiled gmp. --

  1   2   3   4   5   6   7   8   9   10   >