Question #156542 on nXhtml changed: https://answers.launchpad.net/nxhtml/+question/156542
Rasmus Villemoes posted a new comment: Thanks for your reply. I must admit that my C and elisp skills are virtually non-existent, so I'm not sure I could be of any help. For now, I think I'll make a perl script to do the inclusion before I put the files on the web. Something like: Every #include directive is replaced by a html comment with some special content (an emacs folding marker, the file name, perhaps some other stuff), followed by the contents of the file, followed by another html comment (with a end folding marker, and some other stuff). If the script meets a line containing a html comment inserted by the script itself, the region until the end marker is replaced by the contents of the file. With folding-mode, I think this could get the best of both worlds (with a little extra overhead). -- You received this question notification because you are a member of nXhtml, which is an answer contact for nXhtml. _______________________________________________ Mailing list: https://launchpad.net/~nxhtml Post to : [email protected] Unsubscribe : https://launchpad.net/~nxhtml More help : https://help.launchpad.net/ListHelp

