Hacker News new | past | comments | ask | show | jobs | submit login

I’ve started to use emacs in my computer sciences school 30 years ago (EPITA in Paris). The Lab was surrounded by Mips, Sun, Alpha, … great time.

The only weakness of Emacs (according to me) was the lack of a good major mode (module) to edit web template : imagine editing a php block inside a javascript part embedded inside html.

After testing many modes, I started to develop web-mode (http://web-mode.org) that is now compatible with about thirty template engines. What a wondeful trip it was to discover the power of Lisp and what a pleasure it is everyday to know exactly what happens when I hit a key while editing an html file.

I am the only Emacs user in my company (kernix.com) but nothing would make me switch. I can not imagine using an editor that would not open in less than a second (or that would eat hundreds of Mo of RAM)

I Hope Emacs will see a usage surge with the inclusion of tree sitter… editing in emacs will be even faster and more robust. Not sure tree sitter is suitted for multi languages files … but for this you have web-mode ;)




I'm not even sure about the state of this in other editors: Emacs allows syntax highlighting of different languages to be used correctly in nested regions. For example in org-mode you can have source blocks of any other language and you can see them syntax highlighted correctly. Maybe some other editors manage this for markdown's tripple backtick syntax, but do they add syntax highlighting of various mainstream languages to their markdown "modes", or do they actually have that use their separate "mode" for that language, possibly recursively?

Would be great, if anyone could comment on that. I think Emacs using Elisp has natural potential to do it recursively and therefore easily correctly, instead of cramming other modes with syntax, that does not belong there.


Thanks for your work! I use web mode on occasion - really like that it handles Jinja/Django templates!




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: