Changing sgml-validate-command
Felix Gatzemeier <[email protected]> Thu, 8 Jan 2004 16:34:37 +0100
| Newsgroups | gmane.emacs.psgml.user |
|---|---|
| Message-ID | <[email protected]> |
Hello! >>>>> "JZ" == Joachim Ziegler <[email protected]> writes: JZ> Here I have the problem that by specifying JZ> <!-- Keep this comment at the end of the file JZ> Local variables: JZ> sgml-validate-command: "xmllint --noout --valid" JZ> --> JZ> the validator itself complains about the string "--" in a JZ> comment! Is there a workaround for that? You can use Emacs' escaping mechanisms, for example <!-- Keep this comment at the end of the file Local variables: sgml-validate-command: "xmllint -\-noout -\-valid" End: --> I've tested this only to the extent that `sgml-validate-command' actually has the string value "xmllint --noout --valid", since I'm not using that myself. I set my validator in xml-mode-hook, arguably not very elegant either. JZ> Greetings and thank you very much for your help and for this JZ> wonderful Emacs mode, Best wishes, -- Felix H. Gatzemeier [email protected] Office Phone: (0(049)241)80-21313 Disclaimer: I do not speak for anyone but myself. Please do not send me mails containing documents in proprietary formats (such as Microsoft Word) unless you really need to. ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html