5 May 2005 10:25
Re: Problem building pkgsrc guide
Hiroki Sato <hrs <at> NetBSD.org>
2005-05-05 08:25:48 GMT
2005-05-05 08:25:48 GMT
Hi,
Thomas Klausner <wiz <at> NetBSD.org> wrote
in <20050428145308.GI20624 <at> dmath5.geometrie.tuwien.ac.at>:
wi> On Sun, Apr 24, 2005 at 01:00:49AM +0900, Hiroki Sato wrote:
wi> > In most cases,
wi> > you do not need to set {SGML,XML}_CATALOG_FILES manually.
wi>
wi> I was trying (so far without success) to use the psgml-mode in emacs
wi> for editing NetBSD XML files, and setting the variables was one
wi> of the steps I found somewhere.
wi>
wi> Any hints on how to make this work are very welcome.
I committed the latest version of textproc/psgml-mode and
switch-over of the Website DOCTYPE declaration in each htdocs/*.xml files.
Putting the following lines (with replacing /home/hrs/work/NetBSD/htdocs
part with a pathname of your htdocs/ tree) into your ~/.emacs file
should make the psgml-mode work. Could you try this?
---(cut here)
(autoload 'sgml-mode "psgml" "Major mode to edit SGML files." t)
(autoload 'xml-mode "psgml" "Major mode to edit XML files." t)
(setq sgml-catalog-files '("/usr/pkg/share/sgml/catalog"
"/home/hrs/work/NetBSD/htdocs/guide/en/share/catalog"
"/home/hrs/work/NetBSD/htdocs/share/xml/catalog"
))
(Continue reading)
RSS Feed