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 #8 received at 11910 <at> debbugs.gnu.org (full text, mbox):

From: Fabián Ezequiel Gallina <fabian <at> anue.biz>
To: 11910 <at> debbugs.gnu.org
Subject: 24.1.50; Missing functions in new python.el
Date: Tue, 17 Jul 2012 17:38:47 -0300
Here are some replacements you can use with current trunk:

   * python-beginning-of-statement: python-nav-beginning-of-statement
   * python-end-of-statement: python-nav-end-of-statement
   * python-beginning-of-block: python-beginning-of-block
   * python-end-of-block: python-nav-end-of-block
   * python-comment-line-p: python-info-current-line-comment-p

In revno 109130 I included this two:

   * python-open-block-statement-p: python-info-beginning-of-block-statement-p
   * python-in-string/comment: python-info-ppss-comment-or-string-p

For python-beginning-of-string I don't feel it is necessary some replacement, you can achieve it with something like this:

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

Or a reduced version:

(goto-char (or (python-info-ppss-context 'string) (point)))



Regards,
Fabián.





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.