GNU bug report logs -
#59828
Fundamental Mode buffers fail to keep text properties
Previous Next
Full log
View this message in rfc822 format
------- Original Message -------
On Monday, December 5th, 2022 at 3:40 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> > Date: Mon, 05 Dec 2022 15:06:09 +0000
> > From: Heime heimeborgia <at> protonmail.com
> > Cc: casouri <at> gmail.com, 59828 <at> debbugs.gnu.org
> >
> > > > > 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 ?
>
>
> What it does now is the result of what we think. That's why it is called
> Fundamental.
>
> Anyway, there's no bug here, so I'm closing this.
Is fundamental mode not usually used when working on new buffers?
This bug report was last modified 2 years and 166 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.