Subject: bug#11910: 24.1.50; Missing functions in new python.el

From: Stefan Monnier <[email-masked]>
Date: Tue, 17 Jul 2012 17:35:11 -0400

> (let ((string-starting-pos (python-info-ppss-context 'string)))
>    (and string-starting-pos
>         (goto-char string-starting-pos)))

Aka

  (let ((ppss (syntax-ppss)))
    (if (nth 3 ppss) (goto-char (nth 8 ppss))))

which should work for most major modes.

        Stefan