Hi Bram, On Mon, May 23, 2016 at 12:57 PM, Bram Moolenaar <[email protected]> wrote:
> > Yegappan Lakshmanan wrote: > > > Add the getbufinfo(), getwininfo() and gettabinfo() functions to get > information about > > the list of buffers, windows and tabpages respectively. > > Thanks. > > I would like to invite everybody to review these new functions. Is this > the right way to get the information? > > For getbufinfo() I think it would be useful to be able to specify > whether unlisted buffers are included. That reflects adding "!" to > ":buffers". > I have added support for filtering the buffer list. > > gettabinfo() should return a list of window IDs. > Done. > > getwininfo() should accept a window ID instead of a window nr. > Done. > See win_getid() and win_id2win(). The window ID is more useful than the > window nr, since the nr changes for every layout change. > > I do not like how options are added. The list will soon get outdated. > It should be possible to go over the list of all options and use the > ones that are local to a window or buffer. > > Done. I have updated the patch to go through the options[] array and get the list of options that are local to a window or buffer. Regards, Yegappan -- -- 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.
