all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* nxml-mode autoload?
@ 2005-10-30  2:40 Arturius mac Aidan
  2005-10-30  8:12 ` Edward O'Connor
  2005-10-30 11:55 ` Jean Magnan de Bornier
  0 siblings, 2 replies; 7+ messages in thread
From: Arturius mac Aidan @ 2005-10-30  2:40 UTC (permalink / raw)


These entries are in my .emacs
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; autoinsert.el
;;http://www.linuxgazette.com/issue39/marsden.html

(setq auto-mode-alist
      (append '(("\\.h$" . c++-mode)
                ("\\.cpp\\'" . c++-mode)
                ("\\.moc\\'" . c++-mode))
              auto-mode-alist))

(add-hook 'find-file-hooks 'auto-insert)
(setq-default auto-insert-query nil)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; www.thaiopensource.com/nxml-mode
;; per the ~/.emacs.d/lisp/nxml-mode-20041004/README
(load "~/.emacs.d/lisp/nxml-mode-20041004/rng-auto.el")
(setq auto-mode-alist
      (append '(("\\.xml\\'" . nxml-mode)
                ("\\.xsl\\'" . nxml-mode)
                ("\\.rng\\'" . nxml-mode)
                ("\\.xhtml\\'" . nxml-mode))
              auto-mode-alist))
;;;;;;;;;;;;;;;;;EOF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


The first auto-mode-alist entries (for c++) work as expected.  the ones for
nxml-mode do not work.  I can, however, start the mode with `M-x
nxml-mode<ret>'. Does anybody know why this is not working?


M-x version<ret>
GNU Emacs 22.0.50.2 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of
2005-10-18 on ljosalfr
-- 
.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-10-31 17:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-30  2:40 nxml-mode autoload? Arturius mac Aidan
2005-10-30  8:12 ` Edward O'Connor
2005-10-30 11:55 ` Jean Magnan de Bornier
2005-10-30 14:38   ` Lennart Borgman
2005-10-31  5:48   ` Arturius mac Aidan
2005-10-31  7:57     ` Lennart Borgman
2005-10-31 17:21     ` Edward O'Connor

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.