On 12/29/2019 6:11 PM, Ernie Rael wrote:
From python, is it *always* true that "vim.buffer[i].number == i" ?

-ernie

I've convinced myself that this is true. The docs say

   A mapping object providing access to the list of vim buffers.
   ...
   b.number    Buffer number. Can be used as |python-buffers| key.

and the python interface code uses

   b = buflist_findnr((int) bnr);

-ernie

--
--
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/fb71e338-8aff-f204-2e2a-1d398d46c44d%40raelity.com.

Raspunde prin e-mail lui