[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-readline] single-quote character and string/char literals
From: |
Chet Ramey |
Subject: |
Re: [Bug-readline] single-quote character and string/char literals |
Date: |
Thu, 03 Jan 2008 09:26:34 -0500 |
User-agent: |
Thunderbird 2.0.0.9 (Macintosh/20071031) |
Derick Eddington wrote:
> Hello,
>
> [I'm assuming this is a readline issue; if it's not, I understand if you
> ignore this.]
>
> When I use readline (via rlwrap) with a Scheme language interpreter, I
> wish I could disable the single-quote character ' behavior of changing
> the "editing mode" to thinking the ' begins a string/character literal
> and that it should look for the ending '. In Scheme, ' is different and
> the current ' behavior causes parenthesis/bracket matching to be
> messed-up (paren matching is very helpful for Scheme :-)
Readline doesn't impose that restriction itself; it must be rlwrap. The
only time readline pays attention to quote characters is when performing
word expansion.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day but today.
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/