From fc39dab1cbe48cb2c6fed01234b9d3b7fc668b0d Mon Sep 17 00:00:00 2001 From: Matthew Darby Date: Fri, 18 Apr 2014 12:58:06 +0100 Subject: [PATCH] Adds jedi-mode to list of unsupported minor modes jedi-mode is a minor mode implemented by jedi.el, a Python auto-complete package built on top of Jedi and auto-complete.el. The two primary features of jedi-mode are: 1) Automatically start autocompletion when the dot key is pressed 2) Activate key bindings for moving to variable and function definitions. Neither make much sense in the context of multiple cursors. In fact, because multiple-cursors disables auto-complete-mode, jedi-mode's complete-on-dot function will fail to run correctly. The end result is that typing a dot with multiple cursors active results in only one cursor producing the dot. Because of this bug, and that jedi-mode as a whole doesn't make much sense with multiple cursors, I have added jedi-mode to the list of unsupported minor modes. --- multiple-cursors-core.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multiple-cursors-core.el b/multiple-cursors-core.el index f65ea4f..f8d5409 100644 --- a/multiple-cursors-core.el +++ b/multiple-cursors-core.el @@ -428,7 +428,7 @@ So you can paste it in later with `yank-rectangle'." (unless (mc--all-equal entries) (setq killed-rectangle entries)))) -(defvar mc/unsupported-minor-modes '(auto-complete-mode flyspell-mode) +(defvar mc/unsupported-minor-modes '(auto-complete-mode flyspell-mode jedi-mode) "List of minor-modes that does not play well with multiple-cursors. They are temporarily disabled when multiple-cursors are active.")