Hi all,
For the first time in a long time, I wanted to compile vim by
myself for testing a bit. So I ran configure (in order to set a
PREFIX that would allow me to install vim in a temporary
location, not screwing up vim that is installed in the system),
ran make and make install.
While that part went fine, I run into an issue now:
/tmp/vim> ./bin/vim share/vim/vim82/colors/koehler.vim
Error detected while processing /home/thomas/.vimrc:
line 289: E1208: -complete used without allowing argumentsPress ENTER or type command to continue
So I type ENTER and ":help E1208" and get this:
E149: Sorry, no help for E1208
Is there a help tag missing for E1208? It seems like it, as I
can't find E1208 in any of the help files, only in the binary and
some LANG files (probably used for displaying the error above in
the language selected?):
/tmp/vim> grep -r E1208 $PWD
grep: /tmp/vim/share/vim/vim82/lang/ja.euc-jp/LC_MESSAGES/vim.mo: binary file matches
grep: /tmp/vim/share/vim/vim82/lang/de/LC_MESSAGES/vim.mo: binary file matches
grep: /tmp/vim/share/vim/vim82/lang/ja.sjis/LC_MESSAGES/vim.mo: binary file matches
grep: /tmp/vim/share/vim/vim82/lang/tr/LC_MESSAGES/vim.mo: binary file matches
grep: /tmp/vim/share/vim/vim82/lang/ja/LC_MESSAGES/vim.mo: binary file matches
grep: /tmp/vim/share/vim/vim82/lang/eo/LC_MESSAGES/vim.mo: binary file matches
grep: /tmp/vim/share/vim/vim82/lang/it/LC_MESSAGES/vim.mo: binary file matches
grep: /tmp/vim/bin/vim: binary file matches
Apart from that, I fail to see what's wrong with line 289 of my
.vimrc:
/tmp/vim> cat -n ~/.vimrc | grep 289
289 :com! -nargs=0 -complete=command Tmake call Tmake(expand("%"))
Is there any change I'm missing? I didn't see anything relevant
in ":help version-8.2" (but I noticed it only lists patches up to
8.1.1400, even though the version I built obviously has more
patches).
The version I'm currently using is:
/tmp/vim> ./bin/vim --version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Jan 23 2022 08:20:37)
Included patches: 1-4186
Compiled by thomas@t500
Huge version with GTK2 GUI. Features included (+) or not (-):
+acl +file_in_path +mouse_urxvt -tag_any_white
+arabic +find_in_path +mouse_xterm -tcl
+autocmd +float +multi_byte +termguicolors
+autochdir +folding +multi_lang +terminal
-autoservername -footer -mzscheme +terminfo
+balloon_eval +fork() +netbeans_intg +termresponse
+balloon_eval_term +gettext +num64 +textobjects
+browse -hangul_input +packages +textprop
++builtin_terms +iconv +path_extra +timers
+byte_offset +insert_expand -perl +title
+channel +ipv6 +persistent_undo +toolbar
+cindent +job +popupwin +user_commands
+clientserver +jumplist +postscript +vartabs
+clipboard +keymap +printer +vertsplit
+cmdline_compl +lambda +profile +vim9script
+cmdline_hist +langmap -python +viminfo
+cmdline_info +libcall -python3 +virtualedit
+comments +linebreak +quickfix +visual
+conceal +lispindent +reltime +visualextra
+cryptv +listcmds +rightleft +vreplace
+cscope +localmap -ruby +wildignore
+cursorbind -lua +scrollbind +wildmenu
+cursorshape +menu +signs +windows
+dialog_con_gui +mksession +smartindent +writebackup
+diff +modify_fname -sodium +X11
+digraphs +mouse -sound -xfontset
+dnd +mouseshape +spell +xim
-ebcdic +mouse_dec +startuptime +xpm
+emacs_tags -mouse_gpm +statusline +xsmp_interact
+eval -mouse_jsbterm -sun_workshop +xterm_clipboard
+ex_extra +mouse_netterm +syntax -xterm_save
+extra_search +mouse_sgr +tag_binary
-farsi -mouse_sysmouse -tag_old_static
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
defaults file: "$VIMRUNTIME/defaults.vim"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/tmp/vim/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -g -O2 -D_REENTRANT -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc -L/usr/local/lib -Wl,--as-needed -o vim -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm -ltinfo -lelf -lselinux -lacl -lattr -ldl
Thanks for any pointers,
Thomas
--
Thomas Köhler Email:
jean...@picard.franken.de
<>< WWW:
http://gott-gehabt.de
IRC: tkoehler Freenode: thkoehler
PGP public key available from Homepage!