From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.user Subject: Re: find s-expr in the REPL? Date: Thu, 05 Oct 2006 09:11:04 +1000 Message-ID: <87ac4bu16f.fsf@zip.com.au> References: <0J6500HKIOS4MF@imap0.epfl.ch> <8F739E8D-5B27-4B06-A3BA-4E271AE89047@epfl.ch> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1160003497 27948 80.91.229.2 (4 Oct 2006 23:11:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 4 Oct 2006 23:11:37 +0000 (UTC) Cc: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Oct 05 01:11:35 2006 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GVFtm-0006Ey-N2 for guile-user@m.gmane.org; Thu, 05 Oct 2006 01:11:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GVFtm-0002zn-5S for guile-user@m.gmane.org; Wed, 04 Oct 2006 19:11:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GVFti-0002zY-L9 for guile-user@gnu.org; Wed, 04 Oct 2006 19:11:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GVFth-0002zL-Bf for guile-user@gnu.org; Wed, 04 Oct 2006 19:11:30 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GVFth-0002zH-9e for guile-user@gnu.org; Wed, 04 Oct 2006 19:11:29 -0400 Original-Received: from [61.8.2.229] (helo=mailout2.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GVG0D-0003Sj-TK for guile-user@gnu.org; Wed, 04 Oct 2006 19:18:14 -0400 Original-Received: from mailproxy2.pacific.net.au (mailproxy2.pacific.net.au [61.8.2.163]) by mailout2.pacific.net.au (Postfix) with ESMTP id 9E44A10A23E; Thu, 5 Oct 2006 09:11:25 +1000 (EST) Original-Received: from localhost (ppp2A18.dyn.pacific.net.au [61.8.42.24]) by mailproxy2.pacific.net.au (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id k94NBNRY017548; Thu, 5 Oct 2006 09:11:24 +1000 Original-Received: from gg by localhost with local (Exim 4.63) (envelope-from ) id 1GVFtJ-0003hC-AQ; Thu, 05 Oct 2006 09:11:05 +1000 Original-To: Daniel Llorens del =?iso-8859-1?Q?R=EDo?= In-Reply-To: <8F739E8D-5B27-4B06-A3BA-4E271AE89047@epfl.ch> (Daniel Llorens del =?iso-8859-1?Q?R=EDo's?= message of "Mon, 25 Sep 2006 20:03:33 +0200") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) 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:5570 Archived-At: Daniel Llorens del R=EDo writes: > > Absolutely, that's what I mean. Actually, maybe I'd prefer up-arrow to > show > > guile> (define (foo) > ... (bar)) > > just as I would have typed it. But that's a minor detail. I suspect readline can't display like that. > The idea is, I guess, to have readline split its history not by > newlines but by matching parentheses at the top level, at least when > they cross line boundaries. I'll look into that, thanks. The notion of input continuation is there, but at the moment add-history is used for each line. It ought to be just a matter of holding lines until the start of the next continuation. I'd think that could be just changed (don't bother with an option for the current behaviour). bash works multi-line this way for instance. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user