I am absolutely new to Emacs and lisp, but I am considering a possibility to start using it for LaTeX code editing.
What I have learned about Emacs (and it fascinated me) is that it has almost unlimited possibilities to modify it according to your needs. Before jumping into learning progress I need to clarify few things. One of the most important features that I need for my editor is possibility to create advanced highlighting schemes. Part of my work is rewriting LaTeX code to make it suitable for certain type of conversion to HTML. Visual emphasis of some parts in the code makes my work much easier. So the questions are:
- Is it possible in Emacs, to highlight certain commands only if they are in some kind of environment?
- Can I define highlighting priorities in case they overlap.
- Can I tell Emacs to highlight certain phrases only if they follow after some set (containing symbols or words)?
- Can I define different highlighting modes for math and text modes?