[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `make-overlay' very slow
From: |
Lennart Borgman |
Subject: |
Re: `make-overlay' very slow |
Date: |
Sat, 11 Apr 2009 09:46:39 +0200 |
On Sat, Apr 11, 2009 at 9:45 AM, Werner LEMBERG <address@hidden> wrote:
>
>>> I did that (see attachment for reference), and it really works at a
>>> reasonable speed. However, it is the completely wrong concept
>>> since it sets the `modified' flag and stores undo information,
>>
>> There is a macro in font-lock.el that you can use to modify text
>> properties without storing undo information or setting the modified
>> flag.
>
> Thanks, will update my code. However, it isn't a general solution
> since my function should essentially work with all modes.
The macro does not depend on font-lock and you have to copy it to your code.
- Re: hiding lines, (continued)
- Re: hiding lines, Werner LEMBERG, 2009/04/10
- Re: hiding lines, Andreas Schwab, 2009/04/10
- Re: hiding lines, Werner LEMBERG, 2009/04/10
- `make-overlay' very slow (was: hiding lines), Werner LEMBERG, 2009/04/10
- Re: `make-overlay' very slow, Stefan Monnier, 2009/04/10
- Re: `make-overlay' very slow, Werner LEMBERG, 2009/04/11
- Re: `make-overlay' very slow, Lennart Borgman, 2009/04/11
- Re: `make-overlay' very slow, Werner LEMBERG, 2009/04/11
- Re: `make-overlay' very slow,
Lennart Borgman <=
- Re: `make-overlay' very slow, Werner LEMBERG, 2009/04/11
- Re: `make-overlay' very slow, Eli Zaretskii, 2009/04/11
- Re: `make-overlay' very slow, Stefan Monnier, 2009/04/11
- Re: `make-overlay' very slow, Kenichi Handa, 2009/04/14
- Re: `make-overlay' very slow, Stefan Monnier, 2009/04/14
- Re: `make-overlay' very slow, Richard M Stallman, 2009/04/14
- Re: `make-overlay' very slow, Kenichi Handa, 2009/04/14
- clone-indirect-buffer-hook should be make-indirect-buffer-hook, klaus.berndl, 2009/04/16
Re: hiding lines, Andreas Roehler, 2009/04/03