Bill,

Thanks for your help. Based on your suggestions I checked on the $VIMRUNTIME
variable, and it was not set in my environment variables. Also, $PATH did
not include the vim folder (I don't know if that makes a difference or not).
After setting these variables, all menus appear to be working properly
(yay!) and the tests you described produced similar results from my command
prompt (although no file temp\vfile was created; instead, dialog windows
popped up containing the information described. gvim %temp\vfile opened a
blank file. )

Do you know if file name tab completions need to be initialized separately?

Thanks again,

kjc



Bill McCarthy wrote:
> 
> On Fri 19-Jan-07 12:25pm -0600, kjcdb8er wrote:
> 
>> I recently installed gvim 7.0 (self-installing executable
>> gvim70.exe) from www.vim.org, and am having a problem with
>> the menus; that is, there are none. I ran gvim -N -u NONE
>> -U NONE and had the same issue. Any suggestions? Otherwise
>> the functionality seems unimpaired, except that tab
>> completion (for opening files) is not functioning at this
>> point.
>>
>> Any suggestions? 
> 
> A little more information would be helpful.
> 
> You can see exactly what's happening at startup with:
> 
>     gvim -u NONE -i NONE -N -V2%temp\vfile "+q"
> 
> Now look at what was recorded with:
> 
>     gvim %temp\vfile
> 
> The first few lines should look like this:
> 
> sourcing "$VIMRUNTIME\menu.vim"
> Searching for "autoload/paste.vim" in
> "c:\util\home/vimfiles,C:\vim/vimfiles,C:\vim\vim70,C:\vim/vimfiles/after,c:\util\home/vimfiles/after"
> line 150: sourcing "C:\vim\vim70\autoload\paste.vim"
> finished sourcing C:\vim\vim70\autoload\paste.vim
> continuing in C:\vim\vim70\menu.vim
> finished sourcing $VIMRUNTIME\menu.vim
> 
> Followed by 40 lines of searching for and not finding 20
> different .bmp files.
> 
> The menu.vim file is sourced first from $vimruntime.  It
> sources autoload\paste.vim from 'rtp'.  That's all that is
> sourced.
> 
> Clean up with:  del %temp\vfile
> 
> You might also look at how important variables are set and
> also see what is sourced (in an easier to read form).
> Simply copy the lines between the equal sign lines below:
> 
> =============================================
> sil redir @"
> sil ec '------------------------------------'
> sil ec '$vim =' $vim
> sil ec '$vimruntime =' $vimruntime
> sil scrip
> sil ec '------------------------------------'
> sil redi end
> =============================================
> 
> Now open gvim with:  gvim -u NONE -i NONE -N
> 
> and type:  :@*<Enter>p  (where <Enter> is the Enter key)
> 
> You should see something like:
> 
>     ------------------------------------
>     $vim = C:\vim
>     $vimruntime = C:\vim\vim70
>       1: C:\vim\vim70\menu.vim
>       2: C:\vim\vim70\autoload\paste.vim
>     ------------------------------------
> 
> Are you seeing different things?
> 
> -- 
> Best regards,
> Bill
> 
> Running Vim/Gvim 7.0.188 on WinXP SP2
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Menu-issue-with-vim-7.0-winXP-tf3041365.html#a8459187
Sent from the Vim - General mailing list archive at Nabble.com.

Reply via email to