Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-science
Navigation:
Lists: gentoo-science: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-science@g.o
From: "P Purkayastha" <ppurka@...>
Subject: Re: [patch] system-wide install of debug_gap.vim can not be overridden
Date: Tue, 07 Jun 2011 12:19:09 +0800
On Tue, 07 Jun 2011 03:18:51 +0800, Francois Bissey  
<fbissey@...> 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.
> I think we may adopt your patch until someone more knowledgeable in vim
> tell us that's the wrong way of doing things.
>
> Francois
>

Hi Francois,

   I am not surprised that the file debug_gap.vim is not installed in your  
system. The installation of this file is handled by the vim-syntax  
useflag. This useflag also handles the installation of other useful vim  
files.

   One option would be to introduce the debug useflag for gap and install  
this debug_gap.vim file if both vim-syntax and debug flags are on. And,  
during the src_prepare apply the patch to debug_gap.vim. I can provide you  
an updated ebuild if you so desire.


Replies:
Re: [patch] system-wide install of debug_gap.vim can not be overridden
-- fbissey
References:
[patch] system-wide install of debug_gap.vim can not be overridden
-- P Purkayastha
Re: [patch] system-wide install of debug_gap.vim can not be overridden
-- Francois Bissey
Navigation:
Lists: gentoo-science: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: [patch] system-wide install of debug_gap.vim can not be overridden
Next by thread:
Re: [patch] system-wide install of debug_gap.vim can not be overridden
Previous by date:
Re: sci-libs/scipy-0.9.0-r1 undefined symbol: clapack_sgesv
Next by date:
Re: [patch] system-wide install of debug_gap.vim can not be overridden


Updated Jul 05, 2012

Summary: Archive of the gentoo-science mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.