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

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

[elpa] externals/mct 0c575c23c4 04/64: Add TODO: mct-region-mode could b


From: ELPA Syncer
Subject: [elpa] externals/mct 0c575c23c4 04/64: Add TODO: mct-region-mode could be buffer local
Date: Thu, 30 Dec 2021 23:57:49 -0500 (EST)

branch: externals/mct
commit 0c575c23c4341d526479f16f72f80efb6a10aebd
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Add TODO: mct-region-mode could be buffer local
    
    Compare corfu-mode and corfu-global-mode
---
 mct.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/mct.el b/mct.el
index 52c3024478..91e2a48d4a 100644
--- a/mct.el
+++ b/mct.el
@@ -1169,6 +1169,12 @@ Meant to be added to `after-change-functions'."
 ;;;###autoload
 (define-minor-mode mct-region-mode
   "Set up interactivity over the default `completion-in-region'."
+  ;; TODO the mct-region-mode should be buffer-local. One may want to use
+  ;; different completion-in-region UIs depending on the major mode/buffer. Of
+  ;; course it is only my preference to make this configurabe, but in principle
+  ;; nothing is hindering us from offering mct-region-mode as a local mode. In
+  ;; contrast, for mct-minibuffer-mode, offering a buffer-local mode does not
+  ;; make sense.
   :global t
   (if mct-region-mode
       (progn



reply via email to

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