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

From: [email-masked]
Date: Thu, 30 May 2019 12:35:50 -0400

merge 36001 25133
quit

Evgeniy Dushistov <[email-masked]> writes:

> the first error is not marked as error:
>
>> error...
>>   --> macroslib/src/lib.rs:428:27
>
> I uses rust-mode, it adds some regexps to
> compilation-error-regexp-alist-alist:
>
> https://github.com/rust-lang/rust-mode/blob/master/rust-mode.el

Thanks, I attach a simple reproducer based on this, run as

    emacs -Q -l bug-36001-reproducer.el -f bug-36001-reproducer

The basic problem is that rust-mode is using a multiline regexp, so it's
the same bug#25133.