Skip to content
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

Session sometimes partially restored #8

Open
dbarnett opened this issue Jan 31, 2014 · 1 comment
Open

Session sometimes partially restored #8

dbarnett opened this issue Jan 31, 2014 · 1 comment
Labels

Comments

@dbarnett
Copy link
Collaborator

What steps will reproduce the problem?

  1. Launch a8 with session saving enabled, and open a lot of files for editing.
  2. Exit a8.
  3. Re-launch a8.

What is the expected output? What do you see instead?
I expect to see all the same buffers open in the same configuration as before I closed a8. Instead, I sometimes see several buffers missing, sometimes also with syntax errors from vim that suggest it's getting an unexpected EOF.

It may help reproduce if you have a complex configuration with tabs and splits, and might also help reproduce if you have plugins installed that add a noticeable delay after opening each buffer.

@dbarnett
Copy link
Collaborator Author

I suspect what's happening here is that we're calling the periodic ":mksession" command before vim finishes processing the session the first time, and clobber the session file it's reading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant