← Back to team overview

nxhtml team mailing list archive

[Question #179252]: PHP code not highlighting in emacs 24

 

New question #179252 on nXhtml:
https://answers.launchpad.net/nxhtml/+question/179252

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. 

-- 
You received this question notification because you are a member of
nXhtml, which is an answer contact for nXhtml.