GNU bug report logs - #11910
24.1.50; Missing functions in new python.el

Previous Next

Package: emacs;

Reported by: Ivan Andrus <darthandrus <at> gmail.com>

Date: Wed, 11 Jul 2012 13:03:01 UTC

Severity: normal

Found in version 24.1.50

Done: Fabián Ezequiel Gallina <fabian <at> anue.biz>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 11910 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Fabián Ezequiel Gallina <fabian <at> anue.biz>
Cc: 11910 <at> debbugs.gnu.org
Subject: Re: bug#11910: 24.1.50; Missing functions in new python.el
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




This bug report was last modified 12 years and 307 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.