Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: creating customized major mode - emacs 23.4.1

5 views
Skip to first unread message

Tassilo Horn

unread,
May 29, 2012, 7:20:11 AM5/29/12
to help-gn...@gnu.org
"Janssen, Kurt H." <kurt.j...@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


0 new messages