Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58683 - app-vim/cream conflicts with various other plugins
Summary: app-vim/cream conflicts with various other plugins
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-28 11:16 UTC by Botykai Zsolt
Modified: 2004-08-12 18:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
cream--0.30_to_0.30-r1.patch (cream--0.30_to_0.30-r1.patch,571 bytes, patch)
2004-08-12 17:44 UTC, TGL
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Botykai Zsolt 2004-07-28 11:16:27 UTC
I'm having the latest app-vim/cream and app-vim calendar installed. 
If I start cream from the CLI, I got this error message
<copy_from_terminal>
20:05:44 bzs ~ # cream
Error detected while processing /usr/share/vim/vimfiles/plugin/calendar.vim:
line  273:
E227: mapping already exists for \ca
20:05:57 bzs ~ #        
</copy_from_terminal>
And cream starts but will not load the calendar plugin, so I'm unable to use the CTRL+F11 keys to toggle creams calendar because of this.

Reproducible: Always
Steps to Reproduce:
1. emerge cream app-vim/calendar
2. start cream from CLI
3.



Expected Results:  
Working Calendar in Cream...

Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040619-r0,
2.6.7-gentoo-r11)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Intel(R) Celeron(R) CPU 2.40GHz
Gentoo Base System version 1.5.1
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache noinfo sandbox"
GENTOO_MIRRORS="http://intranet.online.hu/ http://gentoo.math.bme.hu/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif
gnome gphoto2 gpm gtk gtk2 imagemagick imlib java jikes jpeg kde libg++ libwww
linguas_en linguas_hu mad maildir mbox mikmod motif mozilla mpeg ncurses nls
oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba
sdl slang spell ssl svga tcltk tcpd tiff truetype unicode usb x86 xml xml2 xmms
xv zlib"
Comment 1 Ciaran McCreesh 2004-07-29 20:40:51 UTC
Anyone think of a solution which doesn't involve adding in RDEPEND blocks? There're a few things in app-vim which provide the same mappings... IIRC ctx and calendar do it as well...
Comment 2 Ciaran McCreesh 2004-08-12 16:05:06 UTC
Hm, actually, maybe we don't want *any* regular plugins to be used when running cream... Thomas, any thoughts on this one?
Comment 3 TGL 2004-08-12 17:41:57 UTC
You're right, vim plugins should be disabled. This can easily be done from the "cream" wrapper script: either add the --noplugin option, or invert the -u and -U options (in both case, creamrc will be loaded by gvim, but with "-u NONE", plugins are disabled).

I will attach a patch for a 0.30-r1 ebuild.
Comment 4 TGL 2004-08-12 17:44:34 UTC
Created attachment 37325 [details, diff]
cream--0.30_to_0.30-r1.patch
Comment 5 Ciaran McCreesh 2004-08-12 18:10:10 UTC
Perfect, much appreciated. cream-0.30-r1 committed.