PHP code not highlighting in emacs 24

Asked by MDCore

I'm using the latest nXhtml checked out from the repo, and using GNU Emacs version 24.0.91.1. When I open a PHP file it shows as un-syntax-highlighted text, and I get a compile error:

Error: Wrong type argument: number-or-marker-p, nil

and a message in the log:

File mode specification error: (cl-assertion-failed (functionp byte-compiled-fun))

I'm avoiding my .emacs and .emacs.d by running emacs with this command:

emacs -Q --eval '(load "/path/to/nxhtml/autostart")' /path/to/nxhtml/tests/in/heredoc.php

I searched for .elc and couldn't find any nxhtml compiled files, so if that error is happening in a byte-compiled file, how do I find out which one?

Someone on Stack Overflow suggested I try debugging but I'm lost with emacs lisp. I'm happy to do any kind of manual testing or updating.

Question information

Language:
English Edit question
Status:
Expired
For:
nXhtml Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.