>>>> "Manuel" == Manuel Serrano
<Manuel.Serrano(a)sophia.inria.fr> writes:
Manuel> To my opinion this is cumbersome (most likely I miss
Manuel> understand the correct way to use overlay...).
Emacs 21's Lispref describes this property for overlays:
------------------------------------------------------------------------
@item evaporate
@kindex evaporate @r{(overlay property)}
If this property is non-@code{nil}, the overlay is deleted automatically
if it ever becomes empty (i.e., if it spans no characters).
------------------------------------------------------------------------
According to etc/ONEWS this was introduced in 19.29, so you can
probably rely on it even for very old Emacsen.
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Don't ask how you can "do" free software business;
ask what your business can "do for" free software.