On Friday, 13 June 2014 15:50:50 UTC+1, Christian Brabandt  wrote:
> Hi Bram!
> 
> 
> 
> On Do, 12 Jun 2014, Bram Moolenaar wrote:
> 
> 
> 
> > Almost.  This code now uses clip_did_set_selection for two purposes.  I
> 
> > would reset clip_unnamed before calling global_exe(), where you set
> 
> > clip_did_set_selection to FALSE.  Simlarly in ex_listdo().
> 
> 
> 
> I wouldn't. Saves us an another global variable and makes 
> 
> adjust_clip_reg() just work. And it isn't actually needed is it?
> 
> 
> 
> > Oh, and move the calls to clip_own_selection() to a function, instead of
> 
> > copying this code to three places.  That function would then also
> 
> > restore clip_unnamed.
> 
> 
> 
> Ok that would work. Here is an updated patch.

I have tried this patch and it made no difference! It's still slow when I try 
g!/<pattern>/d. Using d_ was fine as expected.


This is Windows 7 x64.

Praful

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