guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guile-gui 0.1 available


From: Neil Jerram
Subject: Re: guile-gui 0.1 available
Date: 09 Mar 2001 21:40:01 +0000
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.5

>>>>> "Gary" == Gary Wong <address@hidden> writes:

    Gary> On Fri, Mar 09, 2001 at 06:43:07PM +0000, Neil Jerram wrote:
    >> The initial release of guile-gui is now available at:
    >> 
    >> http://www.ossau.uklinux.net/guile/guile-gui-0.1.tar.gz

    Gary> Hi,

    Gary>   Thanks very much for working on this -- it looks like it
    Gary> will be very helpful for me.

    Gary>   Unfortunately, I haven't been able to get it to run.  I
    Gary> checked out the latest revision of guile-core (including
    Gary> buffered-input.scm) and installed that and guile-gui, but
    Gary> when I run guile-gui I get:

    Gary>   ERROR: Unbound variable: make-buffered-input-port

Sorry about this - a stupid mistake on my part.  The fix is either to
apply the diff below or to grab version 0.2 which I've just
uploaded to my web site:

        http://www.ossau.uklinux.net/guile/guile-gui-0.2.tar.gz

Regards,
        Neil


diff -u /home/neil/entry-port.scm.orig /home/neil/entry-port.scm
--- /home/neil/entry-port.scm.orig      Fri Mar  9 21:38:54 2001
+++ /home/neil/entry-port.scm   Fri Mar  9 21:38:58 2001
@@ -120,7 +120,7 @@
                           #:key
                           (paren-matching-style '(move-cursor)))
   (letrec ((handler #f)
-           (port (make-buffered-input-port
+           (port (make-line-buffered-input-port
                    (lambda (continuation?)
                      (call-with-current-continuation
                       (lambda (cont)
@@ -136,8 +136,7 @@
                                   (or handler
                                       (gtk-widget-set-sensitive entry #f))
                                   (cont str))))
-                        (event-loop))))
-                   #\newline)))
+                        (event-loop)))))))
 
     ;; Attach hooks to the entry widget.  new-read hook procedures are
     ;; called with no arguments.  read-complete hook procedures are



reply via email to

[Prev in Thread] Current Thread [Next in Thread]