unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Understanding font-lock
@ 2022-12-08 15:36 Heime
  2022-12-09 13:39 ` Stefan Monnier via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 2+ messages in thread
From: Heime @ 2022-12-08 15:36 UTC (permalink / raw)
  To: Heime via Users list for the GNU Emacs text editor


I am finding the use of font-lock too complicated.  When I make a new buffer and apply `text-mode` or `org-mode`, `font-lock` in enabled and can print text with colour using `font-lock-face`.

But when I do not set the mode of the buffer, I get `fundamental-mode` automatically.  What should I use to print in a new buffer? 

Cannot really understand what `font-lock` is about.  Does it have to be enabled to print in colour?






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-09 13:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-08 15:36 Understanding font-lock Heime
2022-12-09 13:39 ` Stefan Monnier via Users list for the GNU Emacs text editor

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).