www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2000/07/05/18:19:51

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
list-help: <mailto:cygwin-apps-help AT sourceware DOT cygnus DOT com>
list-post: <mailto:cygwin-apps AT sourceware DOT cygnus DOT com>
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-apps AT sourceware DOT cygnus DOT com
From: michael-ring AT t-online DOT de (Michael Ring)
To: cygwin-apps AT sourceware DOT cygnus DOT com
Subject: Re: vim-5.7-2 (Bugfix-version) available for testing
Date: Thu, 06 Jul 2000 00:21:24 +0200
Message-ID: <eec7msgntnbbbmf1okmqp9rvg9taigghl7@4ax.com>
References: <tba7mssm164nmvl324dt37knq51q4dot3h AT 4ax DOT com> <20000705175943 DOT B4484 AT cygnus DOT com>
In-Reply-To: <20000705175943.B4484@cygnus.com>
X-Mailer: Forte Agent 1.8/32.548
MIME-Version: 1.0
X-Sender: 320032306730-0001 AT t-dialin DOT net
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id SAA32257

On Wed, 5 Jul 2000 17:59:43 -0400, you wrote:

>On Wed, Jul 05, 2000 at 11:42:16PM +0200, Michael Ring wrote:
>>Corinna has thought about holding vim back until cygwin 1.1.3 is
>>released; this would make it easier to fix problems with cr/lf because
>>of the new mechanisms in 1.1.3
>
>Can you or Corinna supply specifics on what would be fixed by the
>new mechanisms in 1.1.3?  I sort of thought that vim already was
>textmode aware.  I was surprised to see the traffic on the mailing
>list.
>
>cgf

It seems to be aware of cr/lf for files that are loaded for editing.
It does not seem to work too well with configuration files for vim
itself having cr/lf.

Easy test:

create a .vimrc-file in your home

open it with vim.

type:

<ESC>:echo &fileformat

response should be unix (If your home is on binary mount)

now, type

<ESC>:set fileformat dos

insert a few empy lines


<ESC>:wq

now edit the file again, vim starts with error-messages:

Error detected while processing /home/ring/.vimrc:
line    2:
Not an editor command: ^M
line    3:
Not an editor command: ^M
line    4:
Not an editor command: ^M
Press RETURN or enter command to continue

==> everything is fine until the user wants is own personal .vimrc and
his home is on a textmount
==> or the user wants to start some vim scripts with source and the
scripts are either from the Windows-version of vim or also on a
textmount.

Simply using vim should not do any hard unless / is also a textmount
but then ARGH...

but fortunately every install from cygwin reverts / to a binary mount.

bless god (or whoever is responsible for this) for this behaviour of
setup.exe

Michael

- Raw text -


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