From: Marc Elser, Wed, October 10, 2007 2:45 am
> 
> I'm working with samba on remote files but my problem is that cream 
> always creates a .swp file on the remote disk. How can I force cream to 
> create this file on let's say c:\temp on my local harddisk I already 
> tried to add
> 
> g:CREAM_CWD=C:\\Temp
> 
> to cream-user.vim, but it didn't really help

Try:

  let $CREAM_SWP = "C:/TEMP"

Does that help?

> Even more strange is that in C:\Temp I have 322 files from cream for
> example:
> 
> html.pm.~
> Condition.pm.~
> Trigger.pm.~
> 
> Is cream now creating two swap files? Or are these files which end with 
> a '~' sign something else, maybe backups? 

Correct, these are backup files. (Usually, swap files have the
extension ".swp".) You can force backup file locations with:

  let $CREAM_BAK = "C:/TEMP"

> If so why does cream make a backup and a swap file?

They do two different things. Swap files are a way of managing changes
and differences in a file in memory and disk. Backup files are a way
of managing the current and an older version of the entire file.

Check out the FAQ item:

  http://cream.sourceforge.net/faq.html#0208



-- 
Steve Hall  [ digitect dancingpaper com ]
:: Cream... usability for Vim
::   http://cream.sourceforge.net

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
cream-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cream-general

Reply via email to