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

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

[elpa] externals/mct 1762cb9: Stop binding minibuffer-force-complete


From: ELPA Syncer
Subject: [elpa] externals/mct 1762cb9: Stop binding minibuffer-force-complete
Date: Wed, 1 Dec 2021 01:57:27 -0500 (EST)

branch: externals/mct
commit 1762cb93205689087653e6157b6db4fd0e6a5daa
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Stop binding minibuffer-force-complete
    
    This is something that users should do in their personal configurations.
    For the purposes of mct, it is better to adhere to the default behaviour
    whenever that does not contradict the goals of the package.
---
 README.org | 17 ++++++++---------
 mct.el     |  1 -
 2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/README.org b/README.org
index e99fec9..469a178 100644
--- a/README.org
+++ b/README.org
@@ -231,15 +231,14 @@ provides sample code).
 There are several ways to select a completion candidate.
 
 1. Suppose that you are typing =mod= with the intent to select the
-   =modus-themes.el= buffer.  To force complete the first candidate follow
-   up =mod= with the =TAB= key (~minibuffer-force-complete~).  This does not
-   exit the minibuffer, meaning that it does not confirm your choice.
-   It just expands your input to the first likely candidate.  To confirm
-   your choice, use =RET=.  If done fast enough, no completions will be
-   shown (depending on your minimum input threshold and the live-update
-   delay).  If you made a mistake, just use ~undo~.  If the candidates
-   meet the ~completion-cycle-threshold~ hit =TAB= again to switch between
-   them.
+   =modus-themes.el= buffer.  To complete the candidate follow up =mod= with
+   the =TAB= key (~minibuffer-complete~).  If the match is unique, the text
+   will be expanded.  Otherwise the =*Completions*= buffer will appear.
+   This does not exit the minibuffer, meaning that it does not confirm
+   your choice.  To confirm your choice, use =RET=.  If you ever make a
+   mistake and expand the wrong candidate, just use ~undo~.  Lastly note
+   that if the candidates meet the ~completion-cycle-threshold~ hitting
+   =TAB= again will switch between them.
 
    #+findex: mct-choose-completion-exit
 2. While cycling through the completions' buffer, type =RET= to select and
diff --git a/mct.el b/mct.el
index 5c419f9..7756c6d 100644
--- a/mct.el
+++ b/mct.el
@@ -991,7 +991,6 @@ region.")
 (defvar mct-minibuffer-local-completion-map
   (let ((map (make-sparse-keymap)))
     (define-key map (kbd "C-j") #'exit-minibuffer)
-    (define-key map (kbd "<tab>") #'minibuffer-force-complete)
     (define-key map [remap goto-line] #'mct-choose-completion-number)
     (define-key map (kbd "M-e") #'mct-edit-completion)
     (define-key map (kbd "<C-return>") #'mct-complete-and-exit)



reply via email to

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