Closed mfiano closed 7 years ago
Do you add both save and load functions to the persp-load-buffer-functions
?
Maybe I messed that up. On a side note, I solved it anyway with the nicer def-persp-buffer-save/load
How would you autoresume buffers such as ERC/circe IRC channel buffers that require a connection?
I guess you must store server address and channel name for each such buffer. And when you load state just connect to server and join channel. I don't use ERC/circe so I can not say how exactly you must do it.
Well here is an example of code that do it for erc: https://gist.github.com/Bad-ptr/1aca1ec54c3bdb2ee80996eb2b68ad2d#file-persp-erc-el
However I think it is better to use erc-autojoin-channels-alist
.
Closing. If you have questions -- feel free to reopen.
I have the following relevant configuration:
This successfully loads my ielm buffers, however it breaks loading of some other buffers. In Messages I have the following: