How do I define a site ?
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-
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).
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- nXhtml Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Alexandre René
- Solved:
- Last query:
- Last reply: