On 11/10/12 23:23, bilibop project wrote:
Hi again,

--------message d'origine --------
De: "Christian Brabandt" <[email protected]>
Sujet: Re: Commandmode autocomplete
Date: Thu, 11 Oct 2012 15:46:40 +0200

It seems we are agree about the <Right> behaviour when 'wildmenu' is on.

Can you quote me this part of the documentation ? I don't remember have
read somewhere that the Right-arrow is disabled when default settings are
applied, but just that 'wildmenu' gives it a specific behaviour.

,----[ :h 'wildmenu' ]-
| <Left> <Right>    - select previous/next match (like CTRL-P/CTRL-N)
`----

Yes, I know.

,----[ :h c_<Right> ]-
|                       *c_<Right>* *c_Right*
| <Right>         cursor right
`----

Yes, I know. But  what can happen when the cursor is already at the end
of the line ? On your systems, nothing; but on mine, <Right> works like
<Down>... my apologies, but I'm not responsible of this fact, even if it
not documented. I just say it exists on my Debian system with Vim version
7.3.547-4.

AFAIK, with 'wildmenu' on, when the cursor is already at the end of the statusline you get one further screenwidth of menuitems if there are any; and when it is on the last menuitem, <Right> brings you to what you typed with no completion, and <Right> again wraps around to the first menuitem. Except that if there is only a single matching completion, <Tab> adds it on the commandline and no menu appears.

Debian is infamous for bringing so-called "improvements" to software, even sometimes breaking the functionality desired by the software's author, and without making it obvious what changes they brought. (Part, but not all, of the Firefox-Thunderbird-SeaMonkey vs. Iceweasel-Icedove-Iceape contestation was about this behaviour.) I wonder what you would see with a Vim built from Bram's authentic sources. See the following HowTo pages:

http://vim.wikia.com/wiki/Getting_the_Vim_source_with_Mercurial
http://users.skynet.be/antoine.mechelynck/vim/compunix.htm

Also, even if Debian didn't break Vim this time, the current patchlevel is 7.3.687; patch 547 was published a little more than 4 months ago. Maybe the bug was fixed in the meantime? See http://ftp.vim.org/pub/vim/patches/7.3/README for a one-line summary of every official patch to Vim 7.3.


Have you even tried to verify your assertions without loading your
system/user vimrc ?

Of course I have on Windows as on Linux.

OK. In that case the solution about the different behaviours of the <Right>
key should come from out of the box. Maybe readline settings or terminfo
or something else... (I have made some tests with different settings in my
.inputrc, with 'convert-meta' on/off and some others, but nothing: in my
case <Right> is useful in commandmode completion, that's all; I will surely
not complain about that).

Cheers,
quidame



Best regards,
Tony.
--
Every successful person has had failures but repeated failure is no
guarantee of eventual success.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to