Problem with auto closing parentheses

Discussion of Common Lisp

Problem with auto closing parentheses

Postby 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?
fhifan84
 
Posts: 1
Joined: Fri Jul 22, 2011 7:33 pm

Re: Problem with auto closing parentheses

Postby 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.
User avatar
I X Code X 1
 
Posts: 59
Joined: Sun May 29, 2011 8:52 pm
Location: NY

Re: Problem with auto closing parentheses

Postby 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 ')'
Paul
 
Posts: 106
Joined: Tue Jun 02, 2009 6:00 am

Re: Problem with auto closing parentheses

Postby nuntius » Mon Jul 25, 2011 6:32 pm

Sounds like you have ParEdit enabled somewhere. Check in your init file.
User avatar
nuntius
 
Posts: 500
Joined: Sat Aug 09, 2008 10:44 am
Location: Burlington, MA


Return to Common Lisp

Who is online

Users browsing this forum: No registered users and 3 guests

cron