* Saving/restoring text properties in files
@ 2020-06-27 16:46 Greg Hill
2020-06-27 17:00 ` Eli Zaretskii
2020-06-27 17:03 ` Drew Adams
0 siblings, 2 replies; 4+ messages in thread
From: Greg Hill @ 2020-06-27 16:46 UTC (permalink / raw)
To: help-gnu-emacs
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?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Saving/restoring text properties in files
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
1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2020-06-27 17:00 UTC (permalink / raw)
To: help-gnu-emacs
> From: Greg Hill <gregoryohill@gmail.com>
> Date: Sat, 27 Jun 2020 09:46:08 -0700
>
> 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?
Did you try using enriched-mode?
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Saving/restoring text properties in files
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
2020-06-27 17:09 ` Greg Hill
1 sibling, 1 reply; 4+ messages in thread
From: Drew Adams @ 2020-06-27 17:03 UTC (permalink / raw)
To: Greg Hill, help-gnu-emacs
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Saving/restoring text properties in files
2020-06-27 17:03 ` Drew Adams
@ 2020-06-27 17:09 ` Greg Hill
0 siblings, 0 replies; 4+ messages in thread
From: Greg Hill @ 2020-06-27 17:09 UTC (permalink / raw)
To: Drew Adams; +Cc: help-gnu-emacs
Thanks so much, Drew, exactly what I needed!
On Sat, Jun 27, 2020 at 10:03 AM Drew Adams <drew.adams@oracle.com> wrote:
> > 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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-06-27 17:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2020-06-27 17:09 ` Greg Hill
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).