[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h-e-w] Ignoring unknown mode `*-mode'
From: |
Jeff Rancier |
Subject: |
Re: [h-e-w] Ignoring unknown mode `*-mode' |
Date: |
Mon, 20 May 2002 13:06:42 -0400 |
Thanks Stephe,
I guess it's just bad luck that someone in the past choose the '*-*-*" as a
comment line.
Jeff
----- Original Message -----
From: "Stephen Leake" <address@hidden>
To: "Jeff Rancier" <address@hidden>
Cc: "Stephen Leake" <address@hidden>; "Emacs Help
(Windows)" <address@hidden>
Sent: Monday, May 20, 2002 12:52 PM
Subject: Re: [h-e-w] Ignoring unknown mode `*-mode'
> "Jeff Rancier" <address@hidden> writes:
>
> > I'm pretty sure it's the header information. Here's the first line:
> >
> >
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
> > -*\
> >
> > I'm sure that's the culprit. So I can assume that Emacs with attempt to
> > determine which mode to use regardless of the extension?
>
> Not quite "regardless of the extension"; this mechanism overrides the
> extension. See the info node "Major Modes | Choosing Modes"
>
> You can do (setq enable-local-variables nil) to defeat this, and just
> use the extension to set the mode.
>
> --
> -- Stephe