136011Re: Omnicomplete shows strange behavior when preview window is enabled
- Feb 7, 2013On Wed, February 6, 2013 10:14, Benjamin Isbarn wrote:
> On Tuesday, February 05, 2013 11:04:05 PM Christian Brabandt wrote:Mysterious. I built latest (well almost, since yesterday vim mainline
>> Hi Benjamin!
>> On Di, 05 Feb 2013, Benjamin Isbarn wrote:
>> > Guess you could use my .vimrc which was attached to the initial post,
>> > i'll attach it to this message as well. It's a really minimal config,
>> > i hope you're able to reproduce this issue. I had this issue with the
>> > same .vimrc and the same plugins on 3 machines.
>> Tried it and even installed pathogen, Autocompl and the molokai
>> colorscheme. It always showed the completion popup. I tried with a
>> python, c and html file and enabled folding and cuc and disabled it. I
>> couldn't see a difference.
>> So please give me some exact hints, a sample file and what you entered
>> so that I can reproduce it.
> Hi Christian,
> i think i narrowed down the problem. However, i think i should give you a
> quick overview of my compiled in functions of vim and my system.
> I tried it on three different machines, but all running Archlinux x86_64.
> Output of "vim --version"
> VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Dec 8 2012 16:47:21)
> Included patches: 1-754
> Compiled by ArchLinux
> Big version with GTK2 GUI. Features included (+) or not (-):
> +arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset
> +clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info
> +conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con_gui +diff
> +digraphs +dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi
> +file_in_path +find_in_path +float +folding -footer +fork() +gettext
> -hangul_input +iconv +insert_expand +jumplist +keymap +langmap +libcall
> +linebreak +lispindent +listcmds +localmap +lua +menu +mksession
> +mouse +mouseshape +mouse_dec +mouse_gpm -mouse_jsbterm +mouse_netterm
> +mouse_sgr -mouse_sysmouse +mouse_urxvt +mouse_xterm +multi_byte
> -mzscheme +netbeans_intg +path_extra +perl +persistent_undo +postscript
> +printer -profile +python -python3 +quickfix +reltime +rightleft +ruby
> +scrollbind +signs +smartindent -sniff +startuptime +statusline
> +syntax +tag_binary +tag_old_static -tag_any_white -tcl +terminfo
> +textobjects +title +toolbar +user_commands +vertsplit +virtualedit
> +visualextra +viminfo +vreplace +wildignore +wildmenu +windows
> +X11 -xfontset +xim +xsmp_interact +xterm_clipboard -xterm_save
> system vimrc file: "/etc/vimrc"
> user vimrc file: "$HOME/.vimrc"
> user exrc file: "$HOME/.exrc"
> system gvimrc file: "/etc/gvimrc"
> user gvimrc file: "$HOME/.gvimrc"
> system menu file: "$VIMRUNTIME/menu.vim"
> fall-back for $VIM: "/usr/share/vim"
> Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -
> I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -
> I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
> I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
> I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/harfbuzz
> I/usr/local/include -march=x86-64 -mtune=generic -O2 -pipe
> --param=ssp-buffer-size=4 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
> Linking: gcc -L. -Wl,-O1,--sort-common,--as-needed,-z,relro -rdynamic
> export-dynamic -Wl,-E -Wl,-rpath,/usr/lib/perl5/core_perl/CORE
> sort-common,--as-needed,-z,relro -L/usr/local/lib -Wl,--as-needed -o vim
> lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0
> -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0
> lglib-2.0 -lSM -lICE -lXt -lX11 -lXdmcp -lSM -lICE -lm -lncurses -lnsl
> lacl -lattr -lgpm -ldl -L/usr/lib -llua -Wl,-E -Wl,-
> -fstack-protector -L/usr/local/lib -L/usr/lib/perl5/core_perl/CORE -lperl
> lnsl -ldl -lm -lcrypt -lutil -lpthread -lc -L/usr/lib/python2.7/config -
> lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -lruby -
> lpthread -lrt -ldl -lcrypt -lm -L/usr/lib
> I created an new user and tried to reproduce the error building a vimrc
> scratch. It turns out that you can reproduce this error with only two
> filetype plugin on
> set cursorcolumn
> However, this error only occurs when you have the preview option of
> omnicomplete enabled an try to auto complete something that will force the
> preview window to pop up. Having the +python option compiled to your vim,
> easiest way would be to open a *.py file and type something like the
> import sys
> After the sys. try to invoke the auto completion with <C-X><C-O>, if the
> preview window won't pop up try to set
> :set completeopt+=preview
> I hope this'll help you to reproduce the error. By the way, you can leave
> preview window open and disable the preview option via
> :set completeopt-=preview
> and the list will appear.
is a few patches away) Vim 7.3.798 on amd64 architecture on Ubuntu 12.10
and tried to reproduce what you get and still, it seems to work fine.
Here is a screencast, of what I did.
Can you try this please and see, if this triggers the bug for you?
I am starting to wonder, if this could be related to some video driver
bug or so.
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
For more options, visit https://groups.google.com/groups/opt_out.
- << Previous post in topic Next post in topic >>