On 10/5/07, Matthew Winn <[EMAIL PROTECTED]> wrote:
>
> I've been working on an implementation of the non-uniform tabstops
> that were discussed about a month ago, and I have a patch ready for
> trying out. I've done some testing on Linux and Windows XP; the parts
> I'm able to test seem to be OK and on Linux it survives "make test"
> cleanly, but I need people to try it out on other systems and test
> the parts I can't reach.
>
> With this patch the set tabstop, set softtabstop and retab commands
> take a comma-separated list of tab widths (as in ":set ts=4,20,8" or
> ":retab 20,4").



You changed the option type from numeric to string, right ?

I believe this breaks some backward-compatibility:
1) The old code rightly expected &ts to be proper number and did
arithmetics on it; this gets broken.
2) Also, if old code had things like 'set ts+=3', 'set ts-=3', it gets
broken, too.

For preserving backward compatibility, I believe it's better
to introduce new option name (some 'vst' for variable tabstop, or suchlike)
than to change the type of existing option.

Yakov

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui