nxhtml team mailing list archive
-
nxhtml team
-
Mailing list archive
-
Message #00256
[Question #123977]: How do I define a site ?
Question #123977 on nXhtml changed:
https://answers.launchpad.net/nxhtml/+question/123977
Description changed to:
I'm trying edit the site list in nXhtml (rather, to add one item so the
list isn't empty). However, I can't seem to quite get the format
correctly and I get find any resource explaining how to get this done.
So if you can explain how it is *supposed* to be done, that would be
great. Also, if it doesn't involve directly editting .emacs, please show
how the relevant lines in .emacs should appear.
Here's what I've tried to date :
Read the comments and some of the code in html-site.el, html-toc.el, html-wtoc.el
As indicated in html-toc.el, I added (require 'html-toc) to my .emacs (I don't need the TOC functionality, but the site list seems to require a TOC pages file which is created with this function)
Added (require 'html-site) to .emacs as otherwise the contained functions were not loaded
Result :
Clicking the menu item "Edit Sites" says my setting is "SAVED and set. (mismatch)". In other words, the list is incorrectly formatted.
I thought this might be caused because I had no TOC page file. So I tried "M-x html-toc-create-pages-file" which returns "No current site set"
And of course, clicking the menu item "Set Current Site" says "Wrong type argument: stringp, (my site-list item)". So, again, the list format seems incorrect.
I think the solution is simple, is just that the site feature isn't
really documented anywhere (at least anywhere I could find).
--
You received this question notification because you are a member of
nXhtml, which is an answer contact for nXhtml.