Subject: Re: bug#36001: 26.2; compile-mode.el/compilation-mode spontaneous behaviour

From: Noam Postavsky <[email-masked]>
Date: Thu, 30 May 2019 08:01:18 -0400

Evgeniy Dushistov <[email-masked]> writes:

> These are spontaneous errors, I have ~10 good cases,
> when all works fine vs 1 bad case, when rending or jump to source location works
> only for subset of errors/warnings.

Could you evaluate the code below, and then post the contents of the
*trace-output* buffer after a bad case happens.

    (defun bug-36001-clear-trace (&rest _)
      (with-current-buffer trace-buffer
        (let ((inhibit-read-only t))
          (erase-buffer))))
    (advice-add 'compile :before #'bug-36001-clear-trace)
    (trace-function-background 'compilation-filter)