Sunday, May 5, 2019

Re: ":helptags $VIMRUNTIME/doc" gives Error E154: Duplicate tag ":cbe" in quickfix.txt

On Sun, May 5, 2019 at 8:46 PM Yegappan Lakshmanan <yegappanl@gmail.com> wrote:
> Hi Tony,
>
> On Sun, May 5, 2019 at 10:38 AM Tony Mechelynck
> <antoine.mechelynck@gmail.com> wrote:
>
> > *:cbe* is found twice in quickfix.txt: at line 142 as a synonym of
> > :cbelow and at line 157 as a synonym of :cbefore. AFAICT it means the
> > latter but ":help :cbe" goes to the former.
> >
> > This is after the runtime update which is part of patch 8.1.1280.
> >
>
> Thanks for the report. I have fixed this in PR 4344.
>
> https://github.com/vim/vim/pull/4344
>
> - Yegappan

IIUC the proposed change at lines 157-158 is not necessary: typing
:cbe executes the :cbefore command (it fails when there is nowhere to
go backward to and otherwise it goes to some earlier spot in the
text). I tested this after generating a "reproducible" quickfix list
with
:helpgrep cbe

Best regards,
Tony.

--
--
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/d/optout.

No comments: