Open tumashu opened 9 years ago
Tried that and it's really very painful. The problem is that lentic works after every command, so if, for example, you write
\begin{code}
using the latex transformation, you would get a warning till you have added.
\end{code}
Currently, lentic just falls back to the identity transformation till you type \end{code} and then the problem just goes away. I have added a "Invalid" warning in the mode line.
maybe we can use :
(setq header-line-format "Warn information")
That's not a bad idea. It would be a bit more obvious than the mode line, but not too intrusive. I'll investigate.
When translate fail, lentic should pop a warn buffer which can tell user the position of the problem.