On Tue, Aug 27, 2002 at 11:53:17AM +0200, Jean-Marc Lasgouttes wrote: > >>>>> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: > > Juergen> Jean-Marc Lasgouttes wrote: > >> We could set a hasErrorInsets bool in Buffer when we insert error > >> insets, and reset it to false when removeautoinsets is called. Of > >> course, this does not handle the case where people delete error > >> insets by hand, but maybe is it better than nothing. > > Juergen> The flag can be updated on such an action, don't you think > Juergen> so? > > To do that, we should have a counter of number of inseterror. But I > think this is asking for trouble (there are so many ways to add/remove > an inseterror).
And all the trouble just to avoid a single pass over the buffer to look for an inseterror? Has it been checked that the trivial solution is to slow? Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)