From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.user Subject: Re: How to convert from Emacs Lisp to Guile Date: Fri, 18 Jun 2010 19:19:03 +0200 Message-ID: <87k4pwgsxk.fsf@ambire.localdomain> References: <87iq5gn2u7.fsf@linux-lqcw.site> <87typ05qi0.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1276881698 23469 80.91.229.12 (18 Jun 2010 17:21:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 18 Jun 2010 17:21:38 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Fri Jun 18 19:21:37 2010 connect(): No such file or directory Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OPfG2-0001Bw-Dm for guile-user@m.gmane.org; Fri, 18 Jun 2010 19:21:34 +0200 Original-Received: from localhost ([127.0.0.1]:49923 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPfG1-0001jX-Ps for guile-user@m.gmane.org; Fri, 18 Jun 2010 13:21:33 -0400 Original-Received: from [140.186.70.92] (port=55101 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OPfFv-0001gg-I4 for guile-user@gnu.org; Fri, 18 Jun 2010 13:21:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OPfFt-0003dS-VN for guile-user@gnu.org; Fri, 18 Jun 2010 13:21:27 -0400 Original-Received: from smtp208.alice.it ([82.57.200.104]:55132) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OPfFt-0003ci-Kf for guile-user@gnu.org; Fri, 18 Jun 2010 13:21:25 -0400 Original-Received: from ambire.localdomain (95.244.64.69) by smtp208.alice.it (8.5.124.08) id 4C1A271600182D7C for guile-user@gnu.org; Fri, 18 Jun 2010 19:21:22 +0200 Original-Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1OPfDc-0008K6-0h for guile-user@gnu.org; Fri, 18 Jun 2010 19:19:04 +0200 In-Reply-To: <87typ05qi0.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Fri, 18 Jun 2010 17:07:03 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:7899 Archived-At: () ludo@gnu.org (Ludovic Court=C3=A8s) () Fri, 18 Jun 2010 17:07:03 +0200 There=E2=80=99s no such thing as a =E2=80=98buffer=E2=80=99 or =E2=80=98= point=E2=80=99 in Guile so that would need to be expressed, e.g., as a procedure that opens a file, reads it line by line, writes modified lines to the output file, etc. See the (ice-9 regex) and (ice-9 rdelim) modules for useful tools. Guile has module (ice-9 gap-buffer), which implements =E2=80=98buffer=E2=80= =99 and =E2=80=98point=E2=80=99. Guile 1.4.x has a more recent version, with more features. Despite this, it is still unibyte, and so could use an internals redesign. Guile 1.4.x also has module (ice-9 editing-buffer), which wants to be forward-ported (a good chance to redesign the internals, too).=20=20 If anyone wants to tackle this syntax-oriented hack opportunity, feel free. In particular, i (not being a syntax ninja) would love to learn from the (ice-9 editing-buffer) internals redesign... thi