bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#46507: 26.1; bold attribute copied into enriched-mode text is not sa


From: Tomas Nordin
Subject: bug#46507: 26.1; bold attribute copied into enriched-mode text is not saved
Date: Sun, 07 Mar 2021 13:46:16 +0100

Hello Dan

Dan Hitt <dan.hitt@gmail.com> writes:

> I am using emacs 26.1 on debian 10.3.
>
> The bug is that when you copy bolded-colored text from an eshell buffer
> into an enriched-text buffer, the bold shows after the copy --- but if you
> then close the enriched-text file, and re-open it, the bolding is gone.

I have no experience with Enriched mode but I read this from [1]:

    Enriched mode is typically used with Text mode (see Text Mode). It
    is not compatible with Font Lock mode, which is used by many major
    modes, including most programming language modes, for syntax
    highlighting (see Font Lock). Unlike Enriched mode, Font Lock mode
    assigns text properties automatically, based on the current buffer
    contents; those properties are not saved to disk.

So if the "bolded-colored" text is a font lock thing, it will not be
saved to disc. Could that be it?

[1] 
https://www.gnu.org/software/emacs/manual/html_node/emacs/Enriched-Text.html#Enriched-Text-1

--
Tomas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]