bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#14000: 24.3.50; electric-pair-post-self-insert-function does not han


From: Stefan Monnier
Subject: bug#14000: 24.3.50; electric-pair-post-self-insert-function does not handle nested parentheses
Date: Mon, 25 Mar 2013 22:41:36 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> In electric-pair-mode, I type "(("
> I get "(()"
> I should get "(())"
> Fix below.

Actually, it's not a bug but a feature.  There's no way to know for sure
when pairing is desired and when it's not, and as an electric-pair user
I prefer electric-pair to err on the conservative side.

This said, it would be nice to also accommodate users with different
usage patterns.  If you look at the many other pairing packages, they
show a whole bunch of slightly different behaviors, it would be nice to
try and see how we can "merge" them.


        Stefan





reply via email to

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