On Thu, June 6, 2013 07:25, Marc Weber wrote: > unpack into its own directory in tmp, then run the .sh script > http://mawercer.de/tmp/test-case.zip > > using debugging, vim quits after the line > > -V20./log trace: > > line 1: let r = [] > line 2: for x2 in getqflist() > line 3: " make a copy of the dictionary, this does not fix it > line 4: let x = eval(string(x2)) > line 5: if has_key(x, 'text') > line 6: call add(r, x) > line 7: let reg = '\(lines[^:]*:[^:]*\|characters [^-]*-[^ ]* \): > \(.*\) should be \(.*\)' > line 8: if x.text =~ reg > line 9: let l = matchlist(x.text, reg) > line 10: x.text = l[1] > Writing viminfo file "/home/marc/.viminfo"% > I expect the function to finish cleanly. > > exit code 0
You are missing a let here, so you are basically doing :x here and Vim is doing as told. > > I have another trace, same function but original name: > > function haxe#FormatErrors > line 7: let l = matchlist(x.text, reg) > > > function haxe#FormatErrors > line 8: x.text = l[1] > > > BufDelete Auto commands for "*" > cmd: call <SID>BMRemove() > > > > why does BufDelete Auto kick in here? > (this was gtk version) Because you are quitting? regards, Christian -- -- 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/groups/opt_out.
