X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com 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== Date: Tue, 19 Jul 2022 15:02:00 -0700 From: Gary Johnson <garyjohn AT spocom DOT com> To: cygwin AT cygwin DOT com Subject: Re: cygwin update, gvim 8.2. file type plugin, perl script error Message-ID: <20220719220200.GG12539@phoenix> Mail-Followup-To: cygwin AT cygwin DOT com References: <ad97a21591b04f289f154fdab2b5472f AT analog DOT com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <ad97a21591b04f289f154fdab2b5472f@analog.com> 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 AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com> List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>, <mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> List-Archive: <https://cygwin.com/pipermail/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help> List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>, <mailto:cygwin-request AT cygwin DOT com?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> 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 <SNR>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 <SNR>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 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple