Saturday, February 8, 2014

Bug in :help parsing (was Re: How to capitalize the first letter of each word?)

On 2014-02-08 09:45, Peng Yu wrote:
> > Strangely, the help-target ":help s/\U" (upper-case "U") takes
> > you to the same place as ":help s/\&" does rather than to the
> > help on \U (at least in 7.3.547 which is stock on Debian
> > Stable). Fortunately they're in the same block, but it looks
> > like a bug in the help-tagging.
>
> I have vim 7.4 and have the same problems.
>
> ':help s/\&' brings me to *s/\~*.
> ':help s/\U' brings me to *s/\&*.

Additionally, issuing any of

:help s/\1
:help s/\2
:help s/\9

gives me an

E65: Illegal back reference

but then proceeds to go to the correct help target. Issuing

:help s/\~

gives me

E33: No previous substitute regular expression
E149: Sorry, no help for s/\~

despite such a help-target in the aforementioned section.

I seem to recall Bram looking into this a while back and fixing it,
but it seems to have returned.

-tim




--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment