help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS GNU Emacs change in font lock behaviour


From: Eli Zaretskii
Subject: Re: CVS GNU Emacs change in font lock behaviour
Date: Fri, 30 Dec 2005 20:17:40 +0200

> From: "Paul Moore" <p.f.moore@gmail.com>
> Date: 30 Dec 2005 07:42:57 -0800
> 
> If I executed (insert (propertize "abc" 'face 'my-red-face)) in the
> *scratch* buffer with my old Emacs (CVS from some time way back in
> 2004), the text was inserted and displayed in red. With the new
> version, the face property is lost.
> 
> I assume this is related to font-lock mode being switched on

Yes, font-lock is on by default from now on.

> The old behaviour was extremely useful for testing fontification code,
> and it's a pain that it has gone. But I can learn to work with the new
> behaviour if I need to.

It's probably better to test fontification code in a buffer other than
*scratch*, probably some buffer in Fundamental mode.

> Is this a deliberate change, rather than a bug?

Yes, it's a deliberate change.  It was decided that the time has come
to have font-lock on by default, as other editors do.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]