Re: Cannot create diffs (E97) with Vim 8.0 on Windows 7

2017-07-31 Thread Hugo Gagnon
On Friday, July 28, 2017 at 4:28:23 PM UTC-4, Charles Campbell wrote:
> Hugo Gagnon wrote:
> > Hello,
> >
> > When I pick two files in Explorer and then right click -> "Diff with Vim" I 
> > get the E97 error. I did read the E97 help file and checked if I had 
> > diff.exe installed but I couldn't find anything odd.
> 
> By "Explorer", are you referring to netrw?  If not, ignore the rest of
> this note, please.
> 
> Netrw does not provide a "Diff with Vim".  It does allow you to select
> files (shift-leftmouse  -or-  mf), then select [Netrw:Marked Files:Diff]
> This process uses vim's diffthis on the marked files.
> The self-installing version of vim under Windows includes a diff program
> with it; vim doesn't do diff on its own.
> If you have a diff.exe (from which I'm inferring that you're using
> Windows) make sure that its on your Windows path.  My windows speak is
> rusty; that may be %PATH% ?  Someone please correct me on that.
> 
> Regards,
> Chip Campbell

Since C:\WINDOWS is already in my path I copied diff.exe into it and it now 
works. I know, using C:\WINDOWS is probably a bad idea. In any case thanks for 
the input.

-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Cannot create diffs (E97) with Vim 8.0 on Windows 7

2017-07-27 Thread Hugo Gagnon
Hello,

When I pick two files in Explorer and then right click -> "Diff with Vim" I get 
the E97 error. I did read the E97 help file and checked if I had diff.exe 
installed but I couldn't find anything odd.

Any input?

Thanks,

Hugo

-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Repeated symbols with Cscope

2016-10-14 Thread Hugo Gagnon
On Friday, October 14, 2016 at 4:57:20 PM UTC+2, Christian Brabandt wrote:
> On Do, 13 Okt 2016, Hugo Gagnon wrote:
> 
> > Hello,
> > 
> > For some reason when I do a symbol search with Cscope in Vim I get repeated 
> > symbols, e.g.:
> > 
> > :cs find s setID
> > e.H|188| <> void setID (int ID) { _ID = ID; }
> > e.H|188| <> void setID (int ID) { _ID = ID; }
> > e.H|188| <> void setID (int ID) { _ID = ID; }
> > e.H|188| <> void setID (int ID) { _ID = ID; }
> > 
> > I noticed that the symbols always gets repeated exactly 4 times.
> > 
> > I have the following Cscope related settings in my .vimrc:
> > 
> > if has("cscope") && filereadable("cscope.out")
> >   cscope kill -1
> >   set nocscopeverbose
> >   cscope add cscope.out
> >   set cscopeverbose
> > endif
> > 
> > Anybody has any idea what is going on?
> 
> Does it happen, if you use cscope interactively?
> 
> 
> Best,
> Christian
> -- 
> Das Leben beginnt in einer Zelle
> und bei Strolchen endet's auch in einer solchen.
>   -- Heinz Erhardt

Christian,

No it doesn't, at least not until it started working again. Unfortunately I 
forgot to test that before rebooting my machine...

Hugo

-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Repeated symbols with Cscope

2016-10-14 Thread Hugo Gagnon
On Friday, October 14, 2016 at 4:39:18 PM UTC+2, ewfalor wrote:
> On Thu, Oct 13, 2016 at 10:03:29AM -0700, Hugo Gagnon wrote:
> > Hello,
> > 
> > For some reason when I do a symbol search with Cscope in Vim I get repeated 
> > symbols, e.g.:
> > 
> > :cs find s setID
> > e.H|188| <> void setID (int ID) { _ID = ID; }
> > e.H|188| <> void setID (int ID) { _ID = ID; }
> > e.H|188| <> void setID (int ID) { _ID = ID; }
> > e.H|188| <> void setID (int ID) { _ID = ID; }
> > 
> > I noticed that the symbols always gets repeated exactly 4 times.
> > 
> > I have the following Cscope related settings in my .vimrc:
> > 
> > if has("cscope") && filereadable("cscope.out")
> >   cscope kill -1
> >   set nocscopeverbose
> >   cscope add cscope.out
> >   set cscopeverbose
> > endif
> > 
> > Anybody has any idea what is going on?
> 
> Given the lack of replies on the mailing list it would appear that
> no one has any ideas. Perhaps if you can share some more information
> we can help you find your solution.
> 
> Which versions of Vim and Cscope are you running?
> 
> How are you generating your cscope.out?
> 
> Are you able to share the source code and cscope.out you are working
> on in your example? I could at least find out whether the problem is
> unique to your computer.
> 
> -- 
> Erik Falor
> Registered Linux User #445632http://unnovative.net

Hi Erik,

Thank you for your reply.

My problem is now seemingly gone. Even more strange is that I can't reproduce 
it; all I did was to reboot my machine and build another Cscope database. The 
command that I use is:

cscope -b -q -v -i cscope.files

I use Vim 7.4.52 with Cscope 15.8a.

I am sorry but I cannot share my source code. If I can reproduce the problem I 
will try to create a minimal example and share it with you.

This is all very strange.

Best,

Hugo

-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Repeated symbols with Cscope

2016-10-13 Thread Hugo Gagnon
Hello,

For some reason when I do a symbol search with Cscope in Vim I get repeated 
symbols, e.g.:

:cs find s setID
e.H|188| <> void setID (int ID) { _ID = ID; }
e.H|188| <> void setID (int ID) { _ID = ID; }
e.H|188| <> void setID (int ID) { _ID = ID; }
e.H|188| <> void setID (int ID) { _ID = ID; }

I noticed that the symbols always gets repeated exactly 4 times.

I have the following Cscope related settings in my .vimrc:

if has("cscope") && filereadable("cscope.out")
  cscope kill -1
  set nocscopeverbose
  cscope add cscope.out
  set cscopeverbose
endif

Anybody has any idea what is going on?

Hugo

-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Omni completion for C++

2016-10-09 Thread Hugo Gagnon
The project I am working on, which is quite large, uses GCC and fails to 
compile with Clang on some files. I cannot change files based on whether or not 
they compile with Clang. So the first reason why I am not interested in YCM is 
that I find it annoying to have completion working for only a subset of files. 
Second, as the project is made of several sub projects, and since none of them 
uses CMake, it is actually not that simple to set up YCM in my case. Third, I 
find plugins like YCM to be inherently slow on large files with many includes.

Hugo

-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Omni completation for C++

2016-10-09 Thread Hugo Gagnon
Hello,

What is the status of omni completion for C++ in Vim? In the tag "compl-omni" 
it says: "Currently there is a first version for C++". However, in the tag 
"compl-omni-filetypes" there is no mention of C++.

If Vim has nothing built-in, is the plugin "OmniCppComplete" the only option 
left? I am not interested in plugins that require a real-time compiler such as 
with "YouCompleteMe".

Thank you,

Hugo

-- 
-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.