With this .emacs file I am able to reproduce the error. The error message implicates the tex-mode-hook stanza which begins on line 195 of the .emacs file. Apparently forward-sexp cannot cope with the character literal for a literal semicolon character, which I think is a bug if Emacs doesn't otherwise choke on it. Changing the line
(modify-syntax-entry ?; "w")
to
(modify-syntax-entry ?\; "w")
allows forward-sexp to parse the sexp correctly.
I don't think Debian ever shipped with a default .emacs file but I could be wrong.
With this .emacs file I am able to reproduce the error. The error message implicates the tex-mode-hook stanza which begins on line 195 of the .emacs file. Apparently forward-sexp cannot cope with the character literal for a literal semicolon character, which I think is a bug if Emacs doesn't otherwise choke on it. Changing the line
to
allows forward-sexp to parse the sexp correctly.
I don't think Debian ever shipped with a default .emacs file but I could be wrong.