Re: Windows version with Python, Ruby and Lua support?

2010-08-20 Thread H Xu

 On 2010/8/20 17:57, Didly Bom wrote:

Hi,

this is my first post on this list so first I'd like to thank all the 
Vim contributors for your work on this awesome piece of software that 
is VIM.


That being said, I have a question regarding python, ruby and lua 
support (or lack thereof) on the official Vim installer for windows.


I am trying to use some vim scripts that require python or ruby 
support (such as command-t) but when I try to use them on a fresh 
install of Vim 7.3 on windows they do not work.


I've searched on the vim webpage for links to the versions that 
include support for these external languages but I have not found 
them. I also wonder why the default windows installer does not ship 
with support for python and ruby. In my opinion the additional file 
size should not be a problem for most users.


So if you could point me to where I could download the versions of vim 
and gvim that have this language support I would be very grateful.


Thank you in advance,

Angel

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

Hello,

You need to download python26.dll( or python27.dll, I don't remember) 
from python.org and put it in gvim's directory.


Regards,
Hong Xu
2010/8/20

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


RE: Windows version with Python, Ruby and Lua support?

2010-08-23 Thread John Beckett
Didlybom wrote:
> I am trying to use some vim scripts that require python or
> ruby support (such as command-t) but when I try to use them
> on a fresh install of Vim 7.3 on windows they do not work.

See 'Vim without Cream' at:
http://vim.wikia.com/wiki/download

If there is a further problem, state clearly what Vim you are
using (version and source), and exactly what you do, and what
error you see.

John

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


Re: Windows version with Python, Ruby and Lua support?

2010-08-23 Thread Adam Duck

On 23.08.2010 13:19, Didlybom wrote:

Hi,

this is my first post on this list so first I'd like to thank all the
Vim contributors for your work on this awesome piece of software that
is VIM.

That being said, I have a question regarding python, ruby and lua
support (or lack thereof) on the official Vim installer for windows.

I am trying to use some vim scripts that require python or ruby
support (such as command-t) but when I try to use them on a fresh
install of Vim 7.3 on windows they do not work.

I've searched on the vim webpage for links to the versions that
include support for these external languages but I have not found
them. I also wonder why the default windows installer does not ship
with support for python and ruby. In my opinion the additional file
size should not be a problem for most users.

So if you could point me to where I could download the versions of vim
and gvim that have this language support I would be very grateful.

Thank you in advance,

Angel

P.S.- Please accept my apologies if this post appears twice. I posted
it once before but I do not see the post in the google groups
interface so I am reposting it in case there was some problem while
sending the original email.

   
Please try this version: ftp://ftp.vim.org/pub/vim/pc/gvim73ole.zip. 
It's accesible through http://www.vim.org/download.php#pc.

It has support for perl, python and ruby, although lua is not included.
You can just overwrite the files in your vim installation directory.

cu, Adam.

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


Re: Windows version with Python, Ruby and Lua support?

2010-08-23 Thread Didlybom

On Aug 23, 1:36 pm, "John Beckett"  wrote:
> Didlybom wrote:
> > I am trying to use some vim scripts that require python or
> > ruby support (such as command-t) but when I try to use them
> > on a fresh install of Vim 7.3 on windows they do not work.
>
> See 'Vim without Cream' at:http://vim.wikia.com/wiki/download
>
> If there is a further problem, state clearly what Vim you are
> using (version and source), and exactly what you do, and what
> error you see.
>
> John

Thank you John,

I am using the latest vim distribution for Windows x32, which I
installed using the v7.3 installer that I downloaded from www.vim.org.
My PC is running WindowsXP SP3 (Spanish version).

I will give your suggestion a try and let you know if that solved my
problem. Do you know if this distribution comes with python 2.6
support or with python 2.7 support? I'd like to get one that has
python2.6 support, since that is the python version that I have
installed in my PC.

I did not find any mention of this "Vim without Cream" distribution in
the official VIM web page. I find it quite surprising that the
official Vim package does not come with python and ruby support
enabled, since quite a few vim scripts rely on those nowadays. Do you
guys know if there is a particular reason why this is the case? Is it
because there is a different version of vim for each python version?

Thank you again,

Angel

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


Re: Windows version with Python, Ruby and Lua support?

2010-08-23 Thread Didlybom


On Aug 23, 2:18 pm, Adam Duck  wrote:
> On 23.08.2010 13:19, Didlybom wrote:
>
>
>
> > Hi,
>
> > this is my first post on this list so first I'd like to thank all the
> > Vim contributors for your work on this awesome piece of software that
> > is VIM.
>
> > That being said, I have a question regarding python, ruby and lua
> > support (or lack thereof) on the official Vim installer for windows.
>
> > I am trying to use some vim scripts that require python or ruby
> > support (such as command-t) but when I try to use them on a fresh
> > install of Vim 7.3 on windows they do not work.
>
> > I've searched on the vim webpage for links to the versions that
> > include support for these external languages but I have not found
> > them. I also wonder why the default windows installer does not ship
> > with support for python and ruby. In my opinion the additional file
> > size should not be a problem for most users.
>
> > So if you could point me to where I could download the versions of vim
> > and gvim that have this language support I would be very grateful.
>
> > Thank you in advance,
>
> > Angel
>
> > P.S.- Please accept my apologies if this post appears twice. I posted
> > it once before but I do not see the post in the google groups
> > interface so I am reposting it in case there was some problem while
> > sending the original email.
>
> Please try this version:ftp://ftp.vim.org/pub/vim/pc/gvim73ole.zip.
> It's accesible throughhttp://www.vim.org/download.php#pc.
> It has support for perl, python and ruby, although lua is not included.
> You can just overwrite the files in your vim installation directory.
>
> cu, Adam.

Thank you Adam. I tested this version, but it seems to expect that
python 2.7 is installed (when I ran the command ":python print" it
gave the following error message: "E370: Could not load library
python27.dll").
Since I have python 2.6, do you know if there is a version that is
compiled with python 2.6 support?

BTW, the vim.org download web page does not mention anywhere that the
"OLE GUI Executable" version of the the vim package that comes with
python support. I think that it would be nice if it did! :-)

Thanks,

Angel

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


Re: Windows version with Python, Ruby and Lua support?

2010-08-23 Thread Jeri Raye

On Aug 23, 2:18 pm, Adam Duck  wrote:

On 23.08.2010 13:19, Didlybom wrote:




Hi,

[snip]

I am trying to use some vim scripts that require python or ruby
support (such as command-t) but when I try to use them on a fresh
install of Vim 7.3 on windows they do not work.

[snip]

I'm also trying to use the command-t plugin.
I have now the vim without cream but with ruby support.
The plugin however does not work yet.
I've contacted the writer of this plugin.
He created an "error ticket"

See for the progress the following:
https://wincent.com/issues/1652

Rgds,
Jeri

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


Re: Windows version with Python, Ruby and Lua support?

2010-08-23 Thread Ben Fritz


On Aug 20, 4:57 am, Didly Bom  wrote:
>
> So if you could point me to where I could download the versions of vim and
> gvim that have this language support I would be very grateful.
>

The default installer on vim.org contains the language support you
desire, but set up for dynamic loading. You just need to have the
language you desire installed to a place where Vim can find the
appropriate .dll file. I don't know the details as I do not use any of
these within Vim.

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


Re: Windows version with Python, Ruby and Lua support?

2010-08-24 Thread Didlybom
On Aug 23, 3:26 pm, Jeri Raye  wrote:
> > On Aug 23, 2:18 pm, Adam Duck  wrote:
> >> On 23.08.2010 13:19, Didlybom wrote:
>
> >>> Hi,
> [snip]
> >>> I am trying to use some vim scripts that require python or ruby
> >>> support (such as command-t) but when I try to use them on a fresh
> >>> install of Vim 7.3 on windows they do not work.
>
> [snip]
>
> I'm also trying to use the command-t plugin.
> I have now the vim without cream but with ruby support.
> The plugin however does not work yet.
> I've contacted the writer of this plugin.
> He created an "error ticket"
>
> See for the progress the following:https://wincent.com/issues/1652
>
> Rgds,
> Jeri

Thanks for the info Jeri,

this is actually way more complicated than I expected! I've been able
to compile the plugin on my machine after installing Ruby 1.9.1 and
the corresponding SDK, but when I launch VIM it crashes! :-(

Angel

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


Re: Windows version with Python, Ruby and Lua support?

2010-08-24 Thread Didlybom
On Aug 23, 5:45 pm, Ben Fritz  wrote:
> On Aug 20, 4:57 am, Didly Bom  wrote:
>
>
>
> > So if you could point me to where I could download the versions of vim and
> > gvim that have this language support I would be very grateful.
>
> The default installer on vim.org contains the language support you
> desire, but set up for dynamic loading. You just need to have the
> language you desire installed to a place where Vim can find the
> appropriate .dll file. I don't know the details as I do not use any of
> these within Vim.

Thank you guys,

I did not see your message until today. In fact I thought that my
message had not been received on the forum and I resent it, creating
another thread in which I got some additional answers.

Since I have Python (2.6) installed in the default path and I can use
it from the command line on windows, I am surprised that vim did not
find it. That is what made me believe that the official vim release
does not have python support enabled.

Cheers,

Angel

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


Re: Windows version with Python, Ruby and Lua support?

2010-08-24 Thread Didlybom
On Aug 24, 11:52 am, Didlybom  wrote:
> On Aug 23, 5:45 pm, Ben Fritz  wrote:
>
> > On Aug 20, 4:57 am, Didly Bom  wrote:
>
> > > So if you could point me to where I could download the versions of vim and
> > > gvim that have this language support I would be very grateful.
>
> > The default installer on vim.org contains the language support you
> > desire, but set up for dynamic loading. You just need to have the
> > language you desire installed to a place where Vim can find the
> > appropriate .dll file. I don't know the details as I do not use any of
> > these within Vim.
>
> Thank you guys,
>
> I did not see your message until today. In fact I thought that my
> message had not been received on the forum and I resent it, creating
> another thread in which I got some additional answers.
>
> Since I have Python (2.6) installed in the default path and I can use
> it from the command line on windows, I am surprised that vim did not
> find it. That is what made me believe that the official vim release
> does not have python support enabled.
>
> Cheers,
>
> Angel

I managed to get this working. It seems that my python installation
has been corrupted.

Thanks for the help.

Angel

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


Re: Windows version with Python, Ruby and Lua support?

2010-08-27 Thread Tony Mechelynck

On 23/08/10 15:13, Didlybom wrote:


On Aug 23, 1:36 pm, "John Beckett"  wrote:

Didlybom wrote:

I am trying to use some vim scripts that require python or
ruby support (such as command-t) but when I try to use them
on a fresh install of Vim 7.3 on windows they do not work.


See 'Vim without Cream' at:http://vim.wikia.com/wiki/download

If there is a further problem, state clearly what Vim you are
using (version and source), and exactly what you do, and what
error you see.

John


Thank you John,

I am using the latest vim distribution for Windows x32, which I
installed using the v7.3 installer that I downloaded from www.vim.org.
My PC is running WindowsXP SP3 (Spanish version).

I will give your suggestion a try and let you know if that solved my
problem. Do you know if this distribution comes with python 2.6
support or with python 2.7 support? I'd like to get one that has
python2.6 support, since that is the python version that I have
installed in my PC.

I did not find any mention of this "Vim without Cream" distribution in
the official VIM web page. I find it quite surprising that the
official Vim package does not come with python and ruby support
enabled, since quite a few vim scripts rely on those nowadays. Do you
guys know if there is a particular reason why this is the case? Is it
because there is a different version of vim for each python version?

Thank you again,

Angel



Well, what concerns Python, Python 2.x and Python 3.x can be said to be 
"different languages", and the latest Vim 7.3 can be compiled with 
support for Python 2.x or 3.x or both or neither; but IIUC there are 
problems if you try to use both Python2 and Python3 in the same Vim.


However, as with all interpreted languages, the version you have must be 
the version Vim was compiled for. If you have Python 2.5 and the Vim you 
installed was compiled for Python 2.8, you're out of luck.


To see what the "Vim without Cream" build was compiled for, look at the 
release notes. The sourceforge site has been revamping its look&feel 
quite often recently, so I can't tell you exactly what the Notes link 
will look like by the time you read this; but look for either a "Notes" 
or "Release notes" link or a clipboard-like icon, on the right side of 
the page and on the same line as the download link for the latest installer.



Best regards,
Tony.
--
Serocki's Stricture:
Marriage is always a bachelor's last option.

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


Re: Windows version with Python, Ruby and Lua support?

2010-08-29 Thread Jeri Raye


[snip]

[snip]

I'm also trying to use the command-t plugin.
I have now the vim without cream but with ruby support.
The plugin however does not work yet.
I've contacted the writer of this plugin.
He created an "error ticket"

See for the progress the following:https://wincent.com/issues/1652

Rgds,
Jeri


Thanks for the info Jeri,

this is actually way more complicated than I expected! I've been able
to compile the plugin on my machine after installing Ruby 1.9.1 and
the corresponding SDK, but when I launch VIM it crashes! :-(

Angel



Angel,

Yes, it's more complicated then I also expected it.
I switched back to Ruby 1.8.7.
Did install the development kit in the zip file.
I also followed the instructions mentioned on that site (I  beleive 5 
install steps)
Although not all steps did work the first time, if you follow the steps, 
do it multiple time sometimes, I got it working.


HTH
Rgds,
Jeri

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