all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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.