Subject: Re: bug#45443: 28.0.50; Can't find definition of compilation--message->loc

From: Eli Zaretskii <[email-masked]>
Date: Sun, 27 Dec 2020 19:40:54 +0200

> From: Daniel Martín <[email-masked]>
> Cc: Eli Zaretskii <[email-masked]>,  [email-masked],  [email-masked]
> Date: Sun, 27 Dec 2020 01:51:29 +0100
> 
> One possible approach is, if the regular expression code fails to find a
> location, we can fall back to expand macros until we find the definition
> (a defalias in the case of a function, or a defvar in the case of a
> variable), or we reach the end of the file.

Why do we need to expand macros? isn't it enough to find the defstruct
itself, by looking for a partial match?