[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: c-electric-paren c-electric-brace in PHP Mode locks up

From: Lennart Borgman
Subject: Re: c-electric-paren c-electric-brace in PHP Mode locks up
Date: Wed, 7 Jan 2009 07:41:40 +0100

On Tue, Jan 6, 2009 at 11:35 PM, John Rushworth
<address@hidden> wrote:
> Hi,
> Don't know whether this is any help or not. (and I really hope that I'm not
> posting it to the wrong place... my apologies if I am in error)
> I am using GNU Emacs 22.1.1 under XP SP2.
> Using PHP Mode I started getting  emacs freezing, using 50% or more of CPU
> every time I typed a ( or a {
> Took a few minutes to realise what the problem was....
> I had cut and pasted some PHP into a new buffer.... saved it.... but had no
> <?PHP or ?> tags
> Or, at least, adding these tags fixed my problem.
> Funny thing was that once I had added them, tested that everything was OK,
> saved the file.... everything still worked fine, even if I then deleted
> these tags again.
> Uninitialized variable?
> Sorry, my lisp skills are close to non-existent (and this is a bad week for
> diversions) or I would follow this up.
> Thanks for a great editor.
> Cheers
> John Rushworth
> New Zealand
> PS I realise that I am using an old version. Downloading the latest now....
> over a slow dial-up connection.... yes, such links still exist...

There are several versions of php-mode.el too, see EmacsWiki.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]