Subject: 24.0.95; forward-sexp fails on string

From: Leo <[email-masked]>
Date: Tue, 24 Apr 2012 12:12:07 +0800

1. Emacs -Q
 2. decompress and open the attached file
 3. M-: (goto-char 2345) which should move point to the beginning of a
    triple quote string in python.
 4. C-M-f

,----
| Debugger entered--Lisp error: (scan-error "Unbalanced parentheses" 2345 70003)
|   scan-sexps(2345 1)
|   forward-sexp(1)
|   call-interactively(forward-sexp nil nil)
`----

 5. C-f C-f, so that you are on the last "
 6. C-M-f
 7. M-: (goto-char 2345)
 8. C-M-f

This time it succeeds.

Could someone explain what is going on? Is this a bug? Thanks.

Leo