Re: catalog in sgml-validate-command?

Lennart Staflin <[email protected]> Tue, 4 Nov 2003 00:27:16 +0100
Newsgroups gmane.emacs.psgml.user
Message-ID <[email protected]>
On mÃ¥ndag, nov 3, 2003, at 22:30 Europe/Stockholm, [email protected] 
wrote:

>
> Bob,
>
>> (setq sgml-validate-command "nsgmls -c usr/pkg/share/sgml/catalog -s 
>> %s
>> %s")
>>
>> ..by which I mean the '-c /path/to/catalog' does not get passed to the
>> minibuffer when 'Validate' is chosen.
>
>
> I suspect the problem is that sgml-validate-command is
> "buffer-local". I admit I don't understand completely what it means,
> but it appears I once did, for my startup file contains:

When set normally, its value will only be visible in the buffer where 
it is set. You could instead set its default value with setq-default.


> (setq sgml-catalog-files '("/var/lib/sgml/CATALOG.iso_ent"
> 			   "/var/lib/sgml/CATALOG.html"
> 			   "/var/lib/sgml/CATALOG.html-3.2"
> 			   "/var/lib/sgml/CATALOG.html-4.0"
> 			   "/var/lib/sgml/CATALOG.tei-3"
> 			   "/var/lib/sgml/CATALOG.tei-3.system"
> 			   "/var/lib/sgml/CATALOG.teixlite"))

Have you considered creating a master catalog referring to the other 
catalogs. The you would only need to list the master catalog.

//Lennart



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/