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: Christopher Schwan <cschwan@...>
Subject: Re: [patch] system-wide install of debug_gap.vim can not be overridden
Date: Tue, 7 Jun 2011 10:30:56 +0200
Hi,

what do you think about completely dropping the file ?

On Tuesday 07 June 2011 06:37:51 fbissey@... wrote:
> Quoting P Purkayastha <ppurka@...>:
> > 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.
> 
> Hi,
> 
> I need to take more care when I check the ebuilds before 8am. Yes of course
> there is a vim-syntax flag! I don't think we need to overcomplicate
> things with
> an extra debug flag. On the other hand being able to override the plugin is
> a very good idea. So unless something more refined can be done I think
> I'll just adopt your patch.
> 
> Francois


Replies:
Re: [patch] system-wide install of debug_gap.vim can not be overridden
-- Francois Bissey
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
-- P Purkayastha
Re: [patch] system-wide install of debug_gap.vim can not be overridden
-- fbissey
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: [patch] system-wide install of debug_gap.vim can not be overridden
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.