John J. Jordan - 2024-09-23

What is dumped into DEADJOE is the contents of all buffers that are not marked as saved. This includes the "yank buffer" as well as histories for file prompts, which are implemented as buffers under-the-hood. It should contain the file contents if the file was modified. If joe crashes or is killed but an open file is not in a dirty state, it won't write out the contents. Is that confirmed to be the case here?

And, no none of this is necessarily obvious. Those buffers should probably have better names to indicate what they are. They are normally persisted to .joe_state though so in theory it is saving information from being lost.