delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/28/16:39:54

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Fri, 28 Sep 2001 22:38:12 +0200
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: vim 6.0 & funny ^M
Message-ID: <20010928223812.K21192@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <D7E50C34B370D311AADC0090273B2DAE065D86AC AT messaging1 DOT icarian DOT com> <3BB4C78C DOT DD8C0F29 AT airflash DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <3BB4C78C.DD8C0F29@airflash.com>; from altitude@airflash.com on Fri, Sep 28, 2001 at 11:55:08AM -0700

On Fri, Sep 28, 2001 at 11:55:08AM -0700, Alex Tang wrote:
> Hmmm...i'm not sure what's going on. If you save your .vimrc file as dos or
> unix mode, VIM >should< be fine with it.  I've had my .vimrc file set both ways

Nope.  Sorry, I forgot to mention that in my announcement.  I discussed
that with Bram Molenaar, the creator of Vim. 

Basically the vim script files are not evaluated whether they are unix
or dos files as it's done for files loaded for editing.  That detection
would be ambiguos due to commands which could end with ^M.  For that
reason a .vimrc file could get wrongly identified as dos file and
commands would get messed up. 

Bram decided not to change that behaviour.  I'm following Bram's
decision and will not add Cygwin hacks to the official sources if
it's not absolutely necessary.

Please change your vim script files (as .vimrc) to unix line endings.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019