Do overlays work correctly in Emacs for Windows?

Posted by Cheeso on Stack Overflow See other posts from Stack Overflow or by Cheeso
Published on 2010-04-08T15:20:47Z Indexed on 2010/04/08 15:23 UTC
Read the original article Hit count: 357

Filed under:
|

I'm using Flymake on C# code, emacs v22.2.1 on Windows.

The Flymake stuff has been working well for me. For those who don't know, you can read an overview of flymake, but the quick story is that flymake repeatedly builds the source file you are currently working on in the background, for the purpose of doing syntax checking. It then highlights the compiler warnings and erros in the current buffer.

Flymake didn't work for C# initially, but I "monkey-patched it" and it works nicely now. If you edit C# in emacs, I highly recommend using flymake.

The only problem I have is with the UI. Flymake highlights the errors and warnings nicely, and then inserts "overlays" with the full error or warning text. IF I hover the mouse pointer over the highlighted line in code, the overlay pops up.

alt text

But as you can see, the overlay is truncated, and it doesn't display correctly.

Flymake seems to be doing the right thing, it's the overlay part that seems broken.

Do overlays work correctly in emacs for Windows?

Where do I look to fix this?

© Stack Overflow or respective owner

Related posts about emacs

Related posts about c#