Page 1 of 1

Problem with auto closing parentheses

Posted: Sun Jul 24, 2011 9:12 pm
by fhifan84
Hello.

I recently installed "Ready Lisp" for mac which is consisted with aquamacs, sbcl, and slime.

When I typed open bracket, closing bracket appeared automatically.

Does anyone have an idea to get rid of this annoying automatic closing parenthesis completion?

Re: Problem with auto closing parentheses

Posted: Mon Jul 25, 2011 8:17 am
by I X Code X 1
I've noticed this happening in a couple other lisp implementations. Never found any way of turning it off, though that does not mean there isn't a way. You do get used to after a while though, just takes a little bit of time. I used to think it was quite annoying as well, but now I hardly even notice it.

Re: Problem with auto closing parentheses

Posted: Mon Jul 25, 2011 4:12 pm
by Paul
fhifan84 wrote:Hello.

I recently installed "Ready Lisp" for mac which is consisted with aquamacs, sbcl, and slime.

When I typed open bracket, closing bracket appeared automatically.

Does anyone have an idea to get rid of this annoying automatic closing parenthesis completion?
M-x local-set-key ENTER ( self-insert-command ENTER

(A permanent solution depends on where it's getting changed...possibly there's some variable you can set to avoid getting it changed in the first place, rather than resetting it after the fact)

Presumably you'll also want the same for ')'

Re: Problem with auto closing parentheses

Posted: Mon Jul 25, 2011 6:32 pm
by nuntius
Sounds like you have ParEdit enabled somewhere. Check in your init file.