Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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: <3BB4C78C DOT DD8C0F29 AT airflash DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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/