From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Colin S. Miller" Newsgroups: gmane.emacs.help Subject: Re: modes not doing much Date: Sat, 12 Aug 2006 12:23:57 +0100 Organization: SunSITE.dk - Supporting Open source Message-ID: <44ddba39$0$15787$14726298@news.sunsite.dk> References: <44ddb5f9$0$15781$14726298@news.sunsite.dk> 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 1155383306 26004 80.91.229.2 (12 Aug 2006 11:48:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 12 Aug 2006 11:48:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 12 13:48:25 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GBrrh-0001HE-5s for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Aug 2006 13:41:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GBrrg-0006Gj-LI for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Aug 2006 07:41:16 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!news.net.uni-c.dk!dotsrc.org!news.dotsrc.org!not-for-mail User-Agent: Thunderbird 1.5.0.4 (X11/20060713) Original-Newsgroups: gnu.emacs.help In-Reply-To: <44ddb5f9$0$15781$14726298@news.sunsite.dk> Original-Lines: 25 Original-NNTP-Posting-Host: 62.56.73.25 Original-X-Trace: news.sunsite.dk DXC=_T7cIPUkNQW60aK5>0M0DVYSB=nbEKnk[GR17mgORk1QG1[Bg<0aH5P\VT\m5_SIbVU_42Df:PaKXTcL2h5ahoT_kF_>m>CYcV_05M 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:36627 Archived-At: YAD, Looking a bit closer at my auto-mode-alist shows it contains, amongs other entries, ("\\.py$" . python-mode) ("\\.ml[iylp]?$" . caml-mode) ("\\.ml\\'" . lisp-mode) The second entry means .ml optionally follwed by i, y, l, or p, are in caml-mode. However, the last entry overrides .ml, so adding to your .emacs (remove-alist 'auto-mode-alist '"\\.ml\\'") should work, if emacs's auto-mode-alist is the same as XEmacs's. HTH, Colin S. Miller -- Replace the obvious in my email address with the first three letters of the hostname to reply.