From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.spocom.com (mail.spocom.com [206.63.224.240]) by sourceware.org (Postfix) with ESMTP id A78B03858C83 for ; Tue, 19 Jul 2022 22:01:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A78B03858C83 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=spocom.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=spocom.com DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; d=spocom.com; s=mail; h=received:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:x-operating-system:user-agent; b=mWzfnKgWSmJfNeFEZDHsWoET37esDqBeTWWDOFwtBoz+X9SlxZ3r9QszuvcvDCZhm wvRRHI+1JoNQ8+TUmdIgQ== Received: from localhost (174-31-108-18.spkn.qwest.net [174.31.108.18]) by mail.spocom.com with SMTP; Tue, 19 Jul 2022 15:01:19 -0700 Date: Tue, 19 Jul 2022 15:02:00 -0700 From: Gary Johnson To: cygwin@cygwin.com Subject: Re: cygwin update, gvim 8.2. file type plugin, perl script error Message-ID: <20220719220200.GG12539@phoenix> Mail-Followup-To: cygwin@cygwin.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: Linux 2.6.32-74-generic GNU/Linux User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2022 22:01:39 -0000 On 2022-07-19, Kutty, Rejeesh wrote: > Hi, > > I recently ran the installer and it updated vim to 8.2 > > :version > VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Feb 13 2022 22:00:24) > Included patches: 1-4372 > > > Now when I open a perl script, I get the following message: > > Command terminated > Error detected while processing BufRead Autocommands for "*.pl"..function dist#ft#FTpl[10]..FileType > Autocommands for "*"..function 11_LoadFTPlugin[18]..script /usr/share/vim/vim82/ftplugin/perl. > vim[57]..BufRead Autocommands for "*.pl"..function dist#ft#FTpl[10]..FileType Autocommands for "*".. > function 11_LoadFTPlugin[18]..script /usr/share/vim/vim82/ftplugin/perl.vim: > line 50: > E484: Can't open file /tmp/vveXImd/0 > Press ENTER or type command to continue > > > And all syntax is lost. > > This only happens with perl-scripts. > > I opened Verilog/SystemVerilog/Shell/CPP/C/TCL files, and all these opened without problems. > > Not sure if I should ask this in the vim/github help, thought I will start here. I tried the following: $ /usr/bin/vim -N -u NONE -i NONE -c 'syntax on' -c 'e /usr/share/perl5/5.32/perl5db.pl' where the perl file is one I thought you might have on your system and vim is the current Cygwin package version, 8.2.4372. I don't get any error messages. If that works for you, then there seems to be something in your Vim configuration, e.g., your vimrc, that's causing the problem, but I haven't given a whole lot of thought to what that might be. As for where to ask about the problem, this is probably the right place to start and where the best group of folks is to figure out whether it's a Cygwin problem, a Vim problem, or a configuration problem. Regards, Gary