Re: [cream] Extra buffer created when file opened with cream --remote-send
Cream is a free, easy-to-use configuration of the Vim text editor
Brought to you by:
digitect
From: Ben A. <BAr...@dy...> - 2007-08-23 11:52:42
|
Ben Armstrong wrote: > You may recall that in our cream-user.vim we have an 'after open' hook > set up to create a lockfile for selected files being edited. When I > comment out in the hook the call to "Cream_touch()" so that the lockfile > isn't created, both problems go away! So I need some ideas about how we > can still create the lock file without causing these problems. Any clues? > Here is a simple, reproducible test case that I believe doesn't require any of my hooks and that shows Cream_touch() is broken. 1. With an empty buffer, ^O:call Cream_touch("test.tmp"). Then "refresh tabs". No extra tabs appear. 2. Open a file. Do another ^O:call Cream_touch("test.tmp"). Then "refresh tabs". An extra "Untitled" tab appears. I tried just changing the bwipeout to a "call Cream_bwipeout()" in Cream_touch(), but that didn't help. I don't really know what I'm doing here. :) Ben |