2012-01-06

do you recommend emacs paredit mode?

On Jan 5, 12:40 am, "Pascal J. Bourguignon" wrote:
> Yuan Luo writes:
> > I am using common lisp mode in emacs 23, and it seems to me whenever
> > there is unmatched parens when I was saving a file, emacs reports
> > paren not matched with cursor moved to where the unmatch occurs but
> > then the cursor never moved back to where i was just editing. How do I
> > tell emacs 23 to move the cursor back? In emacs 22, it was fine.
>
> Don't save files with unmatched parentheses.
> Use paredit.http://www.emacswiki.org/emacs/ParEdit

I don't recommend paredit. I do recommend to always insert paren by pairs, however.

Here's what i recommend:

〈Emacs: Insert Brackets by Pair〉
http://xahlee.org/emacs/emacs_insert_brackets_by_pair.html

〈How to Edit Lisp Code with Emacs〉
http://xahlee.org/emacs/emacs_editing_lisp.html

Xah

No comments:

Post a Comment