[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11520: 24.1.50; delete-selection-mode conflicts with electric-pair-m
From: |
Chong Yidong |
Subject: |
bug#11520: 24.1.50; delete-selection-mode conflicts with electric-pair-mode |
Date: |
Sun, 15 Jul 2012 22:39:56 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
Simon Law <sfllaw@sfllaw.ca> writes:
> I tested your fix and it makes electric-pair-mode insert pairs in the
> right order now.
>
> But the bug is that delete-selection-mode destroys
> electric-pair-mode's auto-wrapping ability. Unfortunately, your fix
> does not address that.
Hmm, I guess I misunderstood the bug. I'll re-open it.
Trying to work up a patch that does the right thing is not so
straightforward, though, as electric-pair-post-self-insert-function does
not have a simple triggering condition.