Dear nxml users,
I have just started using nxml-mode to edit my xml files. However, I ahve just
installed the Emacs win32 Emacs-22.0.50.1-Cvs050611105802-emacsw32-0.88 version
om my win2k pc. All is great but I cannot get emacs to start up in nxml-mode
when opening xml files...
here is the relevant portion of my .emacs file
;; ===== enable html-helper-mode =====
(autoload 'html-helper-mode "html-helper-mode" "Yay HTML" t)
(setq auto-mode-alist (cons '("\\.html$" . html-helper-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.asp$" . html-helper-mode) auto-mode-alist))
(setq auto-mode-alist (cons '("\\.phtml$" . html-helper-mode) auto-mode-alist))
;; ===== enable nxml-mode =====
(load "C:/Program Files/Emacs/emacs/site-lisp/nxml-mode-20041004/rng-auto.el")
(setq auto-mode-alist
(cons '("\\.\\(xml\\|xsl\\|rng\\|xhtml\\|tmpl\\)\\'" . nxml-mode)
auto-mode-alist))
(unify-8859-on-decoding-mode)
whenever i o pen an xml file emacs defaults to sgml-mode (this is not the case
for tmpl files, so is auto-mode-alist being changed later on????)
here are my messages when i open and xml file
Loading mwheel...done
(C:\Program Files\Emacs\emacs\bin\emacs.exe --load=C:/Program
Files/Emacs/setup/bin/gnuservauto.el)
Loading encoded-kb...done
Loading tool-bar...done
Loading image...done
Adding c:/Program Files/Emacs/setup/lisp/ to load-path
Loading recentf-buffer (source)...
Loading d:/home/.recentf...done
Cleaning up the recentf list...
File d:/.emacs removed from the recentf list
Cleaning up the recentf list...done (1 removed)
Loading recentf-buffer (source)...done
Loading cl-macs...done
Loading advice...done
Loading byte-opt...done
Loading derived...done
Loading c:/Program Files/Emacs/emacs/site-lisp/nxml-mode-20041004/rng-auto.el
(source)...done
This is w32-integ.el ...
This is w32-print ...
Loading cl-seq...done
Loading easy-mmode...done
viper-advice-add-minor-mode starting!!: (17080 16138 214000)
viper-advice-add-minor-mode done!!: (17080 16138 214000)
w32-feeling-define-key [C-tab] swbuff-switch-to-next-buffer
w32-feeling-define-key [C-tab] nil
w32-feeling-define-key [C-tab] swbuff-switch-to-next-buffer
w32-feeling-define-key [C-S-tab] swbuff-switch-to-previous-buffer
w32-feeling-define-key [f8] ESC-prefix
w32-feeling-define-key [C-tab] swbuff-switch-to-next-buffer
w32-feeling-define-key [C-S-tab] swbuff-switch-to-previous-buffer
viper-advice-add-minor-mode starting!!: (17080 16138 324000)
viper-advice-add-minor-mode done!!: (17080 16138 324000)
Loading jit-lock...done
For information about the GNU Project and its goals, type C-h C-p.
Loading xmltok...done
Loading sgml-mode...
viper-advice-add-minor-mode starting!!: (17080 16140 347000)
viper-advice-add-minor-mode done!!: (17080 16140 347000)
Loading sgml-mode...done
Thanks
Martyn
----------------------------------------------
Dr. Martyn D. Wheeler
Department of Chemistry
University of Leicester
University Road
Leicester, LE1 7RH, UK.
Tel (office): +44 (0)116 252 3985
Tel (lab): +44 (0)116 252 2115
Fax: +44 (0)116 252 3789
Email: martyn.wheeler@xxxxxxxx
http://www.le.ac.uk/chemistry/staff/mdw10.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/emacs-nxml-mode/
<*> To unsubscribe from this group, send an email to:
emacs-nxml-mode-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|