From xemacs-m  Wed Apr 23 17:23:21 1997
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id RAA16675
	for <xemacs-beta@xemacs.org>; Wed, 23 Apr 1997 17:23:20 -0500 (CDT)
Received: (from steve@localhost)
	by altair.xemacs.org (8.8.5/8.8.5) id PAA12519;
	Wed, 23 Apr 1997 15:36:38 -0700
Mail-Copies-To: never
To: xemacs-beta@xemacs.org
Subject: Re: lisp-mode with 20.2-b1
References: <199704232151.QAA09055@lks.cadence.com>
X-Url: http://www.miranova.com/%7Esteve/
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: "Oswald P. Backus IV"'s message of Wed, 23 Apr 1997 16:52:44 -0500
Mime-Version: 1.0 (generated by tm-edit 7.106)
Content-Type: text/plain; charset=US-ASCII
Date: 23 Apr 1997 15:36:38 -0700
Message-ID: <m2u3kxmknd.fsf@altair.xemacs.org>
Lines: 30
X-Mailer: Gnus v5.4.46/XEmacs 20.2(beta2)

Oswald P Backus IV <backus@altagroup.com> writes:

> FYI:
>   We have lots of lisp files which begin like this:

> ;;; -*- Mode: Lisp; Package: BONES -*-

>   I've been sorta keeping up with the beta versions as they've come
> out, and I see that with the latest one, this no longer
> works. I.e. when a file named <something>.lisp begins with the line
> above, the major mode ends up as `Indented Text'. If, however, I
> removed this line, the major mode ends up as `Lisp'.

I have to ask this, sorry.

Do you observe this behavior when you start XEmacs with `-q
-no-site-file' and visit one of the lisp files in question?

I created a small file with that text at the top and XEmacs went into
lisp-mode when I visited it.

>   Any clues?  I poked around and couldn't find where this line is read 
> for determining the major mode. If someone can point me to it, I'd
> look into it.

It's in lisp/prim/files.el, and the processing has been changed since
XEmacs 19.14.
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.

