Hi Bram, a[M:N] does truncate when N > len(a). However, this still gives an error when len(a) = 0. Can this be changed as well to return just an empty list? I appreciate your changing the previous behavior. It made things a lot simpler... I am presently aiming to release a beta version of vim-latex for vim7 around the same time you release vim7. The code has reduce about 30% (!!!) using the list/dictionaries and expanded functions of vim7.
Thanks Srinath
