[patch] system-wide install of debug_gap.vim can not be overridden

P Purkayastha <ppurka <at> gmail.com>
2011-06-05 09:48:57 GMT

Hi,
I installed sage and also gap via the sage-for-gentoo overlay on a
Gentoo linux system (64 bit installation). It turned out that gap
installed a plugin /usr/share/vim/vimfiles/plugin/gap_debug.vim where
some keybindings are defined to help debug gap programs.
First, I think this file should go under
/usr/share/vim/vimfiles/ftplugin directory since it applies only to gap
files. Secondly, the files define some keybindings without allowing for
the user to override those keybindings in ~/.vimrc.
I am attaching a patch which defines a global vim variable. If the user
sets that variable in ~/.vimrc, then this gap plugin will not be read.
This is one way I think the plugin can be made to not supersede user
settings.
If there is some other way of overriding that plugin file, please let me
know.
Thanks and regards,
Punarbasu.

Re: [patch] system-wide install of debug_gap.vim can not be overridden

> Hi,
>
> I installed sage and also gap via the sage-for-gentoo overlay on a
> Gentoo linux system (64 bit installation). It turned out that gap
> installed a plugin /usr/share/vim/vimfiles/plugin/gap_debug.vim where
> some keybindings are defined to help debug gap programs.
>
> First, I think this file should go under
> /usr/share/vim/vimfiles/ftplugin directory since it applies only to gap
> files. Secondly, the files define some keybindings without allowing for
> the user to override those keybindings in ~/.vimrc.
>
> I am attaching a patch which defines a global vim variable. If the user
> sets that variable in ~/.vimrc, then this gap plugin will not be read.
> This is one way I think the plugin can be made to not supersede user
> settings.
>
> If there is some other way of overriding that plugin file, please let me
> know.
>
Hi,
thanks for the info. It looks like you have found something that is installed
by "automagic". Not being a fan of vi I don't have it installed and that vim
file is not installed here. We may need to put it under useflag control.
I think we may adopt your patch until someone more knowledgeable in vim
tell us that's the wrong way of doing things.
Francois

Re: sci-libs/scipy-0.9.0-r1 undefined symbol: clapack_sgesv

Marc Vinyals <marcvinyals <at> velodius.com>
2011-06-06 21:20:00 GMT

EL Tue, 7 Jun 2011 07:33:27 +1200
Francois Bissey <fbissey <at> slingshot.co.nz> escrigué:
> I note you are using numpy-1.6.0 I don't if that's linked to that but
> sage will not work properly with it:
> http://trac.sagemath.org/sage_trac/ticket/11334
> Can you try again with numpy-1.5.1 at least.
I am a bit surprised, but downgrading numpy actually worked. Thanks a
lot for your help, Francois! Sage-4.7 should depend on ~numpy-1.5.1
then, since it already depends on >=numpy-1.5.1.
> And then what are the outputs of:
> ldd /usr/lib64/python2.7/site-packages/numpy/core/_dotblas.so
> ldd /usr/lib64/python2.7/site-packages/numpy/linalg/lapack_lite.so
They link to lapack, blas and cblas, and they didn't change when I
downgraded numpy.

Re: [patch] system-wide install of debug_gap.vim can not be overridden

P Purkayastha <ppurka <at> gmail.com>
2011-06-07 04:19:09 GMT

On Tue, 07 Jun 2011 03:18:51 +0800, Francois Bissey
<fbissey <at> slingshot.co.nz> wrote:
>> Hi,
>>
>> I installed sage and also gap via the sage-for-gentoo overlay on a
>> Gentoo linux system (64 bit installation). It turned out that gap
>> installed a plugin /usr/share/vim/vimfiles/plugin/gap_debug.vim where
>> some keybindings are defined to help debug gap programs.
>>
>> First, I think this file should go under
>> /usr/share/vim/vimfiles/ftplugin directory since it applies only to gap
>> files. Secondly, the files define some keybindings without allowing for
>> the user to override those keybindings in ~/.vimrc.
>>
>> I am attaching a patch which defines a global vim variable. If the user
>> sets that variable in ~/.vimrc, then this gap plugin will not be read.
>> This is one way I think the plugin can be made to not supersede user
>> settings.
>>
>> If there is some other way of overriding that plugin file, please let me
>> know.
>>
> Hi,
>
> thanks for the info. It looks like you have found something that is
> installed
> by "automagic". Not being a fan of vi I don't have it installed and that
> vim
> file is not installed here. We may need to put it under useflag control.