Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91965 - svncommand and vimspell vim plugins conflict
Summary: svncommand and vimspell vim plugins conflict
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-08 21:24 UTC by Quinn Storm
Modified: 2005-05-23 01:53 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Quinn Storm 2005-05-08 21:24:13 UTC
Both plugins want to bind \sl and \ss, and obviously that is not good behaviour.  My advice would be to alter svncommand, but thats up to the devs involved.

Reproducible: Always
Steps to Reproduce:
1.emerge both app-vim/vimspell and app-vim/svncommand
2.start vim
3.it complains that \sl and \ss are double-bound

Actual Results:  
\sl and \ss are double-bound 

Expected Results:  
both plugins should bind unique commands 

Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.5-r0, 
2.6.11-gentoo-r7 i686) 
================================================================= 
System uname: 2.6.11-gentoo-r7 i686 AMD Athlon(tm) processor 
Gentoo Base System version 1.6.11 
ccache version 2.4 [enabled] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    1.2.5-r1 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 
sys-devel/binutils:  2.15.92.0.2-r8 
sys-devel/libtool:   1.5.16 
virtual/os-headers:  2.6.11 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-pipe -O2 -march=i686" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-pipe -O2 -march=i686" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="ftp://gentoo.mirrors.tds.net/gentoo 
http://gentoo.mirrors.tds.net/gentoo ftp://ftp.ussg.iu.edu/pub/linux/gentoo" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 3dnow X Xaw3d a52 aac aalib accessibility acl acpi adns aim alsa 
apache2 arts audiofile avi bash-completion bcmath berkdb bidi bindist 
bitmap-fonts bluetooth bonobo bzlib calendar canna caps cdb cdparanoia cdr cjk 
cpdflib crypt cscope ctype cups curl curlwrappers dba dbase dbx dio directfb 
divx4linux doc dv dvd dvdread eds emboss encode esd ethereal evo exif expat fam 
fbcon ffmpeg fftw filepro flac flash flatfile foomaticdb fortran freetds 
freewnn ftp gb gd gif ginac glut gmp gnome gnustep gnutls gphoto2 gpm gstreamer 
gtk gtk2 gtkhtml guile hal howl iconv icq ieee1394 imagemagick imap imlib 
inifile innodb interbase ipv6 jabber java javascript joystick jpeg kde 
kdexdeltas kerberos krb4 ladcca lcms ldap lesstif libcaca libg++ libgda libwww 
lirc lm_sensors mad maildir matrox mbrola mcal mhash migemo mikmod mime ming 
mmap mmx mng mono motif mozilla mp3 mpeg mpi msn mssql mysql ncurses nls nptl 
odbc offensive ofx ogg oggvorbis openal opengl osc oscar oss pam pcntl pcre 
pdflib perl php plotutils png portaudio posix postgres ppds python qt quicktime 
readline real ruby samba sasl scanner sdl session sharedext sharedmem shorten 
simplexml skey slang slp sndfile snmp soap sockets socks5 sox speex spell spl 
sqlite ssl svg svga sysvipc szip tcltk tcpd tetex theora threads tidy tiff 
tokenizer truetype truetype-fonts type1-fonts unicode usb vcd videos 
visualization vorbis wddx win32codecs wmf wxwindows xine xinerama xml2 xmlrpc 
xmms xosd xpm xprint xscreensaver xv xvid yahoo yaz zeo zlib zvbi userland_GNU 
kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, 
PORTDIR_OVERLAY
Comment 1 Ciaran McCreesh 2005-05-08 21:38:08 UTC
Hrm, we tend to just make the things block if they install the same maps. I'm inclined to do that here, especially since vimspell will no longer be necessary with vim7.
Comment 2 Ivo Tamboer 2005-05-11 14:51:02 UTC
The commands \ss and \sl are used by both plugins.
vim prints the following lines before starting, and asks you to hit ENTER to continue:

Error detected while processing /usr/share/vim/vimfiles/plugin/vimspell.vim:
line 1447:
E227: mapping already exists for \ss
line 1460:
E227: mapping already exists for \sl
Hit ENTER or type command to continue

\sl comes with errors discribed below, which suggests both plugins are being executed.

"~/.fluxbox/apps" 0L, 0C
Error detected while processing BufEnter Auto commands for "/home/itamboer/.fluxbox/apps":
E492: Not an editor command: _svnstatus_ call s:SpellCreateTemp()
Error detected while processing BufWinEnter Auto commands for "/home/itamboer/.fluxbox/apps":
E492: Not an editor command: _svnstatus_ call s:SpellCreateTemp()
Error detected while processing BufWinLeave Auto commands for "/home/itamboer/.fluxbox/apps":
"~/.fluxbox/apps _svnlog_" [New File]
Error detected while processing function <SNR>15_SVNLog..<SNR>15_SVNDoCommand..<SNR>15_SVNCreateCommandBuffer..<SNR>15_SVNEditF
ile:
line    7:
Unable to open command buffer E492: Not an editor command: _svnstatus_ call s:SpellDeleteTemp()


I'd suggest these two vim plugins should block eachother in the portage tree.
Comment 3 Ciaran McCreesh 2005-05-23 01:53:52 UTC
Added blocks. Thanks.