You have a multimode.el. To have both HTML and Java you have to configure it
like this in your .emacs (once you got the multimode from GNU site, and
byte-compiled it):

------------------------------------------------------------------------

;; MULTIMODE PARA JSP
;; jsp/html multi-mode
(autoload 'multi-mode
  "multi-mode"
  "Allowing multiple major modes in a buffer"
  t)

(defun jsp-mode()(interactive)
  (multi-mode 1 'html-mode '("<%" jde-mode) '("%>" html-mode) '("<script"
jde-mode) '("</script>" html-mode))
  )

----------------------------------------------------------------------------
--


----- Mensaje original -----
De: "Ramkumar_Gopalaswamy" <[EMAIL PROTECTED]>
Para: <[EMAIL PROTECTED]>
Enviado: lunes 20 de diciembre de 1999 7:12
Asunto: JSP mode for Emacs


> Would anyone know if a JSP edit mode is available
> for GNU Emacs ?
>
> Thanks,
> Ram
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to