> Try it with double quotes:
 >
 >   let g:CREAM_CWD = "C:\\TEMP"
 >
 > Does that work? Vim has a habit of confusing single quotes and escaped
 > backslashes on Windows. I believe technically, this should also work:
 >
 >   let g:CREAM_CWD = 'C:\TEMP'
 >
 > but I always favor the first double quotes method to make sure.

There is no change in results for single or double quotes, single or 
double backslashes. ":echo g:CREAM_CWD" always reports a single 
backslash even when two are used in the conf file.

I duplicated all of this on a separate computer yesterday (WinXP Home).

I've found something that does work: set CREAM_SWP as an environment 
variable and .swp files are placed in that folder. CREAM_CWD as an env 
var however has no observable effect.

Under this new configuration AddOns>CreamConfigInfo and ":echo 
g:CREAM_SWP" continue to be at odds with each other. Config reports the 
value of the enviroment and :echo reports the value of cream-conf. The 
former is used and the latter is not.

I'm happy to have found a solution to my original quest, but it is clear 
there is still something awry in there. I'm happy to continue to dig 
into this if you have other things you'd like me to try.

cheers,

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 Wed, 2009-10-14 at 11:46 -0700, Matt Wilkie wrote:
>> 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.
> 
> This is baffling to me. Are these files on a remote server that
> we could blame this all on latency?
> 
>>> 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). 
> 



------------------------------------------------------------------------------
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

Reply via email to