debugger entered on c-electric-paren

Bug #663041 reported by Adam Fineman
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nXhtml
Invalid
Medium
Unassigned

Bug Description

afineman@caviar:~$ emacs --version
GNU Emacs 22.3.1
Copyright (C) 2008 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
afineman@caviar:~$ emacs -q -l nxhtml/autostart.el
------
I open a new file '/tmp/foo.php' and start typing the following:
=============
<html>
<head>
<title>foo</title>
</head>
<body>
  <?php var_dump(
=============

As soon as I type the '(' character, I get a backtrace:
===========
Debugger entered--Lisp error: (wrong-type-argument listp set-from-style)
  c-electric-paren(nil)
  call-interactively(c-electric-paren)
===========
This is a clean build of emacs-23.2, on Ubuntu Server 8.04.4.

Revision history for this message
lborgman (lennart-borgman) wrote :

Thanks for the bug report, Adam.

This looks strange. I believe it is a bug in cc-cmds.el, but I am not sure. Could you please report this as an Emacs bug so we can get some information about that?

Changed in nxhtml:
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Adam Fineman (afineman) wrote :

I filed a report against Emacs. I'll update this report with a link when it gets past their moderators.

Revision history for this message
Adam Fineman (afineman) wrote :
Revision history for this message
Adam Fineman (afineman) wrote : Re: [Bug 663041] Re: debugger entered on c-electric-paren

There was an update to http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7814.
 I'm not sure if you are following along.

- Adam

On Sun, Jan 9, 2011 at 9:33 PM, lborgman <email address hidden> wrote:

> Thanks for the bug report, Adam.
>
> This looks strange. I believe it is a bug in cc-cmds.el, but I am not
> sure. Could you please report this as an Emacs bug so we can get some
> information about that?
>
> ** Changed in: nxhtml
> Importance: Undecided => Medium
>
> ** Changed in: nxhtml
> Status: New => In Progress
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/663041
>
> Title:
> debugger entered on c-electric-paren
>
> Status in nXhtml for Emacs:
> In Progress
>
> Bug description:
> afineman@caviar:~$ emacs --version
> GNU Emacs 22.3.1
> Copyright (C) 2008 Free Software Foundation, Inc.
> GNU Emacs comes with ABSOLUTELY NO WARRANTY.
> You may redistribute copies of Emacs
> under the terms of the GNU General Public License.
> For more information about these matters, see the file named COPYING.
> afineman@caviar:~$ emacs -q -l nxhtml/autostart.el
> ------
> I open a new file '/tmp/foo.php' and start typing the following:
> =============
> <html>
> <head>
> <title>foo</title>
> </head>
> <body>
> <?php var_dump(
> =============
>
> As soon as I type the '(' character, I get a backtrace:
> ===========
> Debugger entered--Lisp error: (wrong-type-argument listp set-from-style)
> c-electric-paren(nil)
> call-interactively(c-electric-paren)
> ===========
> This is a clean build of emacs-23.2, on Ubuntu Server 8.04.4.
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/nxhtml/+bug/663041/+subscribe
>

Revision history for this message
lborgman (lennart-borgman) wrote :

Thanks Adam, I am following it and I will contact Allan.

Revision history for this message
lborgman (lennart-borgman) wrote :

So this is a bug in php-mode.el. I do not maintain php-mode.el, I just send it with nXhtml for convenience.

I do not know what to do with this. No one is currently maintaining php-mode.el. There has been discussions on Emacs Devel mailing list about this. The problem is that not all authors that contributed to php-mode.el has been signing papers for Emacs so php-mode.el is useless as even a starting point for a new php-mode.el.

It would be good if someone wrote a new php-mode.el and contributed that to Emacs. Anyone interested in doing so should take this up on Emacs Devel for instructions.

I am closing this bug.

Changed in nxhtml:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.