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 -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///