help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Getting an error when working with php files in nXhtml mode


From: Andreas Röhler
Subject: Re: Getting an error when working with php files in nXhtml mode
Date: Sun, 17 Jul 2011 10:28:22 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.18) Gecko/20110616 SUSE/3.1.11 Thunderbird/3.1.11

Am 08.07.2011 08:42, schrieb Vineet Naik:
Hi,

I am getting an error while working in .php files that also contain some
html.

I always get an error whenever typing the opening or closing brackets ( () )
inside php code

for eg. if I type

<td><?php echo $person->getName(); ?></td>

it shows me following error after typing ( and ) in getName()

Debugger entered--Lisp error: (wrong-type-argument listp set-from-style)
   c-electric-paren(nil)
   call-interactively(c-electric-paren nil nil)

Please help!

Thanks.

Hi,

not using these modes actively:

seems c-electric-paren installs a global key.
Maybe have a look into your init.

HTH,

Andreas



reply via email to

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