unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Greg Hill <gregoryohill@gmail.com>, help-gnu-emacs@gnu.org
Subject: RE: Saving/restoring text properties in files
Date: Sat, 27 Jun 2020 10:03:05 -0700 (PDT)	[thread overview]
Message-ID: <6ce8f948-a3dd-49e8-a3c0-5057f6b3110b@default> (raw)
In-Reply-To: <CADSjfO5_KGNF_bLE8WN1SUraFkEwKxJQJEcJkTZGx_53dr10QA@mail.gmail.com>

> I'm sure this is brain-dead easy to do with a simple command, but search as
> I may, I can't find the documentation for it.
> 
> I have a text file in Fundamental mode that I have modified to highlight
> parts with different colors. I want to save that file and be able to read
> it back later with all of those highlights. How can I do that?

Try `enriched-mode'. Not perfect, but it will get
you quite a ways.

See the Emacs manual, node `Enriched Text'.

https://www.gnu.org/software/emacs/manual/html_node/emacs/Enriched-Text.html



  parent reply	other threads:[~2020-06-27 17:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-27 16:46 Saving/restoring text properties in files Greg Hill
2020-06-27 17:00 ` Eli Zaretskii
2020-06-27 17:03 ` Drew Adams [this message]
2020-06-27 17:09   ` Greg Hill

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6ce8f948-a3dd-49e8-a3c0-5057f6b3110b@default \
    --to=drew.adams@oracle.com \
    --cc=gregoryohill@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).