Tuesday, October 12, 2010

Re: E792: Empty menu name

Hi,

On Mon, Oct 11, 2010 at 6:25 PM, Tim Johnson <tim@johnsons-web.com> wrote:
> * Tim Johnson <tim@johnsons-web.com> [101011 17:22]:
>> This is an incredibly obnoxious error message that manifests itself
>> - to the best of my understanding when I load a new file after loading
>>   a session. I've googled this problem, but what I have found seems
>>   to come from plugins for perl. In my case I am editing python and
>>   javascript files.
>>
>> 3)I open from SelectBuf and see something like this:
>> """
>> E792: Empty menu name
>> Error detected while processing function
>> <SNR>37_Tlist_Refresh..<SNR>37_Tlist_Menu_Update_File..<SNR>37_Tlist_Menu_File_Refresh:
>> """
>> which is coming from the taglist plugin, I believe.
>>

The above error message is displayed because the taglist plugin is trying
to add a menu item with empty name.

Which version of the taglist plugin are you using? Do you see this problem
with particular file names? Are you seeing this problem when editing any
particular file types?

>
>  Should have added: using vim 7.2 on ubuntu 10.04. Problem has only
>  been encounted when using the gui version - Huge version with GTK2
>  GUI.
>  I do now recall (and have made note in a knowledge base) that
>  :let Tlist_Show_Menu=0 is a fix, however, the more I know about
>  the cause of this, the more equipped I shall be to deal with it
>  in the future. So comments are still solicited.
>

If the Tlist_Show_Menu variable is set to zero, then the taglist plugin
will not add the Tags menu. If you don't use the Tags menu, then you
can set this variable to zero.

- Yegappan

--
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

No comments: