[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: address@hidden: highlight-changes-rotate-faces sets buffer modified
From: |
martin rudalics |
Subject: |
Re: address@hidden: highlight-changes-rotate-faces sets buffer modified flag] |
Date: |
Wed, 09 May 2007 23:59:48 +0200 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
> (2) Suppose I reset the buffer-modified flag and bind `buffer-undo-list'
> to t as in my patch. In this case I would not be able to undo the
> change caused by `highlight-changes-rotate-faces' and end up with quite
> confusing colors after an arbitrary sequence of undos and saves.
>
> Should this mode use overlays?
It does use a combination of text-properties and overlays. On my
machine, the combined use of an after-change hook and overlays already
seems to cause a noticeable slowdown during editing.
> Should it use something the font-lock mechanism so that it can update
> when the buffer is edited?
Hmmm ... it does so, in principle, but for the reliance on the undo
mechanism. I doubt that we can do much better.
Re: address@hidden: highlight-changes-rotate-faces sets buffer modified flag], martin rudalics, 2007/05/09
- Re: address@hidden: highlight-changes-rotate-faces sets buffer modified flag], Richard Stallman, 2007/05/09
- Re: address@hidden: highlight-changes-rotate-faces sets buffer modified flag],
martin rudalics <=
- Re: address@hidden: highlight-changes-rotate-faces sets buffer modified flag], Richard Stallman, 2007/05/11
- Re: address@hidden: highlight-changes-rotate-faces sets buffer modified flag], martin rudalics, 2007/05/11
- Re: address@hidden: highlight-changes-rotate-faces sets buffer modified flag], Richard Stallman, 2007/05/13
- Re: address@hidden: highlight-changes-rotate-faces sets buffer modified flag], martin rudalics, 2007/05/14
- Re: address@hidden: highlight-changes-rotate-faces sets buffer modified flag], Richard Stallman, 2007/05/15
- Re: address@hidden: highlight-changes-rotate-faces sets buffer modified flag], martin rudalics, 2007/05/16
- Re: address@hidden: highlight-changes-rotate-faces sets buffer modified flag], Richard Stallman, 2007/05/16