[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/mct 25f876c 34/70: Do not use line-based completion in
From: |
ELPA Syncer |
Subject: |
[elpa] externals/mct 25f876c 34/70: Do not use line-based completion in grid views |
Date: |
Thu, 11 Nov 2021 03:57:46 -0500 (EST) |
branch: externals/mct
commit 25f876cb7b88c8f50bb0e216a3737af69cf0c08f
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Do not use line-based completion in grid views
This extends commit 17abf47.
---
mct.el | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/mct.el b/mct.el
index 5b0d435..65b4d5e 100644
--- a/mct.el
+++ b/mct.el
@@ -630,16 +630,18 @@ are always visible).
This command can be invoked from either the minibuffer or the
Completions' buffer."
(interactive nil mct-mode)
- (let ((mct-remove-shadowed-file-names t)
- (mct-live-update-delay most-positive-fixnum)
- (enable-recursive-minibuffers t))
- (unless (mct--get-completion-window)
- (mct--show-completions))
- (if (or (and (derived-mode-p 'completion-list-mode)
- (active-minibuffer-window))
- (and (minibufferp)
- (mct--get-completion-window)))
- (mct--line-number-selection))))
+ (if (not (eq completions-format 'one-column))
+ (user-error "Cannot select by line in grid view")
+ (let ((mct-remove-shadowed-file-names t)
+ (mct-live-update-delay most-positive-fixnum)
+ (enable-recursive-minibuffers t))
+ (unless (mct--get-completion-window)
+ (mct--show-completions))
+ (if (or (and (derived-mode-p 'completion-list-mode)
+ (active-minibuffer-window))
+ (and (minibufferp)
+ (mct--get-completion-window)))
+ (mct--line-number-selection)))))
(defvar crm-completion-table)
- [elpa] externals/mct b392b0b 15/70: Allow for completions-format to be configured by the user, (continued)
- [elpa] externals/mct b392b0b 15/70: Allow for completions-format to be configured by the user, ELPA Syncer, 2021/11/11
- [elpa] externals/mct c36c7e8 11/70: Add new option mct-live-completion, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 1084f58 16/70: Clarify mct-live-completion doc string, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 310cc42 01/70: Initial commit, ELPA Syncer, 2021/11/11
- [elpa] externals/mct ccce90d 08/70: Make line number selection always exit minibuffer, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 436b24e 13/70: Allow customizing how the Completions buffer is displayed, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 9e0d523 18/70: Change default value of mct-display-buffer-action, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 51c1e17 23/70: Reuse existing Completions' before re-displaying, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 0d98ba7 30/70: Include mct-display-buffer-action in the manual, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 08f806e 29/70: Do not set completions-detailed, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 25f876c 34/70: Do not use line-based completion in grid views,
ELPA Syncer <=
- [elpa] externals/mct 8522a67 38/70: Add mct-choose-completion-no-exit command, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 2e8c44a 40/70: Tweak mct-beginning-of-buffer, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 099e204 42/70: Make mct-choose-completion-dwim never exit, ELPA Syncer, 2021/11/11
- [elpa] externals/mct be15b4b 44/70: Re-order mct-completion-list-mode-map, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 640ce43 24/70: Update code sample in mct-display-buffer-action, ELPA Syncer, 2021/11/11
- [elpa] externals/mct d21edfb 26/70: Make mct--fit-completions-window more robust, ELPA Syncer, 2021/11/11
- [elpa] externals/mct dc3c224 32/70: Update Acknowledgements in the manual, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 17abf47 33/70: Make cycling robust for all completions-format, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 613252a 27/70: Use internal function to fit Completions' window, ELPA Syncer, 2021/11/11
- [elpa] externals/mct 6db7f29 36/70: Rewrite mct-edit-completion for greater accuracy, ELPA Syncer, 2021/11/11