[Top][All Lists]

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

[h-e-w] Re: nxhtml and php short tags

From: Stefan Daschek
Subject: [h-e-w] Re: nxhtml and php short tags
Date: Sun, 03 Aug 2008 10:37:00 +0200
User-agent: Thunderbird (Macintosh/20080707)

Lennart Borgman (gmail) schrieb:
I do not remember when I added short tags, but please try the latest beta and see how that works for you. (I will release it as the next version of nXhtml very soon.)

Thank you very much, it seems to work indeed (using nXhtml 1.35).

However, I encountered an unrelated(?) bug: In a buffer containing HTML,
PHP and CSS code, typing inside a CSS chunk produces following error:

Internal nXML mode error in nxml-after-change (Wrong type argument:
number-or-marker-p, nil), degrading

I'm using "GNU Emacs (powerpc-apple-darwin9.3.0, Carbon
Version 1.6.0) of 2008-07-17 on" and
nXhtml 1.35.

Steps to reproduce:
1. Start Emacs: Emacs -Q --eval '(load "~/nxhtml/autostart.el")'
2. Open file test.php (see attached).
3. Go to beginning of line 5 and type C-d

Contents of the *Messages* buffer:

After step 1:

("/Applications/" "-Q" "--eval" "(load
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading /Users/noniq/Documents/da-macs/lisp/nxhtml/autostart.el (source)...
Nxml/Nxhtml Autostart.el loading ...
Loading regexp-opt...done
Loading /Users/noniq/nxhtml/nxml-mode-20041004/rng-auto.el (source)...done
Loading /Users/noniq/nxhtml/nxhtml/nxhtml-autoload.el (source)...
Loading advice...done
Loading cl-macs...done
Loading url-methods...done
html-site-current (information): No current site set
Loading derived...done
Loading easy-mmode...done
Loading byte-opt...done
!! File mumamo uses old-style backquotes !!
Loading rx...done
Loading /Users/noniq/nxhtml/nxhtml/nxhtml-autoload.el (source)...done
Loading /Users/noniq/nxhtml/autostart.el (source)...done

After step 2:

Loading /Users/noniq/nxhtml/nxhtml/nxhtml.el (source)...
Loading subst-ksc...done
Loading subst-gb2312...done
Loading subst-big5...done
Loading subst-jis...done
Loading /Users/noniq/nxhtml/nxhtml/nxhtml.el (source)...done
Loading nxml-uchnm...done
Loading rng-nxml...done
Loading rng-cmpct...done
Loading rng-xsd...done
Using vacuous schema
Loading imenu...done
(benchmark 1 '(mumamo-find-chunks))
Loading benchmark...done
Elapsed time: 0.022980s
Using schema ~/nxhtml/nxml-mode-20041004/schema/xhtml.rnc
end-major-mode-chunk=108, rng-validate-up-to-date-end=1
end-major-mode-chunk=173, rng-validate-up-to-date-end=1
end-major-mode-chunk=209, rng-validate-up-to-date-end=1
end-major-mode-chunk=246, rng-validate-up-to-date-end=1

After step 3:

Internal nXML mode error in nxml-after-change (Wrong type argument:
number-or-marker-p, nil), degrading
end-major-mode-chunk=108, rng-validate-up-to-date-end=109


reply via email to

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