Subject: bug#5258: 23.1; PHP mode hangs emacs

From: Glenn Morris <[email-masked]>
Date: Thu, 24 Dec 2009 17:56:53 -0500

Jez Austin wrote:

> PHP-mode easily hangs emacs completely, with the wrist-watch pointer.
> Launched emacs-23.1-r2 with `emacs -q --no-site-file', and manually
> loaded the php-mode.el. Triggered the hang by typing `function
> test($one,' at which point emacs stops responding.
> (note, because emacs crashes, I'm submitting this from a separate process).

Like many hangs, this one can be interrupted with ctrl-g.
If you do M-x toggle-debug-on-quit beforehand, you can get a more
useful backtrace.

Anyway, although php-mode is not part of Emacs, this seems to be fixed
by cc-mode changes in the current trunk.