[Top][All Lists]

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

Re: feature/icomplete-vertical

From: Ergus
Subject: Re: feature/icomplete-vertical
Date: Sat, 19 Sep 2020 13:19:27 +0200

On Sat, Sep 19, 2020 at 10:30:13AM +0000, Gregory Heytings via Emacs 
development discussions. wrote:

Look at the attached patch as it is partially simplified in my local branch.

Thanks, I'll have a look.

It seems to me that it does not work as well as my code, alas. A few points:

- with C-x C-f the default completion, between angle brackets in the original icomplete code, is not shown anymore, unless there is a single candidate (for example in a directory with "foo", "bar1", "bar2", "f" will give "f[oo]" but "b" will give "b[]"); in other words, the "[]" after the point usually serves no purpose

- likewise, with M-x there is a "()" after the point that usually serves no purpose

As you can see in my patch I didn't change that part.

- if I type "M-x icomplete-m", I see the following:

M-x icomplete-m(ode)

where "|" represents the cursor (on the next line!)

I can't reproduce this, normally this happened when there was a missing
space before the newline in icomplete--list-indicators-format, but it is
in the patch....

- when the current line after the prompt is too long the prompt disappears

Yes, set visual-line-mode -1 for this. Is the only solution so far and what I
will do in the setup probably.

- when completing a unique completion with TAB the point is moved to the next line

Same problem of icomplete--list-indicators-format. Did you applied the
patch cleanly?


reply via email to

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