Subject: bug#59828: Fundamental Mode buffers fail to keep text properties

From: Heime <[email-masked]>
Date: Mon, 05 Dec 2022 15:06:09 +0000

------- Original Message -------
On Monday, December 5th, 2022 at 3:00 PM, Eli Zaretskii <[email-masked]> wrote:

> > Date: Mon, 05 Dec 2022 14:54:47 +0000
> > From: Heime [email-masked]
> > Cc: [email-masked], [email-masked]
> > 
> > > Conclusion: you need to turn on font-lock in that buffer.
> > 
> > When I use (text-mode) or (org-mode), I do not get the problem.
> > 
> > (with-current-buffer (get-buffer-create bufrn)
> > (text-mode)
> > (insert (propertize "G"
> > 'font-lock-face '(:background "green"
> > :foreground "black"))))
> 
> 
> Because those turn on font-lock by default.

What do you think about having fundamental-mode also turn font-lock on ?