[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding
From: |
João Távora |
Subject: |
bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding |
Date: |
Tue, 4 Jun 2024 11:49:58 +0100 |
On Tue, Jun 4, 2024 at 11:09 AM Stephen Berman <stephen.berman@gmx.net> wrote:
> enabling electric-pair-mode, and what I see is that typing `C-#' inserts
> a "\" while typing `\' insert "\\". Is this not the desired behavior?
Seems so, but it looks very odd to check if last_command_event is a
character when checked in post-self-insert-hook, because that hook
explicitly says it must be one. The fact that it works at all also
suggests the hook is being called twice. Anyway, if the workaround
is needed for whatever reason, I'd put it in electric-pair-syntax-info
with a prominent comment pointing to this bug.
- bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding, (continued)
- bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding, Stephen Berman, 2024/06/03
- bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding, Arash Esbati, 2024/06/04
- bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding, Stephen Berman, 2024/06/04
- bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding, João Távora, 2024/06/04
- bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding, Stephen Berman, 2024/06/04
- bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding, João Távora, 2024/06/04
- bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding, Stephen Berman, 2024/06/04
- bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding, Eli Zaretskii, 2024/06/04
- bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding, Eli Zaretskii, 2024/06/04
- bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding, Stephen Berman, 2024/06/04
- bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding,
João Távora <=
- bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding, Eli Zaretskii, 2024/06/04
- bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding, Eli Zaretskii, 2024/06/04
- bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding, Stephen Berman, 2024/06/04
- bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding, Arash Esbati, 2024/06/04
- bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding, João Távora, 2024/06/04
- bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding, Arash Esbati, 2024/06/04
- bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding, Stefan Monnier, 2024/06/04
- bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding, Eli Zaretskii, 2024/06/15
- bug#71337: 30.0.50; `electric-pair-mode' and custom keybinding, Arash Esbati, 2024/06/16