What is the proper way of solving this problem with respect to AUCTeX's design - I mean, how to do that in a way that it will still recognize the errors, display log on demand, make "View" command default on successful compilation, etc. Or, what is a way to define my own command with the same functionality and make it default?
With the current AUCTeX management of compilers I think the cleanest solution would be to add a new command for
Here there is the following solution (slightly improved): add this code to your
This isn't the best solution, but at least is able to catch error reports.