>>>>> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:

Andre> On Tue, Aug 27, 2002 at 11:53:17AM +0200, Jean-Marc Lasgouttes
Andre> 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).

Andre> And all the trouble just to avoid a single pass over the buffer
Andre> to look for an inseterror? Has it been checked that the trivial
Andre> solution is to slow?

This is something we do everytime we want to open a menu containing
this lfun. So it maybe slow indeed.

JMarc

Reply via email to