On 10-Jan-2011 baumann Pan <[email protected]> wrote:
> First,
> sorry for repeating the email  because I am not writing on google
> groups( to do that i have to bypass china firewall which cause the
> bandwith too slow).
> so I write the mail directly from gmail.
> and I did not get the email  i wrote in the vim-user, vim-dev list, I
> repeat sending the mail.

I didn't bother to try to find out what country you were posting from.
I'm sorry for the troubles you are having with internet access in China.
And I'm sorry for making a fuss about your emails then.

> On Mon, Jan 10, 2011 at 1:47 AM, Lech Lorens <[email protected]> wrote:
> > On 07-Jan-2011 "baum...@pan" <[email protected]> wrote:
> >> Hi All, I found an problem with omni completion.
> > […]
> >
> > Works fine for me.
> > I think you will have to compare the working scenario with the faulty
> do you install omnicppcomplete plugin the script id 1520?

I didn't install any additional plugin to make omni completion work for
C.

> if the plugin installed. it's ok for me too.
> if not. a) on windows, the gvim works but vim launched from cmd shell
> won't.( same files, same tag file)
> b) on ubuntu, either gvim or vim from shell will work.
> the ccomplte.vim is of 2010 Mar 23 by Bram Moolenaar.

I didn't get that after reading your first email. So as to avoid further
misunderstandings, can you - please - answer each of the following
questions in turn? Please, confirm if I get the facts correctly:
- omni completion works correctly on Ubuntu and in gvim on Windows,
- on Windows under console you get the completion from "X->" to
  "X->undo" (or to "X->undo->"), but you get no completion for
  "X->undo->".

Now, tell me what versions of gvim and console vim under Windows you
are running. Open both, they should display the version on the splash
screen (execute ":version" if they don't). E.g. vim I got with my Ubuntu
says it's version 7.2.330.

Let's analyse console vim on Windows. For "X->" do you get completion to
"X->undo" or to "X->undo->"?

Do you get any messages (some error indication in the status line?) if
you try to complete "X->undo->"?

Are you sure that console vim and gvim on Windows use the same runtime
files? Can you verify this? First check what output ":echo $VIMRUNTIME"
in gvim and console vim produces.

Now, compare the contents of $VIMRUNTIME/autoload/ccomplete.vim. To do
so, please, open vim (and gvim) without editing any files in it. Once
you do, type:
:e $VIMRUNTIME/autoload/ccomplete.vim
and press Enter.

Are the script versions the same for console vim and gvim?

-- 
Cheers,
Lech

-- 
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

Raspunde prin e-mail lui