On 22/05/2022 10:51, Ihor Radchenko wrote:
The attached patch is fixing a rather annoying problem when org-latex-pdf-process is set to a list. Currently, only output of the last command in the list is preserved in *Org PDF LaTeX output* buffer, which sometimes prevents ox-latex from detecting compilation warnings.
I may be wrong, but I believed that some code might check buffer content for specific messages to determine if additional pass is required to resolve or adjust cross-reference links. If it is done by external tools working with log files than there is no problem, otherwise lisp code analyzing whole buffer may be confusing by first pass messages when there was no e.g. .aux file.
Erasing messages from previous commands making debugging of problems harder, so having complete logs should be an improvement.