Bug#280386: marked as done (long pauses while editing large html files)

Debian Bug Tracking System owner@bugs.debian.org
Sun, 24 Apr 2005 15:03:13 -0700


Your message dated Sun, 24 Apr 2005 17:34:21 -0400
with message-id <E1DPok9-0002oQ-00@newraff.debian.org>
and subject line Bug#280386: fixed in vim 1:6.3-071+1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 9 Nov 2004 02:33:58 +0000
>From joey@kitenet.net Mon Nov 08 18:33:58 2004
Return-path: <joey@kitenet.net>
Received: from kitenet.net [64.62.161.42] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CRLpW-0008Ln-00; Mon, 08 Nov 2004 18:33:58 -0800
Received: from dragon.kitenet.net (unknown [66.168.94.144])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "Joey Hess", Issuer "Joey Hess" (verified OK))
	by kitenet.net (Postfix) with ESMTP id D320517F4C
	for <submit@bugs.debian.org>; Tue,  9 Nov 2004 02:33:57 +0000 (GMT)
Received: by dragon.kitenet.net (Postfix, from userid 1000)
	id 5C84B6E168; Mon,  8 Nov 2004 21:35:37 -0500 (EST)
Date: Mon, 8 Nov 2004 21:35:37 -0500
From: Joey Hess <joeyh@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: long pauses while editing large html files
Message-ID: <20041109023537.GA3070@kitenet.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY"
Content-Disposition: inline
X-Reportbug-Version: 3.1
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 


--OXfL5xGRrasGEqWY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: vim
Version: 1:6.3-025+1
Severity: normal

This bug has as an attachment a 736k html file (compressed to 29k).
Note that the content of the file has been hidden since I cannot
distribute it (this also made it compress better). To reproduce the bug,
open the file in vim (you can uncompress it first if you like), make
sure you have html syntax highlighting turned on, go to the end of line
521, enter insert mode, and press the backspace key.

Here I see vim apparently hang, for about 5 seconds. On the original
file, which was a bit longer, it seemed to hang for many minutes. It's
doing some calculation which seems to be dependent on the size of the
html file. Each additional bacspace means another hang, of course this
makes vim unusable for backspacing in this file.

Interetingly, using the delete key on the same line has no problems and
it deletes characters as fast as I can press the key.

Also, if I enter paste mode (via pastetoggle), the delay goes away for
backspacing.

Hmm, if I go to the end of line 521 and append an 'a', this takes the
same 5 seconds, then it wraps the line and characters I append after
that are entered speedily. Again turning on pasting disables the delay,
so perhaps it has something to do with vim trying to decide what word
wrapping to do, and parsing the whole html file to determine it.
Although I don't know what it would need to update wordwrapping when I'm
backspacing.

Also, I've tried vim on some other html files of similar size and was
able to reproduce the same problems with another one, so it seems it is
not just this file. If I delete all but the first 521 lines of the file,
the slowdown mostly goes away, although there's really still a
noticeable pause, on the order of 1/3 of a second.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: LANG=3Den_US.UTF-8, LC_CTYPE=3Den_US.UTF-8 (charmap=3DUTF-8)

Versions of packages vim depends on:
ii  dpkg                        1.10.24      Package maintenance system for=
 Deb
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared librarie=
s an
ii  libgpmg1                    1.19.6-19    General Purpose Mouse - shared=
 lib
ii  libncurses5                 5.4-4        Shared libraries for terminal =
hand
ii  vim-common                  1:6.3-025+1  Vi IMproved - Common files

-- no debconf information

--=20
see shy jo

--OXfL5xGRrasGEqWY
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBkCz5d8HHehbQuO8RAqsWAKDZDG8rXq5JfRBxhm75g2u3pBwQiQCg5v98
E4ivLR8aZSmv806seAJwNuI=
=d1zi
-----END PGP SIGNATURE-----

--OXfL5xGRrasGEqWY--

---------------------------------------
Received: (at 280386-close) by bugs.debian.org; 24 Apr 2005 21:50:04 +0000
>From joerg@newraff.debian.org Sun Apr 24 14:50:04 2005
Return-path: <joerg@newraff.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DPozL-0007lP-00; Sun, 24 Apr 2005 14:50:03 -0700
Received: from joerg by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DPok9-0002oQ-00; Sun, 24 Apr 2005 17:34:21 -0400
From: Norbert Tretkowski <nobse@debian.org>
To: 280386-close@bugs.debian.org
X-Katie: lisa $Revision: 1.30 $
Subject: Bug#280386: fixed in vim 1:6.3-071+1
Message-Id: <E1DPok9-0002oQ-00@newraff.debian.org>
Sender: Joerg Jaspert <joerg@newraff.debian.org>
Date: Sun, 24 Apr 2005 17:34:21 -0400
Delivered-To: 280386-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 3

Source: vim
Source-Version: 1:6.3-071+1

We believe that the bug you reported is fixed in the latest version of
vim, which is due to be installed in the Debian FTP archive:

vim-common_6.3-071+1_all.deb
  to pool/main/v/vim/vim-common_6.3-071+1_all.deb
vim-doc_6.3-071+1_all.deb
  to pool/main/v/vim/vim-doc_6.3-071+1_all.deb
vim-full_6.3-071+1_i386.deb
  to pool/main/v/vim/vim-full_6.3-071+1_i386.deb
vim-gnome_6.3-071+1_i386.deb
  to pool/main/v/vim/vim-gnome_6.3-071+1_i386.deb
vim-gtk_6.3-071+1_i386.deb
  to pool/main/v/vim/vim-gtk_6.3-071+1_i386.deb
vim-lesstif_6.3-071+1_i386.deb
  to pool/main/v/vim/vim-lesstif_6.3-071+1_i386.deb
vim-perl_6.3-071+1_i386.deb
  to pool/main/v/vim/vim-perl_6.3-071+1_i386.deb
vim-python_6.3-071+1_i386.deb
  to pool/main/v/vim/vim-python_6.3-071+1_i386.deb
vim-ruby_6.3-071+1_i386.deb
  to pool/main/v/vim/vim-ruby_6.3-071+1_i386.deb
vim-tcl_6.3-071+1_i386.deb
  to pool/main/v/vim/vim-tcl_6.3-071+1_i386.deb
vim_6.3-071+1.diff.gz
  to pool/main/v/vim/vim_6.3-071+1.diff.gz
vim_6.3-071+1.dsc
  to pool/main/v/vim/vim_6.3-071+1.dsc
vim_6.3-071+1_i386.deb
  to pool/main/v/vim/vim_6.3-071+1_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 280386@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Norbert Tretkowski <nobse@debian.org> (supplier of updated vim package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 24 Apr 2005 17:26:49 +0200
Source: vim
Binary: vim-full vim-lesstif vim-common vim-doc vim-gnome vim vim-gtk vim-perl vim-tiny vim-ruby vim-python vim-tcl
Architecture: source i386 all
Version: 1:6.3-071+1
Distribution: unstable
Urgency: medium
Maintainer: Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
Changed-By: Norbert Tretkowski <nobse@debian.org>
Description: 
 vim        - Vi IMproved - enhanced vi editor
 vim-common - Vi IMproved - Common files
 vim-doc    - Vi IMproved - Documentation files
 vim-full   - Vi IMproved - full fledged version of the enhanced vi editor
 vim-gnome  - Vi IMproved - GNOME2 Version
 vim-gtk    - Vi IMproved - GTK2 Version
 vim-lesstif - Vi IMproved - LessTif Version
 vim-perl   - Vi IMproved, with perl scripting support
 vim-python - Vi IMproved, with python scripting support
 vim-ruby   - Vi IMproved, with ruby scripting support
 vim-tcl    - Vi IMproved, with tcl scripting support
Closes: 149077 158657 220969 279378 280386 302830
Changes: 
 vim (1:6.3-071+1) unstable; urgency=medium
 .
   * New upstream patches (069 to 071), see README.gz for details.
 .
   * Norbert Tretkowski <nobse@debian.org>:
     + Re-add dh_installdirs to vim-variant part in debian/rules, so copying
       the desktop file no longer fails. (closes: #302830)
     + Enabled backupcopy in global vimrc. (closes: #158657)
 .
   * Stefano Zacchiroli <zack@debian.org>:
     + Added vim-full variant with support for gnome and all interpreters.
       (closes: #149077)
     + Added /usr/share/common-licenses/ reference to debian/copyright.
     + Remove debian/helpztags.1 on debian/rules clean (generated file).
     + Updated patch 118_ocaml.vim.diff (new upstream).
     + Added patch 122_html_indent.vim.diff, remove <bs> from indentkeys for
       html. (closes: #280386)
     + Added patch 401_doc_exrc.diff, fixes starting doc about "_exrc".
       (closes: #279378)
     + Suggests vim-scripts in debian/control.
 .
   * Matthijs Mohlmann <matthijs@cacholong.nl>:
     + Fixes menu entry with icon (wrong syntax used in menu file), thanks to
       Alexis Sukrieh <sukria@sukria.net>.
 .
   * James Vega <jamessan@jamessan.com>:
     + Added patch 120_perl.vim.diff, update $VIMRUNTIME/syntax/perl.vim from
       the author which fixes block indentation in packages. (closes: #220969)
     + Added patch 121_perl.vim.diff, which adds syntax recognition for
       CHECK/INIT blocks (similar to BEGIN/END).
Files: 
 001eacbd17651a50aef9d658e2e2ec98 1368 editors optional vim_6.3-071+1.dsc
 0650385a79d63350fa5bc3d99fc380ca 261178 editors optional vim_6.3-071+1.diff.gz
 908f7376369bc7166e903e77d2af6545 1649350 editors optional vim-doc_6.3-071+1_all.deb
 be1c6ebc6eaae4138abdd2b4b7bac815 3425268 editors optional vim-common_6.3-071+1_all.deb
 51851cd3ab47accac45ed1b13b035c51 706912 editors optional vim_6.3-071+1_i386.deb
 46dce3e5eb9f077609792b8ffbdcadcc 730212 editors extra vim-perl_6.3-071+1_i386.deb
 10e8a89ddc977ad7ffcc573b2db4b963 722820 editors extra vim-python_6.3-071+1_i386.deb
 1b4d4ab935f444310903adf8eb519d0a 718698 editors extra vim-ruby_6.3-071+1_i386.deb
 736ad3a47e891b758fabacb2b85b2e04 722616 editors extra vim-tcl_6.3-071+1_i386.deb
 293285defedc396cc4d4966c71a8bb31 715076 editors extra vim-gtk_6.3-071+1_i386.deb
 b3afc25848a18e2d984f8d580aaadb71 657432 editors extra vim-lesstif_6.3-071+1_i386.deb
 802ef9d5219c791ab96606c95b8c76a3 717076 editors extra vim-gnome_6.3-071+1_i386.deb
 85d4f0e751701e536ab9e93d2c76a120 751028 editors extra vim-full_6.3-071+1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCa8Var/RnCw96jQERAsOmAJ4wJsIgO9YnEga9cA7ku7AIs/UtIwCgn/rh
RHBiMGoA0u+qxnH6O5Il2pY=
=qIOe
-----END PGP SIGNATURE-----