When writing LaTeX documents in Emacs, it usually automatically replaces quotation marks " by `` or '', as it should. But sometimes, it incorrectly replaces by "` and "' instead. I am observing this in Emacs 23.4 supplied as version 23.4+1-4ubuntu1 in Ubuntu 13.04.
It happens in the below example:
\documentclass[danish]{article}
\usepackage{babel}
\begin{document}
This is a "`test"'.
\end{document}
My guess is that babel and the language option danish is causing this together with AUCTeX. If I change it to english and reset AUCTeX, the problem disappears. If I change it back to danish and reset AUCTeX it re-appears.
How can I fix this?