On Tue, Dec 8, 2015 at 4:15 PM, Ben Fritz <[email protected]> wrote:
> On Tuesday, December 8, 2015 at 2:26:06 PM UTC-6, DrChip wrote:
>> I glanced at LargeFile (v7c) -- its already saving the current window
>> and jumping back to it
>
> Well thanks for pointing that out...I had been using the version from vim.org 
> which is a couple years old. Hopefully that solves my immediate problem, but 
> I still think MatchParen should probably save/restore windows, unless we 
> break backwards compatibility and fix it in :windo itself.
>
> I'm not sure I'd want :windo changed, since the current behaviour makes sense 
> for :argdo and :bufdo.

Why does it make sense for :argdo and :bufdo?

> I agree I don't like it for :windo and :tabdo but it's easy enough to work 
> around, and at least it's consistent.

What is the easy workaround? If user wants to iterate these objects at
command-line, it requires managing some global state (g: variable(s))
before and after the :windo and :tabdo, not to mention :windo and
:tabdo must now be coddled in a `exe ':tabdo ...'` which now requires
the user to worry about escaping single-quotes.

Why should a user have to fiddle with these workarounds just to
iterate through a list?


Justin M. Keyes

-- 
-- 
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