[racket] Parens/string quotes automatic behavior

From: Nadeem Abdul Hamid (nadeem at acm.org)
Date: Wed May 22 17:05:05 EDT 2013

Ok ok. :-) I will try to work on it in the next day or so if no one else
gets to it first.
--- nadeem

On Wednesday, May 22, 2013, Laurent wrote:

> (actually double-quote, double-quote, backspace is more efficient, but
> just typing double-quote would be so much simpler, in particular because
> when I need this, I need it often, e.g. in slideshow)
> On Wed, May 22, 2013 at 6:18 PM, John Clements <clements at brinckerhoff.org<javascript:_e({}, 'cvml', 'clements at brinckerhoff.org');>
> > wrote:
>> On May 22, 2013, at 7:07 AM, Laurent wrote:
>> > Hi,
>> >
>> > The new behavior of automatic parenthesis matching is really nice, but
>> there is one problem with string quotes.
>> > For example, if the cursor is in the middle of a string and I type the
>> string-quote symbol ", it places a quote which cuts the current string and
>> leaves the right part in a bad syntax.
>> >
>> > Most of the time, when I type a quote inside a string, it's because I
>> want to split the string in two parts.
>> > To do that, I have to type string-quote, string-quote, delete (to
>> remove the extra string-quote added by the paren-match behavior), and left
>> to go back between the two strings, which is mildly annoying.
>> >
>> > Would it be possible (unless problematic) to have the default
>> paren-match behavior for strings that splits the string instead of
>> inserting a single string-quote, possibly unless the left symbol is a
>> backslash?
>> +1. I've developed a reflex to compensate for this, which is double-quote
>> double-quote double-quote delete left-arrow… which is a bit painful.
>> John

Sent from Gmail Mobile
Nadeem Abdul Hamid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130522/c849e444/attachment.html>

Posted on the users mailing list.