VERIFIED FIXED.
But: the example at line 75 of helphelp.txt doesn't use a "pattern"
but a "string", unlike what the text seems to imply, because to use a
pattern in :tselect there must be a leading slash. This is a
documentation bug. I'm attaching a proposed tentative patch. This
patch is not perfect: maybe the pattern should be made more
restrictive to limit the number of results to less than one full
screen, maybe ten or so, rather than everything which includes the
letter z other than at the end. Let's say
:help index| tse /^z.$
instead? Hm, this still produces 43 results, but I'm at a loss about
how to "reasonably" produce a smaller result set.
Ah, here is an idea:
:help index| tse /^:help
gives just 9 results, and fits in nicely with what is being discussed
in that chapter of helphelp.txt. (The colon in front of tse, as used
in the present help text, is of course superfluous but not harmful.)
Best regards,
Tony.
On Thu, Feb 9, 2017 at 7:33 AM, Christian Brabandt <[email protected]> wrote:
> On Mi, 08 Feb 2017, Bram Moolenaar wrote:
>
>> Patch 8.0.0315
>> Problem: ":help :[range]" does not work. (Tony Mechelynck)
>> Solution: Translate to insert a backslash.
>> Files: src/ex_cmds.c
--
--
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.
--- a/runtime/doc/helphelp.txt 2016-09-12 15:50:25.872470176 +0200
+++ b/runtime/doc/helphelp.txt 2017-02-09 12:27:35.766240262 +0100
@@ -67,17 +67,17 @@
< This also works together with other characters, for
example to find help for CTRL-V in Insert mode: >
:help i^V
<
To use a regexp |pattern|, first do ":help" and then
use ":tag {pattern}" in the help window. The
":tnext" command can then be used to jump to other
matches, "tselect" to list matches and choose one. >
- :help index| :tse z.
+ :help index| :tse /z.
< When there is no argument you will see matches for
"help", to avoid listing all possible matches (that
would be very slow).
The number of matches displayed is limited to 300.
This command can be followed by '|' and another
command, but you don't need to escape the '|' inside a