unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* saving/restoring text and overlays
@ 2020-03-26  4:14 Leo Butler
  2020-03-26 22:23 ` Michael Heerdegen
  0 siblings, 1 reply; 8+ messages in thread
From: Leo Butler @ 2020-03-26  4:14 UTC (permalink / raw)
  To: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-03-30 20:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-26  4:14 saving/restoring text and overlays Leo Butler
2020-03-26 22:23 ` 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

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).