Dne úterý, 13. května 2014 12:55:41 UTC+2 Igor Gnatenko napsal(a):
> On Mon, 2014-05-12 at 23:16 -0700, Vít Ondruch wrote:
>
> > Dne pondělí, 12. května 2014 17:52:03 UTC+2 Christian Brabandt napsal(a):
>
> > > Am 2014-05-12 17:42, schrieb Vít Ondruch:
>
> > >
>
> > > > Dne pondělí, 12. května 2014 17:22:29 UTC+2 Christian Brabandt
>
> > >
>
> > > > napsal(a):
>
> > >
>
> > > >> Am 2014-05-12 17:10, schrieb Vít Ondruch:
>
> > >
>
> > > >>
>
> > >
>
> > > >> > Hi,
>
> > >
>
> > > >>
>
> > >
>
> > > >> >
>
> > >
>
> > > >>
>
> > >
>
> > > >> > Edditing .spec file, going into some file using "gt" and return back
>
> > >
>
> > > >>
>
> > >
>
> > > >> > by "b#", I always get this annoying error:
>
> > >
>
> > > >>
>
> > >
>
> > > >> >
>
> > >
>
> > > >>
>
> > >
>
> > > >> >> "ruby.spec" 1551L, 54263C
>
> > >
>
> > > >>
>
> > >
>
> > > >> >> Error detected while processing
>
> > >
>
> > > >>
>
> > >
>
> > > >> >> /usr/share/vim/vim74/ftplugin/spec.vim:
>
> > >
>
> > > >>
>
> > >
>
> > > >> >> line 20:
>
> > >
>
> > > >>
>
> > >
>
> > > >> >> E227: mapping already exists for ~@�SSpecChangelog
>
> > >
>
> > > >>
>
> > >
>
> > > >> >> Press ENTER or type command to continue
>
> > >
>
> > > >>
>
> > >
>
> > > >> >
>
> > >
>
> > > >>
>
> > >
>
> > > >> > (Yes, there are displayed some weird characters in front of
>
> > >
>
> > > >>
>
> > >
>
> > > >> > SSpecChangelog). I am currently using:
>
> > >
>
> > > >>
>
> > >
>
> > > >> >
>
> > >
>
> > > >>
>
> > >
>
> > > >> > $ rpm -q vim-enhanced
>
> > >
>
> > > >>
>
> > >
>
> > > >> > vim-enhanced-7.4.258-2.fc21.x86_64
>
> > >
>
> > > >>
>
> > >
>
> > > >> >
>
> > >
>
> > > >>
>
> > >
>
> > > >> > but I observe this bug for some while already, may be since 7.4? Not
>
> > >
>
> > > >>
>
> > >
>
> > > >> > sure.
>
> > >
>
> > > >>
>
> > >
>
> > > >> >
>
> > >
>
> > > >>
>
> > >
>
> > > >> > Any help appreciated.
>
> > >
>
> > > >>
>
> > >
>
> > > >>
>
> > >
>
> > > >>
>
> > >
>
> > > >> Looks like the specific vim ftplugin does not guard against renmapping
>
> > >
>
> > > >>
>
> > >
>
> > > >> the
>
> > >
>
> > > >>
>
> > >
>
> > > >> same sequence again.
>
> > >
>
> > > >
>
> > >
>
> > > > Yes, that was my first thought as well, but there is:
>
> > >
>
> > > >
>
> > >
>
> > > >
>
> > >
>
> > > > if !hasmapto("<Plug>SpecChangelog")
>
> > >
>
> > > > map <buffer> <LocalLeader>c <Plug>SpecChangelog
>
> > >
>
> > > > endif
>
> > >
>
> > > >
>
> > >
>
> > > >
>
> > >
>
> > > > which looks as a guard to me. But I'm not expert :)
>
> > >
>
> > >
>
> > >
>
> > > It does. But not the following line (which BTW, is exactly the line
>
> > >
>
> > > given
>
> > >
>
> > > in the error message):
>
> > >
>
> > >
>
> > >
>
> > > noremap <buffer> <unique> <script> <Plug>SpecChangelog :call
>
> > >
>
> > > <SID>SpecChangelog("")<CR>
>
> > >
>
> > >
>
> > >
>
> > > Note, the <unique>, which makes Vim throw an error.
>
> > >
>
> >
>
> > Ahh, you are right indeed. Thanks! So here is the patch fixing the issue.
>
> >
>
> > Adding Igor Gnatenko, the current maintainer into CC. Hopefully he can
> > review.
>
> Thank you for the patch. Looks good to me. I'll send updated plugin to
>
> Bram. But in Fedora maintainer Karsten Hopp unfortunately doesn't
>
> updating spec plugin. Could you open bug in RHBZ for updating spec
>
> plugin from upstream ?
>
> >
>
> > Vít
>
> >
>
> Reviewed-by: Igor Gnatenko <[email protected]>
>
>
>
> --
>
> -Igor Gnatenko
Hi Igor,
I recently update my VIM to 7.4.402:
$ rpm -q vim-X11
vim-X11-7.4.402-1.fc22.x86_64
but this is not fixed yet. What is the status of the patch?
Regards,
Vít
--
--
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.