Re: Saving user options

Syd Bauman <[email protected]> Mon, 20 Oct 2003 08:48:03 -0400
Newsgroups gmane.emacs.psgml.user
Message-ID <[email protected]>
> is there a way to save the user options? With every invocation of
> Emacs/Xemacs I have to set "Insert Missing Element Comment" to
> "No" anew (among other things).

I don't think that the various psgml user options are customizable
via the Emacs customization user interface, but you can certainly set
them in the standard elisp manner, likely from your .emacs file:

    (setq sgml-insert-missing-element-comment nil)

I've never tried it, but I believe you could even do this in the
instance file with a comment like the following at the end:

    <!-- Keep this comment at the end of the file
    Local variables:
    mode: xml
    sgml-insert-missing-element-comment:nil
    End:
    -->



-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com