GNU bug report logs - #59828
Fundamental Mode buffers fail to keep text properties

Previous Next

Package: emacs;

Reported by: Heime <heimeborgia <at> protonmail.com>

Date: Mon, 5 Dec 2022 06:31:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#59828: closed (Fundamental Mode buffers fail to keep text
 properties)
Date: Mon, 05 Dec 2022 15:42:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 05 Dec 2022 17:40:51 +0200
with message-id <83cz8x97uk.fsf <at> gnu.org>
and subject line Re: bug#59828: Fundamental Mode buffers fail to keep text properties
has caused the debbugs.gnu.org bug report #59828,
regarding Fundamental Mode buffers fail to keep text properties
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
59828: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=59828
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Heime <heimeborgia <at> protonmail.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: Fundamental Mode buffers fail to keep text properties
Date: Mon, 05 Dec 2022 06:30:28 +0000
Have noticed that when I insert text with colour properties in a buffer
using fundamental-mode, the text properties (e.g. colours) get lost.


[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Heime <heimeborgia <at> protonmail.com>
Cc: casouri <at> gmail.com, 59828-done <at> debbugs.gnu.org
Subject: Re: bug#59828: Fundamental Mode buffers fail to keep text properties
Date: Mon, 05 Dec 2022 17:40:51 +0200
> 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.


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.