[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sgml validator problem
From: |
Kevin Rodgers |
Subject: |
Re: sgml validator problem |
Date: |
Tue, 02 Dec 2003 10:46:18 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
[Please don't top-post.]
J.M.Roth wrote:
> J.M.Roth wrote:
> > I've tried customizing the sgml-validate-command option without success.
> > M-x customize -> Programming -> SGML
> > Also, I've tried modifying my .emacs file directly with setq commands
> > etc. but there's always the default nsgmls stuff called upon doing a
> > C-c C-v.
>
> sgml -> User Options -> Validate command [...] says this:
>
> sgml-validate-command's value is
> "SP_CHARSET_FIXED=YES SP_ENCODING=XML nsgmls -wxml -mdeclaration/xml.soc
> -gues %s %s"
> Local in buffer catalog.xml; global value is
> "xmllint --noout --valid %s %s "
>
> How to change? (The latter one is the one I'd like to use)
I'm guessing that since sgml-validate-command has a buffer local value,
you're using PSGML and not Emacs' sgml-mode, because psgml.el has
(make-variable-buffer-local 'sgml-validate-command)
but sgml-mode.el has [note -saved-]
(make-local-variable 'sgml-saved-validate-command)
So how about:
(setq-default sgml-validate-command "xmllint --noout --valid %s %s")
--
Kevin Rodgers
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: sgml validator problem,
Kevin Rodgers <=