Kile doesn't parse a LaTeX error message correctly. Minimal example: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} \limit % the correct command would be \lim \end{align} \end{document} In the Messages pane, the clickable link for the error says "tmp.tex:6:Undefined control sequence \end{align}", while actually the problem is the \limit However the LaTeX output contains ! Undefined control sequence. <argument> \limit l.6 \end{align} It would be helpful for Kile to parse the error message better. On a side note, the text in the messages pane is not selectable (nor copy-pasteable). Note that using an equation environment instead of align, the error is displayed correctly.