Thomas Link wrote:

> >> set nocompatible
> >> set wildmenu
> >> amenu test.etc\..1 :echo 1<cr>
> >>
> >> emenu test.{press tab}
> >>
> >> This presents no possible completion in vim, but correctly shows the
> >> submenu in gvim.
> >>     
> >
> > It works fine for me.  Could there be something else that matters?
> 
> I tried this with the terminal version on linux & windows (compiled with
> GUI=no) and it didn't work when invoking vim as vim -u NONE. It
> works when running gvim (@ winxp) though.
> 
> I first noticed this problem already some time ago when I first tried
> the :emenu command because I happen to have some custom functions listed
> in a tml.Vim\ etc\. submenu.
> 
> I can still execute the menu entry when I know the name, but command 
> line completion doesn't work -- which is somewhat bad because I put 
> stuff into the menu I use so seldomn that there isn't use in remembering it.

I tried again, but can't reproduce it.  I run "vim -u NONE", source the
three lines and type ":emenu test.<Tab>".  Result is
":emenu test.etc\..".  Another <Tab> adds the "1".

-- 
How To Keep A Healthy Level Of Insanity:
15. Five days in advance, tell your friends you can't attend their
    party because you're not in the mood.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to