guile-user
[Top][All Lists]
Advanced

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

Re: find s-expr in the REPL?


From: Kevin Ryde
Subject: Re: find s-expr in the REPL?
Date: Thu, 05 Oct 2006 09:11:04 +1000
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux)

Daniel Llorens del Río <address@hidden> 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.




reply via email to

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