Srinath Avadhanula wrote: > 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.
I think trying to get items from an empty list should produce an error message. -- hundred-and-one symptoms of being an internet addict: 266. You hear most of your jokes via e-mail instead of in person. /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://www.ICCF.nl ///
