>>>>> "ER" == Eric Raymond <[EMAIL PROTECTED]> writes:

ER> Mark Mynsted wrote:
>> 
>> What JSP font locking solutions are you folks using?

ER> We just use either java-mode or html-mode depending upon where in the
ER> JSP page we are editing.  I've looked around for something better, but
ER> haven't found it.  Sort of surprising.

There's  html-helper-mode (http://www.gest.unipd.it/~saint)  that does
this semi-automatically.  It paints server  code in one color  when in
HTML  mode and  can switch  to  another mode  -java, visual-basic,  C-
(narrowing the text) when editing server o scripting code

For  use with  JSP -the  mode was  born  for asp-  you have  to set  a
variable to not nil:

html-helper-mode-global-JSP-not-ASP's value is 
nil

Documentation:
Non nil to make Emacs consider <% %> blocks as JSP (global default
behaviour)

You can customize this variable.

Defined in `html-helper-mode'.

                                        Gian Uberto Lauri
                                        [EMAIL PROTECTED]


Reply via email to