Christian Brabandt wrote: > On So, 12 Mai 2013, Bram Moolenaar wrote: > > > Wouldn't it be better to have the entries and the titles in a list? > > We could do this as well. I don't mind. > > > If getqfstack() is to be used to restore, how does one do that restore? > > The idea is to do something like > " get location list stack > : let stack = getlocstack(0) > " jump to first location list > :lolder 10 > " repopulate location lists > :for id in range(10) > exe printf("call setqflist(a.entry%d, '', a.title%d)", id,id) > endfor
Hmm, that's doable, but not simple. What if the returned structure changes? It's probably better to add setlocstac(). -- We do not stumble over mountains, but over molehills. Confucius /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.