Bug 58683 - app-vim/cream conflicts with various other plugins
Bug#: 58683 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: vim@gentoo.org Reported By: zsolt.botykai@gmail.com
Component: Applications
URL: 
Summary: app-vim/cream conflicts with various other plugins
Keywords:  
Status Whiteboard: 
Opened: 2004-07-28 11:16 0000
Description:   Opened: 2004-07-28 11:16 0000
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 From Ciaran McCreesh 2004-07-29 20:40:51 0000 -------
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 From Ciaran McCreesh 2004-08-12 16:05:06 0000 -------
Hm, actually, maybe we don't want *any* regular plugins to be used when running
cream... Thomas, any thoughts on this one?

------- Comment #3 From TGL 2004-08-12 17:41:57 0000 -------
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 From TGL 2004-08-12 17:44:34 0000 -------
Created an attachment (id=37325) [details]
cream--0.30_to_0.30-r1.patch

------- Comment #5 From Ciaran McCreesh 2004-08-12 18:10:10 0000 -------
Perfect, much appreciated. cream-0.30-r1 committed.