Hacker News new | past | comments | ask | show | jobs | submit login

It would be easy to add a nice electric-right-paren function to clojure-mode that would be bound to ')'. It would always insert the right kind of a closing paren.

Actually, I'm wondering why that doesn't already exist there. (Just checked.)




paredit-mode (http://www.emacswiki.org/emacs/ParEdit) already provides a lot of functions for manipulating s-expressions, including keeping track of your braces.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: