GNU bug report logs -
#11520
24.1.50; delete-selection-mode conflicts with electric-pair-mode
Previous Next
Reported by: Simon Law <sfllaw <at> sfllaw.ca>
Date: Sat, 19 May 2012 20:10:01 UTC
Severity: normal
Found in version 24.1.50
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
On Sat, Jul 14, 2012 at 1:23 AM, Chong Yidong <cyd <at> gnu.org> wrote:
> Simon Law <sfllaw <at> sfllaw.ca> writes:
>
>> $ emacs -Q
>> M-x electric-pair-mode
>> M-x delete-selection-mode
>> ;; Type "a line of text""
>> C-SPC
>> C-a
>> ;; At this point, you should have the line of text selected
>> (
>>
>> Actual result:
>>
>> )(
>
> Fixed in trunk. Thanks.
Hi Chong,
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.
Would you like me to come up with a patch that implements my
suggestions above in the BTS?
Thanks,
- Simon
This bug report was last modified 10 years and 359 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.