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

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

saving/restoring text and overlays


From: Leo Butler
Subject: saving/restoring text and overlays
Date: Wed, 25 Mar 2020 23:14:54 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

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



reply via email to

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