TCL Scripting in Emacs
Hey all,
I'm doing some tcl scripting at work, since not all of us are using linux, the extension on all of our scripts is .txt. What I can't figure out is how to override Emacs autmatic syntax coloring so that it will treat the .txt files as though they were .tcl files, and colorize it. Anyone have any ideas? Thanks! |
hi there...
add that to your .emacs ----------------------------------------------------------------------------- (setq auto-mode-alist (append '(("\\.txt\\" . tcl-mode)))) _________________________________________________ please check syntax... i got it from my head.. hope it will help.... regards slackie |
It looks like it just might help, of course, I have no clue what to check the syntax against.
I definetly feel as though that is the type of thing I need.... Thanks |
Excellent, thanks a lot! Works nicely!
|
you are welcome...
cheers slackie |
All times are GMT -5. The time now is 08:58 PM. |