This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: vim doesn't quite get backslash-separated paths right


On Fri, Apr 19, 2002 at 04:41:34PM -0400, Chris Metcalf wrote:
> If you run vim with "c:\temp\foo" it complains
> 
>   E303: Unable to open swap file for "c:\temp\foo", recovery impossible
> 
> However, it then manages to correctly write the file out to the indicated
> path.  Looking at strace shows it trying to open a file named
> /tmp/c:\temp\foo.swp; it thinks the whole path is a relative name in the
> current directory.
> 
> This is a problem if you set $EDITOR to vim and then have non-Cygwin 
> programs invoke vim.

Use the cygpath utility then.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]