emacs-for-python icon indicating copy to clipboard operation
emacs-for-python copied to clipboard

skeleton-pair conflict with autopair mode

Open liuyix opened this issue 13 years ago • 2 comments

Hi gabrielelanaro, I just noticed when enabling global autopair mode, insert a '[' will automatically append two ']' in orgmode (some other modes may happen too.). Same situation for parenthesis and braces. Then when I comment skeleton-pair configuration, this issue is gone. I use emacs24.3. Hope this small issue be fixed in the future. :-) Last many thanks for making this handy emacs plugins!

liuyix avatar Apr 10 '13 06:04 liuyix

Thank you for the report! I'm thinking on a way to fix that. I used auto-pair in the past but I had some problems with it. I may probably just disable the skeleton pair when auto-pair mode is enabled.

gabrielelanaro avatar Apr 15 '13 06:04 gabrielelanaro

It also creates problems with other major modes. For example here is how it makes sh-mode look like - http://imgur.com/a/WI1Bw

IMO skeleton-pair should only be enabled for Python and not for other languages.

gnufied avatar Oct 18 '16 01:10 gnufied