Re: cleanup mi error message handling

Nick Roberts
2008-03-24T23:37:38Z

> > because the first goes to the console for the user to see, the second to
> > the frontend to be handled as appropriate.
>
> Could you explain why the duplication here is good? It seems to me
> that if the front end wants to display this error to the user in the
> console, it can do so anyway, but it shouldn't have to. Maybe this
> requires a version bump, I don't know.

Emacs isn't currently using this output, so I'm not speaking from experience,
but how does the front end determine which messages are for the user?

Currently most messages that are due to frontend errors go through error ()
so I guess I'm suggesting the opposite change!

> In Eclipse, this duplication leads to a bunch of error messages that
> pop up in the console pane which don't come from anything the user
> did. It's very confusing.

Just as you say if the "frontend wants to display this error to the user in
the console, it can do so anyway" isn't it equally true that if it doesn't want
to display this error, it can choose not to so?

--
Nick http://www.inet.net.nz/~nickrob