Closed vkurup closed 10 years ago
I've duplicated the issue, but as you must understand that "work around" disables autopair everywhere, it's not really a workaround. I'll try to resolve it when I find the time :-)
Ahhh... thank you for pointing that out. My "workaround" completely disables autopair. Oops :)
Have you tried (add-hook 'calc-mode-hook #'(lambda () (autopair-mode -1))) with the latest version of autopair. That would disable autopair only in calc-mode, and seems to be working.
Yes, thank you. I did find that to work, but forgot to report back: https://github.com/vkurup/dotfiles/blob/master/.emacs.d/init.el#L36
This is the same issue as Issue 47 on the old google code tracker.
Expect: digit to be entered once Actual: digit is entered twice Emacs version 24.3.1
This workaround fixes it: (add-hook 'calc-mode-hook #'(lambda () (autopair-global-mode -1)))
Note, that autopair-global-mode has to be unset in the hook, not autopair-mode (as recommended in the docs)