[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MPS: dangling markers
From: |
Eli Zaretskii |
Subject: |
Re: MPS: dangling markers |
Date: |
Sat, 29 Jun 2024 20:23:48 +0300 |
> From: Gerd Möllmann <gerd.moellmann@gmail.com>
> Cc: yantar92@posteo.net, monnier@iro.umontreal.ca, emacs-devel@gnu.org,
> eller.helmut@gmail.com
> Date: Sat, 29 Jun 2024 19:17:21 +0200
>
> And let me add a question: do we know for sure that these markers stem
> from char<->byte position code?
By definition, yes: I meant to use this instead of the markers that
the char<->byte position code creates when it finds long stretches of
text without any markers in it. IOW, this code from marker.c:
/* If this position is quite far from the nearest known position,
cache the correspondence by creating a marker here.
It will last until the next GC. */
if (record)
build_marker (b, best_below, best_below_byte);
(there are 4 such calls in the conversion routines).
- Re: MPS: dangling markers, (continued)
- Re: MPS: dangling markers, Ihor Radchenko, 2024/06/28
- Re: MPS: dangling markers, Gerd Möllmann, 2024/06/28
- Re: MPS: dangling markers, Ihor Radchenko, 2024/06/28
- Re: MPS: dangling markers, Gerd Möllmann, 2024/06/28
- Re: MPS: dangling markers, Gerd Möllmann, 2024/06/28
- Re: MPS: dangling markers, Ihor Radchenko, 2024/06/29
- Re: MPS: dangling markers, Gerd Möllmann, 2024/06/29
- Re: MPS: dangling markers, Eli Zaretskii, 2024/06/29
- Re: MPS: dangling markers, Gerd Möllmann, 2024/06/29
- Re: MPS: dangling markers, Gerd Möllmann, 2024/06/29
- Re: MPS: dangling markers,
Eli Zaretskii <=
- Re: MPS: dangling markers, Gerd Möllmann, 2024/06/29
- Re: MPS: dangling markers, Eli Zaretskii, 2024/06/29
- Re: MPS: dangling markers, Gerd Möllmann, 2024/06/29
- Re: MPS: dangling markers, Ihor Radchenko, 2024/06/29
- Re: MPS: dangling markers, Gerd Möllmann, 2024/06/29
- Re: MPS: dangling markers, Stefan Monnier, 2024/06/29
- Re: MPS: dangling markers, Gerd Möllmann, 2024/06/30
- Re: MPS: dangling markers, Eli Zaretskii, 2024/06/30
- Re: MPS: dangling markers, Stefan Monnier, 2024/06/30
- Re: MPS: dangling markers, Eli Zaretskii, 2024/06/30