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]

XEmacs psgml mode problems...


Since our sys admin updated XEmacs to 21.1.patch 10 (from patch 9)
loading xml docs takes forever. It seems to be in reading the catalogs, as well
as parsing the DTD.

Can anyone shed any light?

TIA,

Matthew
---------------------------------------------------------
we're currently using psgml 1.2.0

my doc starts:

<?xml version="1.0" standalone="no"?>
<!DOCTYPE article PUBLIC "-//Norman Walsh//DTD DocBk XML V4.0beta2//EN"
                         "file:///usr/local/common/docbook/DocBook-4.0beta2-XML/docbookx.dtd"

>

and my relevant .emacs settings are : 
(setq auto-mode-alist
      (append
       (list
	'("\\.sgm" . sgml-mode) 
	'("\\.sgml" . sgml-mode)
	'("\\.xml" . sgml-mode) )
       auto-mode-alist)) 

;; SGML mode

; /usr/lib/sgml/catalog is a link to /etc/sgml.catalog on debian...
;(setq sgml-catalog-files (list "catalog" "/usr/lib/sgml/catalog" "/etc/sgml.catalog"))
(setq sgml-catalog-files (list "catalog" "/usr/lib/sgml/catalog" ))
(add-hook 'sgml-mode-hook (lambda ()
                            (progn
                              (setq sgml-local-catalogs 
									(list 
								     (substitute-in-file-name 
								      "/usr/local/common/docbook/DocBook-4.0beta2-XML/docbook.cat")
									 ))
							  (sgml-parse-prolog)
							  (turn-on-auto-fill)
							  (font-lock-mode)
                              )))

(require 'psgml)
(setq sgml-auto-insert-required-elements t)
(setq sgml-insert-missing-element-comment nil)

;; ---------------------------------

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