[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to prevent font-lock from messing with a portion of text?
From: |
Stefan Monnier |
Subject: |
Re: how to prevent font-lock from messing with a portion of text? |
Date: |
Thu, 22 Mar 2007 14:35:05 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) |
> How can one prevent font-lock from changing the text properties of a given
> portion of text? I tried (put-text-property start end 'fontified t), but C-x
> C-s just re-font-lock fontifies the text in question. I also tried binding
> `inhibit-modification-hooks' to t, with the same result.
There are many different ways, each one with advantages and quirks,
I can't recommend any without knowing more of what you're trying to do,
Stefan
- how to prevent font-lock from messing with a portion of text?, Drew Adams, 2007/03/22
- Re: how to prevent font-lock from messing with a portion of text?,
Stefan Monnier <=
- Re: how to prevent font-lock from messing with a portion of text?, Miles Bader, 2007/03/22
- Re: how to prevent font-lock from messing with a portion of text?, Stefan Monnier, 2007/03/23
- RE: how to prevent font-lock from messing with a portion of text?, Drew Adams, 2007/03/23
- Re: how to prevent font-lock from messing with a portion of text?, Lennart Borgman (gmail), 2007/03/23
- Re: how to prevent font-lock from messing with a portion of text?, Stefan Monnier, 2007/03/23
- RE: how to prevent font-lock from messing with a portion of text?, Drew Adams, 2007/03/23