~suntong001/emacs-starter-kit/+git/master:feature/completions-highlight-modifications

Last commit made on 2020-11-22
Get this branch:
git clone -b feature/completions-highlight-modifications https://git.launchpad.net/~suntong001/emacs-starter-kit/+git/master

Branch merges

Branch information

Name:
feature/completions-highlight-modifications
Repository:
lp:~suntong001/emacs-starter-kit/+git/master

Recent commits

c7c47e7... by Ergus

Try another approach even simpler.

Perform all the operations directly in the completions buffer.

5dd563f... by Ergus

Renamed completions-highlight as zcomplete

60a1003... by Ergus

Fix precious commit.

*
lisp/completions-highlight.el (completions-highlight--hide-completions-advise)
: New function to advise minibuffer-hide-completions.
(completions-highlight-select-near) : Unconditional recenter

25f23b1... by Ergus

Add try to close completions more often like zsh.

*
lisp/completions-highlight.el (completions-highlight-maybe-close-completions)
: New function to perform more actions on pre-command-hook.

c990a28... by Ergus

Simplify and add custom

* lisp/completions-highlight.el (completions-highlight-tab-no-scroll) :
New option to control if scroll or select with tab.
(completions-highlight--this-completion) : Removed
(completions-highlight-select-near) : Do search closer if not at point.
(with-minibuffer-scroll-window) : Changed to a function using Juri
Linkov
(minibuffer-choose-completion) : use
completions-highlight-from-minibuffer
(completions-highlight-minibuffer-map) : Use dolist and set only
completions-highlight-from-minibuffer
(completions-highlight--minibuffer-tab-through-completions) : Consider
the new custom to not scroll with tabs.

6369e59... by Ergus

Other changes:

* lisp/completions-highlight.el (completions-highlight-this-completion) :
Rename as completions--highlight-this-completion
(completions-highlight-set-suffix) : New custom to control suffix in insertion

3319dcc... by Ergus

New command minibuffer-choose-completion

This command uses *Completions* candidates only when highlighted.

bfb8a71... by Ergus

Add ignore-errors when executing from minibuffer

This asserts that the hooks are executed in some cases like when EOB.
*
lisp/completions-highlight (completions-highlight-completions-visible-p)
: New function

6ea2c5c... by Ergus

Fixes:

* lisp/completions-highlight.el (minibuffer-completion-set-suffix) :
Renamed as minibuffer-completion--set-suffix.
(completions-highlight--clear-suffix) : New function
(completions-highlight-minibuffer-tab-through-completions) : Renamed as
completions-highlight--minibuffer-tab-through-completions
(completions-highlight-completions-pre-command-hook) :
(completions-highlight-minibuffer-pre-command-hook) : Removed and
references substituted with completions-highlight--clear-suffix.

10359ba... by Ergus

Fix previous commit