delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/11/00:17:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 11 May 2002 12:15:45 +0800
From: Greg Matheson <lang AT ms DOT chinmin DOT edu DOT tw>
To: cygwin AT cygwin DOT com
Subject: vim losing file bug with :e#
Message-ID: <20020511121545.C16509579@IBM973237G>
Mail-Followup-To: cygwin AT cygwin DOT com
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i

Crossposted to bug AT vim DOT org

This has been happening since vim-6.0 on cygwin. It is
reproducible (although not every time) and occurs when I have 2
files open and switch back and forth between each with :e#. I
start in one and switch to the other and write it, with :w and
then switch back to the first. Then I change focus to another
window. This case, the perl debugger and attempting to read the
file I just wrote, I get the message:

readline() on closed filehandle L at ./ppind.pl line 16.

I then change focus back to vim and switch back to the problem
file and get the vim warning

Warning, file "penpairs" no longer available.

I then write the file to avoid losing it. Then I go back to the
start of this sequence, that is, the first buffer, and do the
same process all over again.  This time I don't get the messages.
But if I do it a third time, the file is no longer available
again.

The changing of focus to another window is involved. If I don't
change focus, I don't lose the file.

I sent the vim bugreport.txt data to bug AT vim DOT org

-- 
Greg Matheson                   There is here. Never ceases to amaze me.
Chinmin College
Taiwan Penpals Page: http://netcity.hinet.net/kurage

--
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