[Psgml-user] Changing sgml-validate-command
Brought to you by:
lenst
From: Joachim Z. <zi...@mp...> - 2004-01-07 10:38:31
|
Hello list, One short question: How do I change the value of sgml-validate-command so that the new value is valid for all buffers? Saying (setq sgml-validate-command "my_validator %s %s") in .emacs doesn't help because it is overwritten with the original value "nsgmls -wxml -s %s %s" in every buffer. So I must specify it in <!-- Keep this comment at the end of the file Local variables: sgml-validate-command: "my_validator %s %s" --> for every file? Here I have the problem that by specifying <!-- Keep this comment at the end of the file Local variables: sgml-validate-command: "xmllint --noout --valid" --> the validator itself complains about the string "--" in a comment! Is there a workaround for that? Greetings and thank you very much for your help and for this wonderful Emacs mode, Joachim -- Joachim Ziegler Stuhlsatzenhausweg 85 Max-Planck-Institut für Informatik 66123 Saarbrücken, Germany Email: zi...@mp... Tel.: (+49) 0681 9325-127 |