Furash Gary wrote:
Today, when I open a file with gvim (windows), it shows me a popup with
the following and seems to work okay.  What is this telling me?  There
isn't any error message, it just prints out the following
--- Auto-Commands --- filetypedetect BufEnter *.xpmif getline(1) =~ "XPM2" | setf xpm2 | else | setf xpm | endif *.xpm2setf xpm2 filetypedetect BufNewFile *.otlsetfiletype vo_base *.olnsetfiletype xoutliner ?\+.origexe "doau filetypedetect BufRead " . expand("<afile>:r") ?\+.bakexe "doau filetypedetect BufRead " . expand("<afile>:r") ?\+.oldexe "doau filetypedetect BufRead " . expand("<afile>:r") ?\+.newexe "doau filetypedetect BufRead " . expand("<afile>:r") ?\+.rpmsave exe "doau filetypedetect BufRead " . expand("<afile>:r") ?\+.rpmnew exe "doau filetypedetect BufRead " . expand("<afile>:r") *~let s:name = expand("<afile>") | let s:short = substitute(s:name,
'\~$', '', '') | if
Gary Furash, MBA, PMP, Applications Manager
Maricopa County Attorney's Office




my guess is, maybe you have an ":autocommand" (or ":au") statement with no command, as follows:

" display all autocommands
au

" display all autocommands for a single event:
au BufEnter

" display all autocommands for a single group
au filetypedetect

" display all autocommands for a single event and pattern
au BufNewFile *.vim

etc.
see
:help autocmd.txt"
:help autocmd-list"

Anything "displayed" in gvim before the GUI is actually started, comes up in a popup. To display it in the GUI itself, there are two methods;
- start the GUI early by means of the ":gui" statement
- display it late by means of an autocommand for the VimEnter event.
see
:help :gui
:helpgrep :gui
:help VimEnter

Best regards,
Tony.

Reply via email to