From: Leo Butler <leo.butler@umanitoba.ca>
To: help-gnu-emacs@gnu.org
Subject: saving/restoring text and overlays
Date: Wed, 25 Mar 2020 23:14:54 -0500 [thread overview]
Message-ID: <86zhc3iwg1.fsf@x201.butler.org> (raw)
If I have a buffer with, e.g. display properties set to images, how can
I save that to disk and re-open the saved data so that emacs displays the
same "stuff"? I am not looking to export the buffer using html or latex
or any other markup. I just want to be able to save the formatting
information so that another emacs instance can display exactly the same
document.
I can see how this might be cobbled together by a save-file hook that
stuffs (buffer-substring) of a narrowed buffer into an Eval: stanza at
the end of file. But I am hoping that there is a pre-existing mode that
does what I want.
TIA,
Leo
next reply other threads:[~2020-03-26 4:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-26 4:14 Leo Butler [this message]
2020-03-26 22:23 ` saving/restoring text and overlays Michael Heerdegen
2020-03-29 20:21 ` Leo Butler
2020-03-30 0:14 ` Michael Heerdegen
2020-03-30 0:23 ` Michael Heerdegen
2020-03-30 1:23 ` Noam Postavsky
2020-03-30 2:25 ` Eli Zaretskii
2020-03-30 20:14 ` Leo Butler
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=86zhc3iwg1.fsf@x201.butler.org \
--to=leo.butler@umanitoba.ca \
--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).