www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/04/02/10:53:41

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 2 Apr 2009 17:53:13 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: asciidoc-8.3.5-1
Message-ID: <20090402155313.GB12738@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 498855A5 DOT 8080102 AT byu DOT net>
MIME-Version: 1.0
In-Reply-To: <announce.498855A5.8080102@byu.net>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Hi Eric,

On Feb  3 07:33, Eric Blake wrote:
> A new version of the asciidoc package, asciidoc 8.3.5-1, is now available
> for download, replacing 8.3.1-2 as current.

I never had a use for this package and never installed it.  Yesterday or
the day before setup-1.7 decided that I have to install the asciidoc
package on one of my machines for some reason.  Today I noticed that the
new vim 7.2.148 is suddenly *insufferable* slow when trying to edit
strace files.

First I suspected Cygwin itself, given the big bunch of changes I made
in 1.7.0-45.  But reverting to an old Cygwin didn't change anything.
Then I noticed that the exact same vim running on another machine using
the exact same Cygwin DLL opening the exact same file was running
normally.

I then puzzled out that on the machine where vim is fast, the filetype
of the strace file was set to "", while on the incredible slow machine,
vim had set the filetype to "asciidoc".

I found that I could revert the slow vim to a fast vim by removing the
file /usr/share/vim/vimfiles/syntax/asciidoc.vim.

Three problems:

- Straces are incorrectly recognized as "asciidoc" files.

- The longer the strace file, the slower vim gets.  Incidentally
  strace files tend to be rather huge.

- There seem to be a bug in one or more of the regular expressions in
  the asciidoc.vim syntax file.

It would be nice if you could have a look into that.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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