From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel,gmane.lisp.guile.user Subject: Re: anyone define port types? Date: Sat, 11 Jun 2016 18:53:41 +0200 Message-ID: <87k2hvwtt6.fsf@pobox.com> References: <87y492mnjp.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1465664068 2135 80.91.229.3 (11 Jun 2016 16:54:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 11 Jun 2016 16:54:28 +0000 (UTC) Cc: "guile-user@gnu.org" , guile-devel To: Panicz Maciej Godek Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Jun 11 18:54:19 2016 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bBmAr-0008Rb-2i for guile-devel@m.gmane.org; Sat, 11 Jun 2016 18:54:17 +0200 Original-Received: from localhost ([::1]:47823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBmAq-0001ca-B7 for guile-devel@m.gmane.org; Sat, 11 Jun 2016 12:54:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBmAV-0001cR-QE for guile-devel@gnu.org; Sat, 11 Jun 2016 12:53:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBmAR-0001UJ-Ll for guile-devel@gnu.org; Sat, 11 Jun 2016 12:53:54 -0400 Original-Received: from pb-sasl2.pobox.com ([64.147.108.67]:64242 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBmAR-0001UF-F8; Sat, 11 Jun 2016 12:53:51 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id 2AE7020E63; Sat, 11 Jun 2016 12:53:50 -0400 (EDT) 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=K7ofauQb+mo09zQxfMSjxqVq5Cc=; b=W/VKRM GZBuL44NpfrskEVAGHQdr4D68VT1nwyIEVz1xMotUw8LyrFsVkY2VwCtr28IXRm6 1ljgTU6na33fAQe3Fn1IlpVhKmxFlRs/ZoekUI2ZJIkqkQW/+aHeW/cUmRcusRdk lYFfHZmprwzG7RBmOeH/ypC0jwtGTGl5oDbyc= 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=B5Nak35GL5I8culr+atY4v1D6fGWFlna s8XPOB+DW6gaKDZYLk/aLcOIW0Eo+9uqNKtsbkSbUKlAMCT7GqrWGmVucUro/X27 AeGzP87Sx0WTKVjBWwbdCrZBb1qQmDrVckG7o+EuuI6SYV/qX1aRASyUOqOhAczk oypjy1iaN90= Original-Received: from pb-sasl2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl2.pobox.com (Postfix) with ESMTP id 2382B20E62; Sat, 11 Jun 2016 12:53:50 -0400 (EDT) Original-Received: from clucks (unknown [88.160.190.192]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl2.pobox.com (Postfix) with ESMTPSA id 2DD8220E5D; Sat, 11 Jun 2016 12:53:49 -0400 (EDT) In-Reply-To: (Panicz Maciej Godek's message of "Wed, 30 Mar 2016 08:29:10 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-Pobox-Relay-ID: 11E9AB24-2FF5-11E6-B02A-28A6F1301B6D-02397024!pb-sasl2.pobox.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.108.67 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:18340 gmane.lisp.guile.user:12625 Archived-At: On Wed 30 Mar 2016 08:29, Panicz Maciej Godek writes: > Hi Andy, > I have been using soft ports to implement a text widget in my GUI > framework. I also used GOOPS, which I regret to this day, and so the > whole framework needs a serious rewrite, but if you're collecting > various species to the museum of make-soft-port, you can have a look: > > https://bitbucket.org/panicz/slayer/src/8b741c21b7372c24874d7cd1875e2aae3fc43abe/guile-modules/widgets/text-area.scm?at=default&fileviewer=file-view-default Thanks. The interface to soft ports hasn't changed FWIW; nothing has changed from a Scheme programmer's perspective, except that all ports can have buffering now. See: http://www.gnu.org/software/guile/docs/master/guile.html/Buffering.html Cheers, Andy