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

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

Re: creating customized major mode - emacs 23.4.1


From: Tassilo Horn
Subject: Re: creating customized major mode - emacs 23.4.1
Date: Tue, 29 May 2012 13:20:11 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.1.50 (gnu/linux)

"Janssen, Kurt H." <kurt.janssen@aramco.com> writes:

> I have text files whose first line is,
>  -*- dicso -*-
> but I do not get any text highlighting (sample txt file attached)?

I think that line should look like this (assuming # is the comment
starter in that mode):

# -*- mode: dicso -*-

Alternatively, you can add something like this near the end of the file:

# Local Variables:
# mode: dicso
# End:

Have a look at (info "(emacs)Specifying File Variables").

Bye,
Tassilo




reply via email to

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