Try the following in an empty buffer: :g/./
It will give you an E486: Pattern not found: . message, but it won't be highlighted as an ErrorMsg. Executing /./ on the same buffer does give the error message with the correct highlighting. I'm running Vim 7 without any patches applied. n.o.w.