Subject: bug#77924: 31.0.50; [Feature branch] Change marker implementation

From: Eli Zaretskii <[email-masked]>
Date: Fri, 25 Apr 2025 10:01:14 +0300

> From: Gerd Möllmann <[email-masked]>
> Cc: Eli Zaretskii <[email-masked]>,  [email-masked],
>   [email-masked],  [email-masked]
> Date: Thu, 24 Apr 2025 21:53:05 +0200
> 
> Pip Cet <[email-masked]> writes:
> 
> > I think what we should do is mimic FOR_EACH_TAIL, and use
> > FOR_EACH_MARKER like this:
> >
> > struct Lisp_Marker *m;
> > FOR_EACH_MARKER (b, m)
> >   {
> >     /* do something with m */
> >   }
> 
> We need an if somewhere for the MARKERP, don't we?

Why is that needed, btw?  Can't we change the representation and/or
the functions involved to avoid the need for such a test?