On So, 11 Sep 2016, h_east wrote:

> Hi ChrisBra, Bram and list,
> 2016-7-24(Sun) 0:36:14 UTC+9 Christian Brabandt:
> > On Sa, 23 Jul 2016, Bram Moolenaar wrote:
> > > Christian Brabandt wrote:
> > I think I also found a bug, and this makes the test currently fail.
> > Take this example from the test:
> > 
> > (The popupmenu is the one from the help for all months)
> > The initial state of the buffer is this:
> > ,----
> > | D
> > | December2015
> > `----
> 
> I have investigated this behavior.
> 
> Related vim_dev threads:
> - Patch 7.4.2146
>   https://groups.google.com/d/msg/vim_dev/75ZXlRlBzl4/DDnqvSn9BgAJ
> - [vim/vim] VIM 7.4: Possible regression via patch 2146? (#972)
>   https://groups.google.com/d/msg/vim_dev/mQ2YacpOKvo/vOsgkU-2AQAJ
> - Patch 7.4.2188
>   https://groups.google.com/d/msg/vim_dev/e2Rr8Px3qkQ/1XWiAQ0LAgAJ
> 
> I think the series of <C-E> behavior is correct.

okay.

> > ,----
> > | Dece
> > | 
> > | December2015
> > `----
> > (because after inserting the match <c-e> is still in popupmenu mode and
> > "ends completion and goes back to what was there before selecting a 
> > match")
> > 
> > However, a total mystery is to me, when the test is run, it will 
> > complete to 
> > 
> > ,----
> > | December2015
> > | December2015
> > | December2015
> > `----
> 
> Hmm?, I got the following result. (make test_popup in 7.4.2358)
> 
> 1 FAILED:
> Found errors in Test_popup_complete2():
> function RunTheTest[9]..Test_popup_complete2 line 10: Expected 
> ['December2015', '', 'December2015'] but got ['Dece', '', 'December2015']
> 
> I think `['Dece', '', 'December2015']` is right.

Okay then we can enable the test again and need to change the test 
assert.

Best,
Christian
-- 
Alles was man will, kostet etwas mehr als es wert ist.
  (Das zweite Gesetz der Thermodynamik)

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui