Problem with auto closing parentheses

Discussion of Common Lisp
Post Reply
fhifan84
Posts: 1
Joined: Fri Jul 22, 2011 7:33 pm

Problem with auto closing parentheses

Post by fhifan84 » Sun Jul 24, 2011 9:12 pm

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?

I X Code X 1
Posts: 59
Joined: Sun May 29, 2011 8:52 pm
Location: NY
Contact:

Re: Problem with auto closing parentheses

Post by I X Code X 1 » Mon Jul 25, 2011 8:17 am

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.

Paul
Posts: 106
Joined: Tue Jun 02, 2009 6:00 am

Re: Problem with auto closing parentheses

Post by Paul » Mon Jul 25, 2011 4:12 pm

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 ')'

nuntius
Posts: 538
Joined: Sat Aug 09, 2008 10:44 am
Location: Newton, MA

Re: Problem with auto closing parentheses

Post by nuntius » Mon Jul 25, 2011 6:32 pm

Sounds like you have ParEdit enabled somewhere. Check in your init file.

Post Reply