It appears my exuberance is premature. I'm still getting the swap exists
error, but now only occasionally. Also sometimes after getting that
error menu commands ("File>Open" or "File>SaveAs") have no effect until
I open yet another file via the r-click context menu. The subsequent
open-with files do not display the swap-exists error.
> You can force Cream to work in another directory by using a cream-conf
> and uncommenting the following line (start with
> cream-conf.example.vim)
>
> let g:CREAM_CWD = '/tmp'
I copied ...[install location]...\vim\vim72\cream\cream-conf.example.vim
to [same dir]\cream-conf.vim and added "let g:CREAM_CWD = 'C:\\TEMP'" to
line 190 (just before "endfunction). I also tried "let g:CREAM_SWP =
'C:\\TEMP'". The swap file is still being co-located with the file
being edited.
Then I moved cream-conf.vim to my .cream user directory (as reported by
:echo g:cream-user). Still no change.
During my testing I notices :let g:... settings are remembered. For
example if I make cream-conf.vim and cream-user.vim empty files and then
run ":let g:CREAM_SWP='D:\\TEMP'" in the expert command buffer, close
and restart cream, then expert ":echo g:CREAM_SWP" reports D:\\TEMP.
For all of the above cases "Tools > Addons > Cream config info" always
reports no CREAM_SWP directory (below), while ":echo g:CREAM_SWP"
reports as C:\\TEMP (or D:\\TEMP if that was the last setting tried).
Cream_init_directory(): no $CREAM_SWP: &directory: .
Colour me confused.
And behind on my real work. I'll try some more tests tomorrow.
matt wilkie
--------------------------------------------
Geomatics Analyst
Information Management and Technology
Yukon Department of Environment
10 Burns Road * Whitehorse, Yukon * Y1A 4Y9
867-667-8133 Tel * 867-393-7003 Fax
http://environmentyukon.gov.yk.ca/geomatics/
--------------------------------------------
Steve Hall wrote:
> On Fri, 2009-10-02 at 15:54 -0700, Matt Wilkie wrote:
>
>> Good news,
>>
>> I deleted the EditWith registry entries which did _not_ have
>> Wow6432Node in the branch path, by the expedient of prefacing the
>> lines with a negative and then 2x-clicking on them (attached). This
>> seems to have fixed the swap exists error, and markedly improved
>> EditWith response time.
>>
>
> Good thing you figured this out, I may never have!
>
>
>> Now there's just problem of putting the swap files in %temp% instead
>> of adjacent to the file.
>>
> You can force Cream to work in another directory by using a cream-conf
> and uncommenting the following line (start with
> cream-conf.example.vim)
>
> let g:CREAM_CWD = '/tmp'
>
> That should put swap files where you want. Rummage around further in
> the FAQ and cream-conf and let me know if those help.
>
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
cream-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cream-general