For my purposes it is enough.Note that "test if a parenthesis in LaTeX (latex-mode) starts a balanced expression" is a kind of weird request, because it will only return nil if there's a missing close-paren but not if there are too many close-parens, i.e. it only detects one half of the imbalances. Stefan