Warning: These are setup instructions for impacient people,
who like me, don't read the manual to see how to install and run
things . If you're not
this kind of person, please go read the manual. I've put a lot of time
in writing it, I will RTFM you if
the question you ask is already answered in the manual.
Make sure you have Elib and Speedbar installed. If you're running a
recent version of XEmacs, chances are you already have them
installed. If you're running GNU Emacs, you'll probably need to
install them.
This is where you can get them from:
Setup your ~/.emacs file to contain
these:
(require 'cl)
(defvar running-xemacs (string-match "XEmacs\\|Lucid" emacs-version))
; Turn on font lock
(if running-xemacs
(setq font-lock-auto-fontify t)
(global-font-lock-mode))
;; Set syntax coloring for PSGML
(setq-default sgml-set-face t)
(pushnew (expand-file-name "~/src/xslt-process/lisp") load-path)
(pushnew (expand-file-name "~/emacs") load-path)
(pushnew (expand-file-name "~/emacs/speedbar-0.14beta4") load-path)
(pushnew (expand-file-name "~/emacs/elib-1.0") load-path)
(add-hook 'sgml-mode-hook 'xslt-process-mode)
(add-hook 'xml-mode-hook 'xslt-process-mode)
(defadvice xml-mode (after run-xml-mode-hooks act)
"Invoke `xml-mode-hook' hooks in the XML mode."
(run-hooks 'xml-mode-hook))
(require 'xslt-process)
(setq auto-mode-alist
(union '(("\\.html$" . html-mode)
("\\.shtml$" . html-mode)
("\\.xml$" . sgml-mode)
("\\.xsl$" . sgml-mode)
("\\.xmap$" . sgml-mode)
("\\.xconf$" . sgml-mode)
) auto-mode-alist))
|