Instead of requiring <restore>, the default behavior could be changed.
Can anyone give a single reason why the old behavior is desirable or
useful, or necessary for backwards compatibility?

Ben mentioned that the existing behavior gives the user an indication
that "something was done". But this could be addressed by *actually
providing user feedback* (e.g. a brief message like "processed N
buffers" in the case of :bufdo).


Justin M. Keyes


On Wed, Jan 6, 2016 at 3:42 AM, Christian Brabandt <[email protected]> wrote:
> On Sa, 26 Dez 2015, Christian Brabandt wrote:
>
>> Okay, I'll go with <restore> and check it out within the next 2 weeks. I
>> am on vacation currently, so don't expect anything very soon.
>
> Here is a patch series, that adds the <restore> argument to the
> :windo/bufdo/argdo/cdo commands that should correctly restore the cursor
> position after those commands. The patch includes updates to the
> documentation, a newstyle test and an update to the matchparen plugin,
> that initially caused the trouble.
>
> Instead of sending one single patch, I decided to practice my git skills
> and created a patch series. That should be easier to review. Let's see
> how well this works.
>
> Best,
> Christian
> --
> Es ist leichter zu schmeicheln, als zu loben.
>                 -- Jean Paul
>
> --
> --
> 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/d/optout.

-- 
-- 
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/d/optout.

Raspunde prin e-mail lui