Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64031 - Vim abbreviations are broken
Summary: Vim abbreviations are broken
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-14 11:39 UTC by Neil Watson
Modified: 2004-09-16 14:13 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 Neil Watson 2004-09-14 11:39:58 UTC
I can see that the abbreviations are stored (:ab will list them).  However, the abbreviations do actually execute.  The same appears to be true for gvim.


Reproducible: Always
Steps to Reproduce:
1. :ab xx extra
2. return to insert mode and insert xx
3. xx is NOT replace by extra




Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.5)
=================================================================
System uname: 2.6.5 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.agsn.ca http://ftp.gentoo.or.kr/
http://gentoo.oregonstate.edu/
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups encode esd
foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad
mbox mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl
png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd truetype
video_cards_matrox x86 xinerama xml2 xmms xprint xv zlib"
Comment 1 Ciaran McCreesh 2004-09-14 13:11:59 UTC
Hrm, works for me. You *are* pressing space after the xx, right?

Can you reproduce when starting vim with 'vim -U NONE -u NONE -i NONE'? This will disable the local and global vimrc files, and the local viminfo file.

What's the full output of :version from within vim?

What's the output of qpkg -v -I 'app-editors/.*vim.*' ? (qpkg is part of gentoolkit).
Comment 2 Neil Watson 2004-09-14 15:12:30 UTC
Using vim -U NONE -u NONE -i NONE abbreviations are successful.  When using global rc files (which are still at gentoo's defaults) abbreviations do not work.

vim --version
VIM - Vi IMproved 6.3 (2004 June 7, compiled Jul 23 2004 15:10:15)
Compiled by neil@ettin.watson-wilson.ca
Huge version without GUI.  Features included (+) or not (-):
+arabic +autocmd -balloon_eval -browse ++builtin_terms +byte_offset +cindent 
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments 
+cryptv +cscope +dialog_con +diff +digraphs -dnd -ebcdic +emacs_tags +eval 
+ex_extra +extra_search +farsi +file_in_path +find_in_path +folding -footer 
+fork() +gettext -hangul_input +iconv +insert_expand +jumplist +keymap +langmap
 +libcall +linebreak +lispindent +listcmds +localmap +menu +mksession 
+modify_fname +mouse -mouseshape +mouse_dec +mouse_gpm -mouse_jsbterm 
+mouse_netterm +mouse_xterm +multi_byte +multi_lang -netbeans_intg -osfiletype 
+path_extra +perl +postscript +printer +python +quickfix +rightleft -ruby 
+scrollbind +signs +smartindent -sniff +statusline -sun_workshop +syntax 
+tag_binary +tag_old_static -tag_any_white -tcl +terminfo +termresponse 
+textobjects +title -toolbar +user_commands +vertsplit +virtualedit +visual 
+visualextra +viminfo +vreplace +wildignore +wildmenu +windows +writebackup 
-X11 -xfontset -xim -xsmp -xterm_clipboard -xterm_save 
   system vimrc file: "/etc/vim/vimrc"
     user vimrc file: "$HOME/.vimrc"
      user exrc file: "$HOME/.exrc"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H     -march=athlon-mp -O3 -pipe   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I/usr/lib/perl5/5.8.2/i686-linux/CORE  -I/usr/include/python2.3 -pthread   
Linking: gcc   -rdynamic   -L/usr/local/lib -o vim       -lncurses -lgpm -rdynamic  -L/usr/local/lib /usr/lib/perl5/5.8.2/i686-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.2/i686-linux/CORE -lperl -lutil -lc -L/usr/lib/python2.3/config -lpython2.3 -lpthread -lutil -lm -Xlinker -export-dynamic    

qpkg -v -I 'app-editors/.*vim.*'
app-editors/gvim-6.3 *
app-editors/vim-core-6.3-r1 *
app-editors/vim-6.3 *
Comment 3 Ciaran McCreesh 2004-09-14 15:26:24 UTC
Hrm, ok. A few things to try... There's a newer vim/vim-core/gvim version in ~arch that includes 6.0.023 which *might* fix it. If not, could you please figure out which statement in the global vimrc file is causing the problems?
Comment 4 Neil Watson 2004-09-14 15:38:23 UTC
I can't say what is wrong with the rc files.  I had a look but, nothing sticks out.  I will ask the vim mailing list.
Comment 5 Ciaran McCreesh 2004-09-14 15:56:02 UTC
Well, you can go through and comment things out until it starts to work...
Comment 6 Neil Watson 2004-09-15 06:14:37 UTC
The problem has something to do with the vimspell plugin.  When I unmerged it abbreviations returned to normal.
Comment 7 Ciaran McCreesh 2004-09-16 14:13:00 UTC
Ok, if you need this fixed, please contact the vimspell author.