When using dynamic completion,
rectangle-mark-mode is broken, in so far as
C-w no longer respects just killing the rectangle but instead kills the usual full (non-rectangular) region.
M-w on the other hand works, because it is the original function, while
C-w is overloaded with
To test: try
C-x SPC once bound to
kill-region and once bound to
completion-kill-region (or simply
M-x the two functions with an active rectangular region).
I have "fixed" it in my
init.el in the following hackish way
(add-hook 'rectangle-mark-mode-hook (lambda () (if rectangle-mark-mode ;; entering... (if (not dynamic-completion-mode) (setq restore--dyncomplete nil) (setq restore--dyncomplete t) (dynamic-completion-mode -1)) ;; ...else leaving (if restore--dyncomplete (dynamic-completion-mode t)))))
What would be the right way to do it? Who to reach to have this fixed upstream? In the file it only says emacs-devel as the maintainer...