Bug#280386: long pauses while editing large html files

Christian Aichinger Christian Aichinger <Greek0@gmx.net>, 280386@bugs.debian.org
Sat, 23 Apr 2005 10:24:04 +0200


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

On Wed, Apr 20, 2005 at 08:51:08PM -0400, Joey Hess wrote:
> Stefano Zacchiroli wrote:
> > I see no attachment in the bug page on the BTS. Did you forget it or was
> > it lost from some other reason?
> >=20
> > Could you please provide us with the attachment so that we can
> > investigate the bug report a bit more?
>=20
> I don't know where the attachment went, here's a different one. For this
> one, follow the instructions on line 622.
>=20
> BTW, I also see the same effect, though with a lesser hang, on smaller
> html files.
>=20
> --=20
> see shy jo

This is a bug I also noticed, I've submitted a bug report upstream,
sorry for not filing it here. The problem is in the html indentation
plugin. It has <BS> in its indentkeys, which causes the indentation
of the current line to be recalculated every time <BS> is pressed.

Unfortunately the algorithm walks previous lines searching for tags,
which takes ages.

My fix was to remove <BS> from indentkeys, I'm not having problems
with it since then.

I've got a page about that bug, which goes into pretty much detail
(again, sorry for all the duplicated work caused by me not reporting
the bug here) at:
<URL:http://greek0.net/~greek0/vim/bug1.html>.

Cheers,
Greek0

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

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

iD8DBQFCagYkxsP1RlTwJHsRAryCAJwLDwMZ80pFDNsgMIKQEPZ5mNsEMACfW8LP
7sLtiURrc7VB2BpI1bvTTgw=
=RiOj
-----END PGP SIGNATURE-----

--7AUc2qLy4jB3hD7Z--