Re: Version
Brought to you by:
ovidiu
From: <aq...@da...> - 2002-02-25 16:55:42
|
Hi Ovidiu, Thanks for your reply. I installed XSLT Process 2.1 and added following to my init.el. Now I get the XSLT Menu on the top. But I lost the font-lock for .el files. Also it does not syntax highlight any of the xslt buffers. Do I have to do anything special to get syntax highlight for XSL files? Is there no way of finding out the version of individual package in XEmacs? I appriciate your help. Anup!! ;;XEmacs Version 21.4 patch 6 ;; Added following to init.el (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 "~/Progra~1/XEmacs/xemacs-packages/xslt-process-2.1/lisp") 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)) ---------Included Message---------- >Date: Fri, 22 Feb 2002 13:44:08 -0800 >From: "Ovidiu Predescu" <ov...@xe...> >Reply-To: "Ovidiu Predescu" <ov...@xe...> >To: <aq...@da...> >Cc: <xsl...@li...> >Subject: Re: Version > >Hi, > >If you installed the latest sumo package for XEmacs, then you probably >got XSLT-process version 1.2.1, which is very old. > >I'd suggest you to install the 2.1 version and see if that works for >you with the setup described on the Web site. > >Regards, >Ovidiu > >On Fri, 22 Feb 2002 11:17:21 -0800, aq...@da... wrote: > >> Hi >> I just got the XEmacs Version 21.4 (patch 6), I have the following >> questions: >> 1) How do I find out which version of xslt-process came with Xemacs. (is >> there any command/variable which I can look at?) >> 2) I copied the settings from >> http://xslt-process.sourceforge.net/setup.php to install/run xslt mode. >> But I do not get the syntax highligting and menu items for XSLT mode. I >> do see XSLT minor mode getting invoked though.. >> I'd appriciate any co-operation in this regard. >> Thanks >> Anup!! > ---------End of Included Message---------- _____________________________________________________________ |