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

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

Re: tutorial on faces ?


From: Jean-Christophe Helary
Subject: Re: tutorial on faces ?
Date: Fri, 8 Feb 2019 00:15:56 +0900


> On Feb 8, 2019, at 0:04, Drew Adams <drew.adams@oracle.com> wrote:
> 
>>> And do you want the face highlighting to be
>>>  automatically reapplied to those parts when
>>>  the same text is visited anew (in the same
>>>  mode), e.g. in a new Emacs session or after
>>>  reverting the buffer?
>> 
>> I'm not sure I understand the question.
> 
> Do you want the highlighting to be inherently
> associated with particular patterns, so that
> whenever a buffer with those patterns is visited
> in a particular mode the patterns get highlighted.

Yes. But I'm not sure I can call (my tweaked) poker.el a "mode". It is just a 
program that outputs strings based on inputs in a dedicated buffer.

> I'm guessing you can find tutorials or videos or
> blogs that introduce font-lock.  If not (or even
> if so), consult the Elisp manual, starting with
> node Font Lock Mode (`C-h i g (elisp)font lock mode').
> 
> https://www.gnu.org/software/emacs/manual/html_node/elisp/Font-Lock-Mode.html
> 
> Admittedly, that can be heavy going - font lock can
> be complicated.  Start with an intro (e.g. blog), if
> you find a good one.

Thank you.

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





reply via email to

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