BTW, Emacs users can get this feature through Quack.

http://www.neilvandyke.org/quack/

See checkbox menu item "Quack -> Options -> Smart-Open-Paren", or Customize-able variable `quack-smart-open-paren-p`.

The feature turns causes a typed "[" to insert "(".

Separately, typed "]" always inserts the character to agree with the matching open paren/bracket.

To really insert "[", do the idiomatic Emacs prefix argument sequence, "C-u [".

Neil V.

Pierpaolo Bernardi wrote on 07/03/2015 01:21 PM:
BTW, since you are looking at the preferences, I wish there was a way
to have automatic conversion of square brackets to parentheses
*always*.  That is, I don't want square brackets in my racket code,
but I like the convenience of typing them over typing parentheses.
Looks like a combination of preferences that should be there, but it's
not.

Like the automatic square brackets that we have now with an empty
keywords table.  I'm not manually clearing the keywords table because
sometimes I happen to edit code written by others which use the square
brackets.


--
You received this message because you are subscribed to the Google Groups "Racket 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to