[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Electric braces

From: João Távora
Subject: Re: Electric braces
Date: Fri, 21 Sep 2012 17:56:19 +0100

(originally forgot to cc:

I'd just like to add that autopair:

* is now hosted at
* out of the box, does  a bit more than electric-pair-mode, like
deleting 0-width paren pairs when backspacing and helping to keep the
buffer balanced (for example typing 3 opening "{" consecutively makes
"{{{}}}" instead of electric pair's "{{{}".
* can be customized to behave differently in comments and strings,
pair characters, and more

I'm quite positively surprised how electric-pair-mode has evolved
though, but still find it awkward in how it sometimes pairs and
sometimes doesn't.

João Távora

On Thu, Sep 20, 2012 at 6:38 PM, Stefan Monnier
<> wrote:
>> I tried the built-in electric-pair-mode and it does what I want.
> I'm glad you like it,
>         Stefan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]