techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.8K
active users

Jeff Sparkes

I've written a small version of the desktop mode package for . It required serializing a point in the buffer. In emacs, point is just a numeric character offset In -editor iit is a object with line number, offset in the line, buffer and other details. It doesn't have a reader form; I'm not sure it's possible to save all of the fields, but I wonder I should attempt to make it serializable. I can reconstruct it given line number, offset and buffer name.

I'm not sure of the best way to restore the file buffer in lem. find-file is interactive and may do the wrong thing. I ended up using find-file-buffer, but am worried that it doesn't do everything when setting up the buffer. I get crashes after running desktop-restore.