[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64580: 30.0.50; Comment describing Lisp_Overlay object in src/lisp.h
From: |
Eli Zaretskii |
Subject: |
bug#64580: 30.0.50; Comment describing Lisp_Overlay object in src/lisp.h:2590 is not current |
Date: |
Thu, 13 Jul 2023 11:34:50 +0300 |
> From: Ihor Radchenko <yantar92@posteo.net>
> Date: Wed, 12 Jul 2023 12:47:30 +0000
>
> /* START and END are markers in the overlay's buffer, and
> PLIST is the overlay's property list. */
> struct Lisp_Overlay
> /* An overlay's real data content is:
> - plist
> - buffer (really there are two buffer pointers, one per marker,
> and both points to the same buffer)
> - insertion type of both ends (per-marker fields)
> - start & start byte (of start marker)
> - end & end byte (of end marker)
> - next (singly linked list of overlays)
> - next fields of start and end markers (singly linked list of markers).
> I.e. 9words plus 2 bits, 3words of which are for external linked lists.
> */
> {
> union vectorlike_header header;
> Lisp_Object plist;
> struct buffer *buffer; /* eassert (live buffer || NULL). */
> struct itree_node *interval;
> } GCALIGNED_STRUCT;
>
> START and END are no longer in the struct. NEXT fields are also no
> longer applicable, even via itree_node struct.
Thanks, fixed on the emacs-29 branch.