Monday, April 23, 2018

Problem with Obsession leaking buffers from one session to another

I've reported this on the Obsession issues page, but I thought I'd
ask here in case there is some generic setting or solution that may
help fix this.

The problem is that when I open a session file using -S it contains
buffers that were opened in either a previous session, or no session
at all.

Test case:

touch a b
vim a
:Obsession a-test
:q

vim b
:Obsession b-test
:q

vim -S a-test

It contains a buffer with 'b'.

Is there a way of fixing this? I've tried adjusting sessionoptions to
only contain 'folds,options,winsize,terminal' but it made no difference.
This is obviously a problem with sessions containing many buffers that
spill into each other.

Any help is greatly appreciated.

Dave

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: