Maybe an option that automatically applies underline (or more
generally a face inactive-link) to all text which has a mouse-face
property, but mouse is not over the link...
I'd rather just change the face used for the file names
and line numbers. It is easy to customize that.