help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] Ignoring unknown mode `*-mode'


From: Stephen Leake
Subject: Re: [h-e-w] Ignoring unknown mode `*-mode'
Date: 20 May 2002 12:52:42 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

"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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]