DogLooksGood / parinfer-mode

Parinfer for Emacs :)
GNU General Public License v3.0
407 stars 33 forks source link

Compatibility for cua-mode. #35

Closed DogLooksGood closed 7 years ago

DogLooksGood commented 7 years ago

Mentioned at #14 , cua-mode overwrite = the default keybindings, maybe an extension for compatibility is needed. Need some use cases, e.g. with cua-mode, what we can do? how?

DogLooksGood commented 7 years ago

Did a little fix on mechanism. Since parinfer-mode can hardly fixed parens when region is active(my technical limit), parinfer-mode will keep slient until region is deactivated.

No longer use deactivate-mark-hook, because cua-mode will inhibit it. This may be a bug: https://lists.gnu.org/archive/html/bug-gnu-emacs/2016-04/msg00400.html