From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: nxml-mode autoload? Date: Mon, 31 Oct 2005 08:57:50 +0100 Message-ID: <4365CE7E.5000006@student.lu.se> References: <44ednc8paYY1r_neRVn-hQ@speakeasy.net> <87oe57fcd2.fsf@borlap.bornier.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1130746646 8369 80.91.229.2 (31 Oct 2005 08:17:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 31 Oct 2005 08:17:26 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 31 09:17:23 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EWUpn-0006s2-FE for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Oct 2005 09:16:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EWUoC-0003LL-BD for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Oct 2005 03:14:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EWUYI-0006TA-3f for help-gnu-emacs@gnu.org; Mon, 31 Oct 2005 02:57:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EWUYE-0006So-Oc for help-gnu-emacs@gnu.org; Mon, 31 Oct 2005 02:57:56 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EWUYD-0006Sk-Hc for help-gnu-emacs@gnu.org; Mon, 31 Oct 2005 02:57:53 -0500 Original-Received: from [81.228.8.83] (helo=pne-smtpout1-sn2.hy.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EWUYD-0003yg-QW for help-gnu-emacs@gnu.org; Mon, 31 Oct 2005 02:57:54 -0500 Original-Received: from [192.168.123.121] (83.249.218.244) by pne-smtpout1-sn2.hy.skanova.net (7.2.060.1) id 435F864100112EB3; Mon, 31 Oct 2005 08:57:51 +0100 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: Arturius mac Aidan In-Reply-To: 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:30709 Archived-At: Arturius mac Aidan wrote: >>and proposed the following: >> >> (defcustom drkm-misc:magic-modes-to-delete >> '(html-mode sgml-mode xml-mode) >> "List of mode symbols whose entries to delete in >> `magic-mode-alist'." >> :type '(repeat symbol) >> :group 'drkm) >> >> (when (boundp 'magic-mode-alist) >> (setq magic-mode-alist >> (delete-if (lambda (cell) >> (memq (cdr cell) >> drkm-misc:magic-modes-to-delete)) >> magic-mode-alist))) >> >> (push '("\\`<\\?xml" . nxml-mode) magic-mode-alist) >> >>This works well, provided you load cl (before these commands) if it is not >> already loaded: >> >>(require 'cl) >> >>I cannot explain these lines but they have to do with the >>"magic-mode-alist" interfering in some way with "auto-mode-alist". >> >>hth, >> >> > >To whom shall I report the bug, James Clark, or the Emacs developers? > > Can you tell what C-h push RET shows before and after loading cl?