bug#22905: GUILE_INSTALL_LOCALE produces unavoidable noise

2016-08-07 Thread Zefram
Andy Wingo wrote: >I believe this is consistent with other programs which call setlocale, >notably Perl and Bash. It is consistent with them, but the fact that others get it wrong isn't an excuse. >avoid the call to setlocale, and Guile offers the GUILE_INSTALL_LOCALE=0 >knob to do this. That kn

bug#24180: [PATCH] Recognize alpha as compilation target

2016-08-07 Thread James Clarke
* module/system/base/target.scm (cpu-endianness): Add case for "alpha". (triplet-pointer-size): Likewise. --- module/system/base/target.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/system/base/target.scm b/module/system/base/target.scm index d1f6cff..02febf8 1

bug#24178: [PATCH] Fix typo about variable definitions

2016-08-07 Thread Andy Wingo
Applied, thanks :) Cheers, Andy

bug#22910: read-only setlocale has side effect

2016-08-07 Thread Andy Wingo
On Fri 04 Mar 2016 17:48, Zefram writes: > A call to setlocale with no second argument is documented to be > a read-only operation, querying the current locale configuration. > In fact it has a side effect of setting the encoding on primordial ports: This sounds like a bug indeed :/ Andy

bug#22905: GUILE_INSTALL_LOCALE produces unavoidable noise

2016-08-07 Thread Andy Wingo
On Fri 04 Mar 2016 15:13, Zefram writes: > GUILE_INSTALL_LOCALE=1 breaks some of the robustness of non-locale-using > programs, marring their stderr output if the environment's locale settings > are faulty. I believe this is consistent with other programs which call setlocale, notably Perl and B

bug#22902: GUILE_INSTALL_LOCALE not equivalent to setlocale

2016-08-07 Thread Andy Wingo
On Fri 04 Mar 2016 04:34, Zefram writes: > The documentation claims that setting GUILE_INSTALL_LOCALE=1 in the > environment is equivalent to calling (setlocale LC_ALL "") at startup. > Actually there is at least one difference: calling setlocale causes ports > (both primordial and later-opened)

bug#22889: small fixes to guile manual

2016-08-07 Thread Andy Wingo
done

bug#22889: small fixes to guile manual

2016-08-07 Thread Andy Wingo
On Thu 03 Mar 2016 03:43, Ethan Stefan Day writes: > I fixed a few small problems I found in the Guile manual as I was > reading it. I edited against the version I found here > https://www.gnu.org/software/guile/manual/guile.texi.tar.gz > at about 7pm EST on March 2, 2016. Most of the fixes are

bug#22833: Bug#816123: guile-2.0-libs: guile-procedures.txt is actually port-dependent

2016-08-07 Thread Andy Wingo
On Sat 27 Feb 2016 23:07, Rob Browning writes: > [If possible, please preserve the 816123-forwarded CC in any replies.] > > Since the content of guile-procedures.txt can vary, perhaps it shouldn't > be in schemelib_DATA. > > cf. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816123 Confirmed.

bug#22767: Thread-sleep! doesn't sleep

2016-08-07 Thread Andy Wingo
Hi Takashi, Thank you for the report. On Mon 22 Feb 2016 12:37, Takashi Kato writes: > I think I've found a bug of thread-sleep! defined in SRFI-18 library. > The file module/srfi/srfi-18.scm line 233 subtract current time from > given timeout argument but this results negative number most of t

bug#22667: string->bytevector encoding error

2016-08-07 Thread Andy Wingo
Hi, On Mon 20 Jun 2016 18:07, Andy Wingo writes: > On Sun 14 Feb 2016 23:18, Josep Portella Florit writes: > >> (use-modules (ice-9 iconv)) >> ;; These expressions throw 'encoding-error': >> (string->bytevector (make-string 129 #\A) "UTF-16") >> (string->bytevector (make-string 65 #\A) "UTF-32"

bug#22630: [PATCH] Let assv/assoc shortcircuit to assq where feasible

2016-08-07 Thread Andy Wingo
On Thu 11 Feb 2016 12:31, David Kastrup writes: > * libguile/alist.c (scm_sloppy_assv, scm_sloppy_assoc): > Shortcircuit to scm_sloppy_assq where feasible > (scm_assv, scm_assoc): Shortcircuit to scm_assq where feasible Applied to master, will backport when I get a chance. Tha

bug#24178: [PATCH] Fix typo about variable definitions

2016-08-07 Thread sirgazil
* doc/ref/api-binding.texi (Top Level Variable Definitions): Fix typo. --- doc/ref/api-binding.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ref/api-binding.texi b/doc/ref/api-binding.texi index 5857e78..c3ee01b 100644 --- a/doc/ref/api-binding.texi +++ b/doc/ref

bug#22623: testing guile

2016-08-07 Thread Andy Wingo
On Wed 10 Feb 2016 19:48, Helio writes: > $ guile: error while loading shared libraries: libguile-2.2.so.0: cannot open > shared object file: No such file or directory I believe that this means that you have installed libguile to a directory that is not in your library path. Maybe you need to

bug#22601: guile.texi section on ice-9 match

2016-08-07 Thread Andy Wingo
On Mon 08 Feb 2016 22:04, Matt Wette writes: > One problem I have with the ref’ manual is the section on (ice-9 > match). The grammar has terms like “string” where I don’t know if > this means the literal term “string” or a string literal. It would be > nicer to have a grammar where the literal

bug#22480: [PATCH] Recognize nios2 as compilation target

2016-08-07 Thread Andy Wingo
Applied to master; thanks :) Andy On Thu 28 Jan 2016 05:10, Marek Vasut writes: > Add support for the nios2 architecture. > > Signed-off-by: Marek Vasut > --- > module/system/base/target.scm | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/module/system/base/target

bug#22342: Infinite loop when GUILE_FOR_BUILD == guile

2016-08-07 Thread Andy Wingo
Fixed in master; we capture the full path to GUILE_FOR_BUILD. Cheers :) Andy On Sun 10 Jan 2016 21:28, Peter TB Brett writes: > I ran across an interesting problem while cross-compiling Guile 2.0.11 > with MinGW. > > "GEN guile-procedures.texi" sat in an infinite loop, due to meta/guile > exec

bug#22337: Breakage on amd64 when built with -O1 and higher

2016-08-07 Thread Andy Wingo
On Sat 09 Jan 2016 15:57, l...@gnu.org (Ludovic Courtès) writes: > Andreas Metzler skribis: > >> Debian used to build guile-2.0 without optimization, after changing to >> -O2 random segfaults in guile-gnutls testsuite started to appear on >> amd64. > > Are you sure the GnuTLS issue has anything t

bug#22273: “guix download” fails with “bad-response”

2016-08-07 Thread Andy Wingo
On Wed 06 Jan 2016 17:28, l...@gnu.org (Ludovic Courtès) writes: > Fixed in Guile with commit 4c7732c. Marking bug as closed

bug#22229: Error when running script from directory with non-ASCII characters

2016-08-07 Thread Andy Wingo
On Thu 24 Dec 2015 02:46, Vicente Vera writes: > Guile chokes when running a .scm script from a directory with > non-ASCII characters. > > A simple test script: > > --- > #!/usr/bin/guile -s > !# > ;; coding: utf-8 > (display "hey") > (newline) > --- > > $ cd ~/cód

bug#22197: [PATCH] Add doc fix

2016-08-07 Thread Andy Wingo
Applied, thanks! On Thu 17 Dec 2015 22:47, Calvin Heim writes: > * doc/ref/api-compound.texi: Fix grammar. > --- > doc/ref/api-compound.texi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/doc/ref/api-compound.texi b/doc/ref/api-compound.texi > index 8ec32d6..47f5e8a 10

bug#21837: Status: [PATCH] Add details about http server example

2016-08-07 Thread Andy Wingo
Closing this one; dupe of #21836

bug#21836: [PATCH] Add details about http server example

2016-08-07 Thread Andy Wingo
merge 21837 21836 thanks Thanks for the patch, applied :) Andy On Thu 05 Nov 2015 04:54, Boris Egorov writes: > Taken from > https://www.gnu.org/software/guile/manual/html_node/Web-Examples.html#Hello_002c-World_0021 > > --- > website/apps/base/index-page.scm | 3 ++- > 1 file changed, 2 in

bug#20546: Syntax bug in master branch (till d99fedc5fd38c0)

2016-08-07 Thread Andy Wingo
On Thu 23 Jun 2016 22:27, Andy Wingo writes: > On Mon 11 May 2015 12:29, Nala Ginrut writes: > >> I'm using master branch (till d99fedc5fd38c0), and I found this code >> can't run in 2.1, but works in 2.0: >> >> (define-syntax define-art >> (lambda (x) >>(syntax-case x () >> ((_ name)

bug#24165: [PATCH] Fix typo about pattern variables

2016-08-07 Thread Andy Wingo
On Sat 06 Aug 2016 02:52, sirgazil writes: > * doc/ref/sxml-match.texi (Matching XML Elements): Fix typo. Applied, thanks! Andy

bug#24155: SRFI-10: Example from the manual fails to execute.

2016-08-07 Thread Andy Wingo
Hi Mathieu, Thanks for the report. On Fri 05 Aug 2016 03:19, Mathieu Lirzin writes: > The following example from the Guile manual in subsection 7.5.9, fails > for me both on Guile master 2.1.3.94-1a1c3 and Guile 2.0.11 from Debian > Testing. > > (use-modules (srfi srfi-10)) > > (defin