From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31751 invoked by alias); 11 May 2002 04:16:38 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 31737 invoked from network); 11 May 2002 04:16:35 -0000 Received: from unknown (HELO mail.thu.edu.tw) (140.128.99.5) by sources.redhat.com with SMTP; 11 May 2002 04:16:35 -0000 Received: from localhost.localdomain ([140.128.103.231]) by mail.thu.edu.tw (8.11.6/8.9.3) with SMTP id g4B4GKL74419 for ; Sat, 11 May 2002 12:16:21 +0800 (CST) Received: by localhost.localdomain (sSMTP sendmail emulation); Sat, 11 May 2002 12:15:45 +0800 Date: Sat, 11 May 2002 07:10:00 -0000 From: Greg Matheson To: cygwin@cygwin.com Subject: vim losing file bug with :e# Message-ID: <20020511121545.C16509579@IBM973237G> Mail-Followup-To: cygwin@cygwin.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-SW-Source: 2002-05/txt/msg00669.txt.bz2 Crossposted to bug@vim.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@vim.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/