Yakov Lerner wrote:

> Undo after retab modifies 'tabstop' in a way that doesn't look consistent or
> correct.
> Test case:
> ---------------------------------
> vim -u NONE -U NONE
> i<tab>abc<esc>
> :set ts=4
> :retab 8
> u
> ----------------------------------
> After the last u, tabstop changes to 8. But we expect the screen
> to return to the state before :retab where tabstop was 4, not 8.

The ":retab 8" changes the text and the 'tabstop' value.  Undo only
undoes the change to the text.  Undo never changes option values.

-- 
hundred-and-one symptoms of being an internet addict:
168. You have your own domain name.

 /// 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://ICCF-Holland.org    ///

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

Raspunde prin e-mail lui