-
Notifications
You must be signed in to change notification settings - Fork 27.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
backup scratchpads on window close for hotexit=onexit #183473
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this change missing some cases, such as changing to a different folder inside a window when having scratchpad working copies? I think in all cases where false
(or now []
with your change) is returned, we would always want to include the scratchpad working copies, no?
I could have gone either way for context switches, so I'll change to recover scratchpads in that case. But for |
Yes, I would think that scrapbook working copies can only automatically backup in workspace/folder contexts where they can easily be recovered by simply opening said workspace/folder again. For empty windows its harder because we do not keep track of them when you change away from them in a window. |
I think essentially scrapbook working copies should be handled as if |
… aamunger/scratchpadHotExit
fixes #183378
this will change scratchpads to treat both hot exit settings the same, and will only veto for