davidmiller/pony-mode — pull request #16 by arhpreston (2011-10-19 23:52:08+00:00)
Title: Comment tag problems

Issue \#15.

With a clean emacs and pony-mode type the following in a blank HTML PonyTpl buffer:

`{% comment %}asdfghjklzxcvb...`

After roughly 20 characters emacs will start to slow down. Each character after that exponentially (?) increases the time emacs _appears_ to hang for. This means PonyTpl is unusable for templates containing anything but trivial comments.

The temporary fix is to disable line 50 of pony-tpl.el.

As an aside, PonyTpl was not aware of the single line comment idiom: `{# ..... #}`.