all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean-Christophe Helary <brandelune@gmail.com>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: tutorial on faces ?
Date: Fri, 8 Feb 2019 00:58:09 +0900	[thread overview]
Message-ID: <406711A6-E62E-4F43-B891-51724243CA9A@gmail.com> (raw)
In-Reply-To: <a6a3c03f-6aad-46ee-88b9-25bbdbf9639f@default>



> On Feb 8, 2019, at 0:44, Drew Adams <drew.adams@oracle.com> wrote:

> I probably should have mentioned this: To highlight
> parts of a string is one thing - use `propertize'
> with property `face', for example.
> 
> To highlight parts of a buffer is something else.

How is that something else ?

> You typically use font lock for this.  Font lock
> periodically updates the highlighting, even as
> you change buffer contents.  It applies a set of
> highlighting rules (regexp patterns, for example),
> in sequence.

Isn't it something you'd always want ?

Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune





  reply	other threads:[~2019-02-07 15:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-06 13:38 tutorial on faces ? Jean-Christophe Helary
2019-02-06 15:22 ` Drew Adams
2019-02-06 15:32   ` Jean-Christophe Helary
2019-02-06 16:45     ` Drew Adams
2019-02-07  5:47       ` Jean-Christophe Helary
2019-02-07 15:04         ` Drew Adams
2019-02-07 15:15           ` Jean-Christophe Helary
2019-02-07 15:44             ` Drew Adams
2019-02-07 15:58               ` Jean-Christophe Helary [this message]
2019-02-07 17:54                 ` Drew Adams

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

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

  git send-email \
    --in-reply-to=406711A6-E62E-4F43-B891-51724243CA9A@gmail.com \
    --to=brandelune@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.