[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36006: electric-pair-mode fails to balance in certain cases
From: |
npostavs |
Subject: |
bug#36006: electric-pair-mode fails to balance in certain cases |
Date: |
Thu, 30 May 2019 13:36:39 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt) |
Dario Gjorgjevski <dario.gjorgjevski@gmail.com> writes:
> Consider the following text in html-mode with electric-pair-mode turned
> on and electric-pair-skip-self set to electric-pair-default-skip-self:
>
> <|>
>
> (Take | to denote point.) In this situation, the expected result of
> attempting to insert > is to skip over the one immediately after point,
> i.e., end up with <>|. However, what we get instead is <>|>. Only if
> we *now* attempt to insert >, we end up with <>>|, which doesn't make
> any sense.
I'm having trouble reproducing this; what's the exact sequence of input
starting from 'emacs -Q'? And what version of Emacs is this?