Hi, an annoyance I have with auctex is it's interaction with electric-pair-mode. If both LaTeX-electric-left-right-brace and electric-pair-mode are enabled, typing '(' inserts "())", because both AucTeX and the electric function insert a closing parentheses. I still want to keep LaTeX-electric-left-right-brace enabled, because it handles TeX-specific parentheses (\{, \left , ...) better. I'm not sure if there is a real fix for this, but I couldn't find anything and my go-to solution of locally removing electric-pair-post-self-insert-function from post-self-insert-hook is also unstable. The attached patch would propose a solution that respects electric-pair-mode and doesn't insert an extra closing pair if enabled. It seems to work on my system, and if there are no issues it would be great if something along these lines could be done to avoid this behaviour. -- Philip K.