I am attempting to create a major mode for simple syntax highlighting.

I have created the attached disco-mode.el file and and put (load "~/.emacs.d/disco-mode.el") in my init.el file.

I have text files whose first line is,

 -*- dicso -*-

but I do not get any text highlighting (sample txt file attached)?

 

I am running Redhat 5.2 and using the following version of emacs,

 

GNU Emacs 23.4.1 (x86_64-unknown-linux-gnu, Motif Version 2.3.0)

 

Any help would be appreciated.

 

thanks

 




The contents of this email, including all related responses, files and attachments transmitted with it (collectively referred to as “this Email”), are intended solely for the use of the individual/entity to whom/which they are addressed, and may contain confidential and/or legally privileged information. This Email may not be disclosed or forwarded to anyone else without authorization from the originator of this Email. If you have received this Email in error, please notify the sender immediately and delete all copies from your system. Please note that the views or opinions presented in this Email are those of the author and may not necessarily represent those of Saudi Aramco. The recipient should check this Email and any attachments for the presence of any viruses. Saudi Aramco accepts no liability for any damage caused by any virus/error transmitted by this Email.