>>>> "Vaclav" == Vaclav Barta
<vbar(a)comp.cz> writes:
Vaclav> OK, I don't have to use [enriched] either, but what do I
Vaclav> do when I want to add a sentence (to a source code file)
Vaclav> in red, so that it stands out? Or strike out a word?
This will depend on the language you're working with. But I'd say
that given that you apparently have a captive audience, enriched text
is a reasonable place to start. You obviously can't use XML or
something like that, since that requires to file to globally parse as
XML.
One alternative would be to define a special comment syntax for
in-house use, such as
/*r An important comment. */
/*s really_bogus_function_call(); */
flags the first comment in red and strikes through the really bogus
function call. I believe that you can pretty easily arrange for
font-lock to pick that up in a different face from comment-face. This
would allow such code to actually compile. There's no good way I can
think of to attach special markup to live code in a file, unless you
don't care if it compiles---in this case, enriched looks like a pretty
good match for your needs.
Vaclav> Basically, is XEmacs a word processor?
No, but you can make it into one if you work hard enough. :-/
--
Institute of Policy and Planning Sciences
http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Don't ask how you can "do" free software business;
ask what your business can "do for" free software.