Hi Arash, Thanks for the follow-up, I've attached a minimal latex example that contains: - an ignored warning (about a package's options) - a non-ignored warning (missing citation label) After compiling, the infinite loop is triggered when invoking `TeX-previous-error' after invoking `TeX-next-error'. These are the relevant configuration options: == (setq TeX-debug-warnings t TeX-ignore-warnings #'my-ignore-TeX-warnings TeX-suppress-ignored-warnings t) (defun my-ignore-TeX-warnings (type file line text &rest more) (let ((ref "LaTeX Warning: Reference") (cit "LaTeX Warning: Citation")) (and (not (string-match-p ref text)) (not (string-match-p cit text))))) == Kind regards, Bram Adams