emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/multiple-cursors fc39dab 299/434: Adds jedi-mode to list o


From: ELPA Syncer
Subject: [nongnu] elpa/multiple-cursors fc39dab 299/434: Adds jedi-mode to list of unsupported minor modes
Date: Sat, 7 Aug 2021 09:20:46 -0400 (EDT)

branch: elpa/multiple-cursors
commit fc39dab1cbe48cb2c6fed01234b9d3b7fc668b0d
Author: Matthew Darby <me@mjdarby.net>
Commit: Matthew Darby <me@mjdarby.net>

    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.")
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]