Greetings.

I use emacs for all text editing and I was running into a problem with editing
ADP's. With html-helper-mode I can do things like narrow down to a JavaScript
block and edit JavaScript with a JavaScript mode (syntax highlighting,
language helpers, automatic indenting, etc...). I wished to have the same
thing for editing Tcl blocks in my .adp's <% ... %>.

I made a few additions to the mode and it's now the perfect solution (I
think). I have pretty HTML, HTML helpers, etc... Then when I'm in a <% ... %>
block, I hit F10 and instantly I am in the emacs TCL mode with that block now
the screen. I have all the benefits of the TCL mode, but inside of the ADP
file. When I'm done, I hit F11 and it takes me back to the full file, and
back into the pretty HTML editing mode.

I have created a page on my wiki for more information, what you have to do,
how to use it, etc... If you use emacs and do not already have a solution
like this, you may want to take a peek:
http://cowgar.com/wiki.adp?pagename=Programming%20AOL%20Server

It would be interesting to see how many people would use this. If their is
enough, maybe the authors of HTML-helper-mode will add this code into their
distribution so that HTML-helper-mode would be able to edit ADP pages out of
the box.

Thanks,

Jeremy


--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list: http://www.aolserver.com/listserv.html
List information and options: http://listserv.aol.com/

Reply via email to