← Back to team overview

nxhtml team mailing list archive

Re: [Question #171217]: syntax highlighting in sub-mode (C in ConTeXt)

 

Question #171217 on nXhtml changed:
https://answers.launchpad.net/nxhtml/+question/171217

Peter gave more information on the question:
Hello,

I've just discovered, that auctex is not needed, to reproduce the
problem:

file test.php:
--8<---------------cut here---------------start------------->8---
<?php
function func($bla)
{
  if($bla)
    return $blub;
}
?>
--8<---------------cut here---------------end--------------->8---

command: emacs -Q --eval '(load "path/to/nxhtml/autostart")' test.php

There is no syntax highlighting, and just one error message in the compile-log
buffer:
--8<---------------cut here---------------start------------->8---
Error: Wrong type argument: number-or-marker-p, nil
--8<---------------cut here---------------end--------------->8---

And another one in the messages buffer:
--8<---------------cut here---------------start------------->8---
File mode specification error: (cl-assertion-failed (functionp byte-compiled-fun))
--8<---------------cut here---------------end--------------->8---

Greetings, Peter

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