[Top][All Lists]

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

Re: [patch] make electric-pair-mode smarter/more useful

From: Dmitry Gutov
Subject: Re: [patch] make electric-pair-mode smarter/more useful
Date: Sat, 07 Dec 2013 04:36:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

address@hidden (João Távora) writes:

> In a recent cleanup I did of my autopair.el library [1], I decided to
> try and add one of its core features to emacs's built-in
> `electric-pair-mode' and make it the default behaviour.

As a long-time autopair user, I heartily approve. Thanks!

> There are also more features in autopair.el that could be worth adding
> into electric.el, like autobackspacing two adjacent parens, chomping
> whitespace forward on skip, smarter auto-wrapping of region, etc...

Autobackspacing two adjacent parens sounds good.

I'm also partial to the `autopair-newline' feature. It would probably
serve best as an extension of `electric-layout-mode'.

reply via email to

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