Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Thu, 22 Nov 2001 23:43:47 +0100
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Unix/DOS text mode?
Message-ID: <20011122234347.O27931@cygbert.vinschen.de>
Mail-Followup-To: cygwin@cygwin.com
References: <20011122190704.96085.qmail@web13502.mail.yahoo.com> <5.1.0.14.2.20011122225059.036d77f0@imap.local.mscha.com> <5.1.0.14.2.20011122232538.03a2c208@imap.local.mscha.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <5.1.0.14.2.20011122232538.03a2c208@imap.local.mscha.com>; from cygwin@mscha.org on Thu, Nov 22, 2001 at 11:30:11PM +0100

On Thu, Nov 22, 2001 at 11:30:11PM +0100, Michael Schaap wrote:
> At 23:05 22-11-2001, I wrote:
> >The default value of "fileformats" depends on whether the "compatible" 
> >option is set.
> >If it is, then fileformats="", so file format autodetection is disabled.
> >If it isn't, then fileformats="unix,dos".
> >(This is for the UNIX version (including Cygwin).  The Windoze native 
> >version uses "dos,unix" in both cases.)
> >
> >If a .vimrc exists, even if it is empty, "nocompatible" will be set, 
> >otherwise "compatible" will be set.
> >
> >So, a default installation of vim on Cygwin will not enable file format 
> >detection.
> >
> >(Source: ":help compatible".)
> 
> Here's a patch that changes the default fileformats in vi-compatible mode 
> to "unix,dos", for Cygwin.
> I'll also attach it, since I'm using Eudora (with format=flowed), which may 
> screw up indentation.
> 
> If Corinna likes the patch, I'll also send it to the vim-dev list.  (It may 
> be a while before it becomes "official", though, since Bram is on a 
> well-deserved vacation.)

I'm all with it but please drop the usage of __CYGWIN32__.  It's
depricated.  I will send a patch to vim-dev which drops all other
__CYGWIN32__ in favour of __CYGWIN later.

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/

