Describe the bug
qf showed messed result if added a invalid item, pls try to reproduce !
// perhaps a bit boring to reproduce/say such 'steps' again and again, me too :( but had no choice, had to doc bugs... :(
// pls try to reproduce, and sorry if had any wording issue in advance..
To Reproduce
1, echo -e "aa\nbb\ncc" >x
2, vi --clean x -c "vimgrep /bb/ % | copen | redraw | clast | call setqflist([' <-- abc'], 'a')"
Expected behavior
pls check 'screenshot' below, normally and compatible result should be showing:
getqflist(), even no that 'invalid' <-- abc item.Environment (please complete the following information):
Additional context
looked into about 60 plugins, looks it impacted lots of plugins behaviour, or unless if i missunderstood/confused something..
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.![]()
I think what you mean is that this part of the help is not applied: "Non-dictionary items in {list} are ignored.".
You pass a string but it's not ignored.
Oh, and this is about quickfix, not the "qf" command (which doesn't exist, I read it as "gf").
yes. 'qf' generally shorten for 'quickfix'. :)
// as compatible, getqflist() should return 'invalid' items also by default.
// and show qf items correctly, even it was an 'invalid' item.
otherwise lots plugins depends on getqflist() to judge qf items would be wrong, and qf items would Not be showed / matched 'getqflist()' reality, and cannot added 'invalid' items (sometime it is intended to do so) into qf.
spent 2 days to look into about 60 plugins, looks it is impacted a lot to plugins' right behaviours ..........
and some native vim cmd e.g 'cgete' etc were wrong, also.. if so...
@yegappan thx. i tried that pr, looks showed 2 'bb' items issue had been fixed. however, i found a weird issue still:

// however i cannot solid reproduce it specially when/if '--clean', i just tried to cadde some invalid items into a existed qf.
// but you saw the items showed is not same like getqflist() get, specially those cadde items merged into that existed item..
// why? not sure if you had chance to know/find-out if there was any possibility to make such case happened..
—
You are receiving this because you were mentioned.
@yegappan thx. i tried that pr, looks showed 2 'bb' items issue had been fixed. however, i found a weird issue still:
// however i cannot solid reproduce it specially when/if '--clean', i just tried to cadde some invalid items into a existed qf.
// but you saw the items showed is not same like getqflist() get, specially those cadde items merged into that existed item..
// why? not sure if you had chance to know/find-out if there was any possibility to make such case happened..
@bfrg not sure that ticket detail, but seems this fix should be helpful to it.
// this fix/ticket i guess would stop many qf related weird issues, help them stop struggling with it.. :)
@yegappan @vim-ml pls ignore what i said second/another weird issue, it should be influenced by efm from somewhere, though so far i am not sure where it is..
// anyway, this qf showed messed result issue had been fixed, thx buddy and @brammool . 👍
—
You are receiving this because you were mentioned.