0

Does anyone know how to prevent these annoying messages?

bash$ gvim foo
Warning:
    Name: subMenu
    Class: XmCascadeButton
    Illegal mnemonic character;  Could not convert X KEYSYM to a keycode

Warning:
    Name: subMenu
    Class: XmCascadeButton
    Illegal mnemonic character;  Could not convert X KEYSYM to a keycode

I get them every time I open gvim.

  • Have you defined any custom menus? – D. Ben Knoble Apr 8 at 23:17
  • 1
    Also might be helpful if you specify system, window manager, etc. Xm might be an Xmonad prefix? But we cant guess... – D. Ben Knoble Apr 9 at 13:55
  • 1
    Looks like it's a Motif toolkit thing... See man page and likely spot on vim sources. OP, which platform, OS are you using? Where did you get your gvim from? Did you build it yourself or download it from somewhere? Installed from a package manager? – filbranden Apr 9 at 14:56
0

That is related to Motif library, an X11 widget set first created by Open Software Foundation, OSF. Search for X11/Motif errors and warnings and you will find a solution. Most younger people don't know about it anymore... ;-)

| improve this answer | |
  • 2
    Welcome to Vi and Vim! We would really rather see answers that address the question directly: if it’s as simple as searching, would you mind doing so and editing to provide a solution? This makes your answer much stronger. As it is, it would make a better comment or should be deleted altogether. – D. Ben Knoble Jun 13 at 3:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.