Hello,
I am using emacs 22.2.1 on Win32. I am using nXhtml (http://ourcomments.org/Emacs/nXhtml/doc/nxhtml.html) and I see that smarty mode is a part of that package. When I open a .tpl smarty template file emacs doesn't recognize that it is a smarty template file, and the editing mode is instead the "Fundamental" mode.
How do I make emacs recognize that a .tpl file is a smarty file?
I installed emacs via the Cygwin setup program, and so therefore the nXhtml mode that normally comes with the Win32 install of emacs didn't seem to be installed by Cygwin, so I downloaded it independently and installed it in my emacs lisp load path. Editing XHTML with javascript works fine, beautifully.