From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Arturius mac Aidan Newsgroups: gmane.emacs.help Subject: nxml-mode autoload? Date: Sat, 29 Oct 2005 22:40:39 -0400 Organization: Invisible Light Message-ID: <44ednc8paYY1r_neRVn-hQ@speakeasy.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: sea.gmane.org 1130640377 9376 80.91.229.2 (30 Oct 2005 02:46:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Oct 2005 02:46:17 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 30 03:46:03 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EW3C9-00062z-Nt for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Oct 2005 03:45:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EW3C8-0001bA-Vq for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Oct 2005 22:45:17 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.speakeasy.net!news.speakeasy.net.POSTED!not-for-mail Original-NNTP-Posting-Date: Sat, 29 Oct 2005 21:40:40 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: KNode/0.9.2 Original-Lines: 37 Original-NNTP-Posting-Host: 66.92.149.152 Original-X-Trace: sv3-1EYsrvnWIsmMhjaNJ75VRiooX9kgqLrtl7wFYtyPS6G5QQYkxc0I4RCblb4cflSQnLyjIACsHY5SHIl!+PnlpeNb4CT0LpHxj8lA70i0H1QXmpOYOWNq1mwCdNzl7WZy4UskR+NRmS0u3dm9vL1uvWGmMDYx!3HFWepv+kaRzz39txaM= Original-X-Complaints-To: abuse@speakeasy.net X-DMCA-Complaints-To: abuse@speakeasy.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Original-Xref: shelby.stanford.edu gnu.emacs.help:135091 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30682 Archived-At: 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'. Does anybody know why this is not working? M-x version GNU Emacs 22.0.50.2 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2005-10-18 on ljosalfr -- .