emacs-devel
[Top][All Lists]
Advanced

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

Re: text-property/intervals question


From: Stefan Monnier
Subject: Re: text-property/intervals question
Date: Thu, 15 Nov 2001 09:42:56 -0500

> Is it legal for a `struct interval' to have a total_length field of 0?

I'm not 100% sure, but I'd say it's not.
More importantly, it shouldn't be because it's a waste of precious
resources to keep such empty intervals around.

> If zero-length intervals are legal (I didn't think they were), then I
> suppose this could be fixed by changing the `if' to `while', but if they
> aren't legal, there's something funny going on.  However, I don't
> really understand this code, so I'd appreciate any advice or help.

I'll gladly look into it, but not before next week.


        Stefan




reply via email to

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