unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Paul Moore" <p.f.moore@gmail.com>
Subject: CVS GNU Emacs change in font lock behaviour
Date: 30 Dec 2005 07:42:57 -0800	[thread overview]
Message-ID: <1135957377.437879.52520@z14g2000cwz.googlegroups.com> (raw)

I just upgraded to CVS GNU Emacs, and I'm getting a change in the way
the *scratch* buffer displays fontified text with font-lock mode
switched on.

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, as
switching it off fixes the problem (at the expense of losing syntax
highlighting on the Lisp code, obviously...)

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.

Is this a deliberate change, rather than a bug?

Thanks,
Paul.

             reply	other threads:[~2005-12-30 15:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-30 15:42 Paul Moore [this message]
2005-12-30 18:17 ` CVS GNU Emacs change in font lock behaviour Eli Zaretskii
     [not found] ` <mailman.20908.1135966753.20277.help-gnu-emacs@gnu.org>
2005-12-30 19:29   ` Paul Moore

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1135957377.437879.52520@z14g2000cwz.googlegroups.com \
    --to=p.f.moore@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).