On Sun, May 19, 2013 at 02:39:43AM -0700, ZyX wrote:
> You don’t need python to write the same workaround. What we are doing here is 
> having a global value of statusline set to a function that assigns local &stl 
> values with window identifiers (they have to be recorded in window variable) 
> in arguments. Assigning is done by iterating over windows and checking whether
> 
> 1. window already has window_id marker;
> 2. local &stl value is already set to a value with window_id in arguments.
> 
> To avoid unnecessary redraws assigning happens only when one of the above 
> conditions is false. window_id marker is used to determine window number: 
> when iterating function used in local &stl value also compares window_id from 
> its arguments with window_ids of the windows. Window number is used to get 
> all other properties like current buffer.

I'm using that trick so I have the window_id, how do I use it to get
buffer/window local variables?

-- 
-- 
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.


Raspunde prin e-mail lui