[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: With electric-pair-mode, N prefix arg should insert N balanced pairs
From: |
Eli Zaretskii |
Subject: |
Re: With electric-pair-mode, N prefix arg should insert N balanced pairs |
Date: |
Sat, 03 Aug 2024 09:41:45 +0300 |
> From: Joseph Turner <joseph@breatheoutbreathe.in>
> Date: Fri, 02 Aug 2024 22:49:17 -0700
>
> On Emacs 29.4, with emacs -Q
>
> Turn on electric-pair-mode
>
> (electric-pair-mode +1)
>
> Then press "C-2 ("
>
> Expected result:
>
> (())
>
> Actual result:
>
> (()
Thanks, but why do you expect "(())" rather than "()()"? Electric
Pair mode works per inserted character, and doesn't know anything
about nesting.
In any case, this should have been submitted as a bug report, and go
to the bug tracker, not posted here.