emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Overlay mechanic improvements


From: David Kastrup
Subject: Re: Overlay mechanic improvements
Date: Sat, 20 Sep 2014 15:37:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

> [[[ To any NSA and FBI agents reading my email: please consider    ]]]
> [[[ whether defending the US Constitution against all enemies,     ]]]
> [[[ foreign or domestic, requires you to follow Snowden's example. ]]]
>
> I don't see that it makes sense to store overlays like text properties.
> The existing data structure is fine for overlays used as they are intended
> to be used.

preview-latex <URL:http://www.gnu.org/software/auctex/preview-latex>
extensively uses overlays (and they can easily grow to a few thousand
per document in a mathematically oriented paper), and it is very clearly
_overlays_ which are wanted here since the associated images are only
correct in the context and position of a particular document and would
not make any sense at all to copy and paste.

Quadratic behavior for the markers used as start- and end markers is
clearly undesirable.

Naturally, this could be addressed by changing the data
structures/algorithms for updating markers (thus killing two birds with
one stone).  But whether solved together with marker behavior or not,
this is worth addressing.

-- 
David Kastrup




reply via email to

[Prev in Thread] Current Thread [Next in Thread]