This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: psgml: how to set sgml-validate-command?


On 2002-04-11 10:57 (Thursday), Jens Emmerich wrote:
> > On 2002-04-05 08:41 (Friday), Gunnar Sigurdsson wrote:
> > > Looking at the psgml source code reveals:
> > > 
> > >     (setq sgml-validate-command "nsgmls -wxml -s %s %s")
> > > 
> > > all I want to do is to change the command to:
> > > 
> > >     nsgmls -wxml -wno-idref -s %s %s
> > > 
> > > I have tried the obvious, putting this in the .emacs file:
> > > 
> > >     (setq sgml-validate-command "nsgmls -wxml -wno-idref -s %s %s")
> 
> I think it's because of buffer-local variables.
> M-x customize <RET> psgml <RET> should give the chance to set
> the default interactively.

I agree, it should have to do with buffer-local variables.

setq-default can also be used to set global values

More info for those interested here :
http://www.gnu.org/manual/emacs-20.3/html_chapter/emacs_35.html#SEC445

Cheers,

-- 
Marc-Aurčle DARCHE  <http://www.cynode.org>
AFUL <http://www.aful.org>
Association Francophone des Utilisateurs de Linux/Logiciels Libres
French speaking Linux and Libre Software Users' Association


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]