[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/mct 038ff66a54 06/23: Refine mct-tcm interaction model
From: |
ELPA Syncer |
Subject: |
[elpa] externals/mct 038ff66a54 06/23: Refine mct-tcm interaction model |
Date: |
Fri, 25 Feb 2022 07:57:37 -0500 (EST) |
branch: externals/mct
commit 038ff66a548e99b084af1ea24a85bc5ebf27987d
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Refine mct-tcm interaction model
1. Always insert characters at the end of the minibuffer's input.
2. Make mct-live-completion 'visible' so that if the user had the
Completions in the window, they will always stay there.
3. Remove the minimum input threshold and delay between updates. In
essence, when the user interacts with mct-tcm, they are making the
current completion session behave as if it belonged to the
mct-completion-passlist.
For a discussion, see issue 25:
<https://gitlab.com/protesilaos/mct/-/issues/25>.
---
mct-tcm.el | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/mct-tcm.el b/mct-tcm.el
index 9508aac76b..86b71dbcdf 100644
--- a/mct-tcm.el
+++ b/mct-tcm.el
@@ -58,6 +58,10 @@ minibuffer while narrowing to the given input."
(or (memq 'shift (event-modifiers char))
(not (event-modifiers char))))
(select-window mini)
+ (goto-char (point-max))
+ (setq-local mct-live-completion 'visible)
+ (setq-local mct-live-update-delay 0)
+ (setq-local mct-minimum-input 0)
(insert char))))
(declare-function mct--minibuffer-p "mct")
- [elpa] externals/mct updated (3c64d4e17f -> dea21e4701), ELPA Syncer, 2022/02/25
- [elpa] externals/mct 8ac051b52d 04/23: Reorganise mct-tcm.el; read shifted keys, ELPA Syncer, 2022/02/25
- [elpa] externals/mct b97eb2a2e6 03/23: Update mct-tcm doc strings, ELPA Syncer, 2022/02/25
- [elpa] externals/mct 2028e464b6 07/23: Reword mct-tcm Commentary, ELPA Syncer, 2022/02/25
- [elpa] externals/mct 4e425dfaef 15/23: Avoid mct-tcm interaction with completion-at-point, ELPA Syncer, 2022/02/25
- [elpa] externals/mct d55400b6b1 13/23: Improve mct-tcm documentation, ELPA Syncer, 2022/02/25
- [elpa] externals/mct 894a6ccc84 19/23: Require seq library in mct-tcm, ELPA Syncer, 2022/02/25
- [elpa] externals/mct 038ff66a54 06/23: Refine mct-tcm interaction model,
ELPA Syncer <=
- [elpa] externals/mct a551ab0fdb 05/23: Require mct library, ELPA Syncer, 2022/02/25
- [elpa] externals/mct 9e11607409 14/23: Minor rewording, ELPA Syncer, 2022/02/25
- [elpa] externals/mct dea21e4701 23/23: Warn about mct extensions directory, ELPA Syncer, 2022/02/25
- [elpa] externals/mct 79416f1ca8 08/23: Fix indentation, ELPA Syncer, 2022/02/25
- [elpa] externals/mct 6b6b9c3a9f 18/23: Require subr-x only at compile time, ELPA Syncer, 2022/02/25
- [elpa] externals/mct 35384917af 01/23: Add prototype for continuous input, ELPA Syncer, 2022/02/25
- [elpa] externals/mct f9394ede61 10/23: Add FIXME for weird Emacs 27 bug, ELPA Syncer, 2022/02/25
- [elpa] externals/mct 7ebf1826b5 02/23: Put "continuous input" code in its own file, ELPA Syncer, 2022/02/25
- [elpa] externals/mct cf9af9118a 12/23: Remove superfluous 'declare-function', ELPA Syncer, 2022/02/25
- [elpa] externals/mct bd105cc7b4 17/23: Handle C-DEL and M-DEL in mct-tcm, ELPA Syncer, 2022/02/25