In my org file, I have a lot of headlines that I'd like to keep folded most of the time - and some that I want expanded, but the state of each expanded headline is lost when I close emacs.
Is there a way to restore the state upon re-opening the file?
PS: I'm not looking for the default expansion state as in Keep the headlines expanded in Org-Mode, nor I want to set the default visibility of each headline manually through properties - I want to remember the state of the whole file, heterogenous as it may be.