Re: Error message while starting Emacs with nxhtml mode autoloading
"Lennart Borgman (gmail)" <[email protected]>
| Newsgroups | gmane.emacs.nxml.general |
|---|---|
| Message-ID | <[email protected]> |
richard6905 wrote:
>
>
> Having seen a reference to the nxhtml mode and how it provides full
> support for html and for embedded languages I downloaded and tried
> nxhtml mode.
>
> Initially I just downloaded the nxhtml mode and installed it on my
> pre-existing Emacs (v. 23), but this was throwing the following error
> during initialisation:
>
> Assertion failed: (html-site-dir-contains site-root path-in-site),
> c:/temp, c:/temp/in/hej.html
Hi Richard
That was an unexpected problem. On the other hand that is what the
assertion is there for ;-)
Let us see if we can find out why it fails. Can you evaluate each of
these lines and tell me the answer:
(html-site-dir-contains "c:/temp" "c:/temp/in/hej.html")
(html-site-looks-like-local-url "c:/temp/in/hej.html")
(html-site-looks-like-local-url "c:/temp")
(file-truename (expand-file-name "c:/temp/in/hej.html"))
(file-name-as-directory (file-truename (expand-file-name "c:/temp/")))
To do that you can put them in the *scratch* buffer, put point after
each line and do `C-x C-e'.
> After not managing to fix it, I decided to download and use the Emacs
> for Windows installer which includes the nxhtml. I removed the old
> version (left my Lisp directories in place) and installed the new
> version, but I'm still getting the same error.
>
> I can't even find any reference to hej.html anywhere in the nxhtml code!
>
> Help would be much appreciated...
>
> For the record, I downloaded the code today (10th July 2008), the
> binary file name is:
>
> Emacs-23-CvsP080630-EmacsW32-1.58.exe
>
> Richard
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/emacs-nxml-mode/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/emacs-nxml-mode/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[email protected]
mailto:[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/