FS#16177 - [vim] python support
Attached to Project:
Arch Linux
Opened by Łukasz Fidosz (Luk4sz) - Monday, 14 September 2009, 06:15 GMT
Last edited by Paul Mattal (paul) - Saturday, 06 February 2010, 23:09 GMT
Opened by Łukasz Fidosz (Luk4sz) - Monday, 14 September 2009, 06:15 GMT
Last edited by Paul Mattal (paul) - Saturday, 06 February 2010, 23:09 GMT
|
Details
Description:
Why in new wersion vim have no python support? I think python is one of most popular languages today, so it whould have python support. |
This task depends upon
Closed by Paul Mattal (paul)
Saturday, 06 February 2010, 23:09 GMT
Reason for closing: Won't implement
Additional comments about closing: I think tobias has made his position clear on this one, and if you need a custom solution, it's easy to use abs.
If there's new information to add to this debate, you may request a reopen.
Saturday, 06 February 2010, 23:09 GMT
Reason for closing: Won't implement
Additional comments about closing: I think tobias has made his position clear on this one, and if you need a custom solution, it's easy to use abs.
If there's new information to add to this debate, you may request a reopen.
sould somebody correct my mistake and delete these comments?
thanks:)
So install gvim and everything is good.
maybe the better idea is to distribute vim enhancments as packages, for example: vim-python vim-ruby?:)
maybe the better idea is to distribute vim enhancments as packages, for example: vim-python vim-ruby?:)
vim was in testing for a very long time, preceeding that was a very long discussion here in the bugtracker on how we shall split it up, what to do with vi for core, how to package it so we have to distribute only one runtime etc.
But it's indeed debatable, and all about compromises.
If vim had python support, some users could complain they don't want the python dep and that they have to rebuild the package.
If it doesn't have mouse support, I would suggest checking your config. But this is completely off-topic.
The only one thing that comes to mind is, that we now with the vim packages do not touch the /etc(g)vimrc files anymore. The old package contained I think one or two mouse related entries people were complaining about that might trigger the behaviour you experience. Seems people don't like features so we remove them :(
The lines I'm talking about:
" In many terminal emulators the mouse works just fine, thus enable it.
if has('mouse')
set mouse=a
endif
see if your .vimrc has something like that and if not try it. HTH.
- Python support is in the gvim package which provides a perfectly usable
vim binary, from console or terminal, and I don't see why it is asked
too much to install that package, when you are coding from terminals
anyway. Again, assuming you use the vim binary from that package, not
the gvim symlink.
- Yes Ruby got removed, but that's temporarily until vim supports Ruby's
1.9/2.0 interface out of the box
This is so stupid, unbelievable.
Just whining without any good arguments is completely worthless.
Besides, Arch philosophy is that when you are not happy, you do it yourself. If you use Arch without knowing this core principle, you are nuts.
If you want to be helpful, there are two things to figure out :
1) check if enabling python dependency almost doubles the executable size, and find out why
2) find out if there is really no way to make this dep optional
Following the Arch philosophy that isn't KISS philosophy anymore, this idea with a basic functions in 'extended' package isn't good.
It would be much better do full vim package as I said before or following @Krzysztof idea do vim-python-support package witch would replace old vim binary, same as gvim.
- firstly, no vim-python package, that would be against the ArchLinux KISS philosophy
to keep things simple and straight forward
- as mentioned by others and myself, interpreters are linked in at compile time or
forced loaded on startup with dlopen, that means they have to be installed on the
target system. Perl, Python, Ruby are included in different ways but when not being
installed on the target system the effect is the same that vim does NOT work
- the last time I compared a python enabled vs a python disabled binary was probably
more than a year ago. Seems things have changed and the binary is roughly the same.
However, the memory usage is significant 5.4MB vs 3.4MB when loading the same file
- The other big question that arises is the following: People are bitching about the
not so functional mouse in vim becuase it has no x-support. If we enable xsupport,
python and upon it's return also Ruby, what is gvim then? Just the same think with
GTK linking? We have to draw the line somewhere. And it does not make sense to have
2 esentially identical packages in the repos with a different name.
This bug report is about python support we're not talking about X, because removed X support is completely understandable for me. So the argument with X is for the other discussion. We know that for ruby we have to wait some time, from well known reasons. With python enabled binary size is not changing much (@Xavier You wanted to be helpful? [; ). I think that Your conclusions are opening us way to restart our discussion with fresh materials [;
Picture the following, we have a user that really wants x support for the mouse but does not need python. The standard vim package is not sufficient for him either. I'm saying if you are serious about developing with vim then install the "BIG" package. Also if you want netbeans support, you need the server capabilities and the big package. Same for Python scripts.
abs
cp /var/abs/extra/vim .
cd vim
vim PKGBUILD
makepkg -if