Gary Johnson wrote:

> I sometimes search for lines that exceed some length with a search
> pattern like this:
> 
>     /\%79v.
> 
> Even when the number of matches is small, the search count message
> sometimes shows "[?/??]".

This happens when the search runs into a time limit.  It is currently
set to 40 msec.  That's high enough to make most searches work, and low
enough that you usually don't notice the delay.

There currently is no way to set another timeout.  You can pass a
timeout to the searchcount() function, but that's not used here.

Adding an option for the time is likely not very useful, you would want
to keep it low normally, and only set it high when you actually look
at the count.  Perhaps we should have a command to force displaying the
count without a timeout.


-- 
hundred-and-one symptoms of being an internet addict:
167. You have more than 200 websites bookmarked.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20211231120300.055DF1C0A5B%40moolenaar.net.

Raspunde prin e-mail lui