This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Hands On Software Engineering with Python and have Brian Allbey on-line!
See this thread for details.
Win a copy of Hands On Software Engineering with Python this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

Anyone here edit JSP in Emacs?  RSS feed

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If so, do you have it set up to highlight EL? Nothing I've come across so far manages this.
 
Bartender
Posts: 20092
101
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm afraid that EL didn't exist last time I did JSP editing in Emacs. Back then I was struggling with getting it to handle scriptlets properly.

I solved the scriptlet problem. I learned not to put logic on my web pages. So no scriptlets.

If you're proficient in ELISP, you might want to dig out the stuff that highlights shell script variables when editing in shell mode. The same general rules for highlighing "${VARIABLE}" expressions should be adaptable to "#{el expressions}".

Unless you're doing free-form EL on a webpage, however, you'll probably have your EL in quotes, and the quote highlighter would normally be given precedence. At that level, even heavyweight IDEs like Eclipse only do a so-so job.
 
See ya later boys, I think I'm in love. Oh wait, she's just a tiny ad:
Programmatically Create PDF Using Free Spire.PDF with Java
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!