GNU bug report logs - #13618
24.3.50; python-info-current-defun returns nil for a function without body

Previous Next

Package: emacs;

Reported by: Jorgen Schaefer <forcer <at> forcix.cx>

Date: Sun, 3 Feb 2013 11:18:01 UTC

Severity: normal

Found in version 24.3.50

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13618 in the body.
You can then email your comments to 13618 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#13618; Package emacs. (Sun, 03 Feb 2013 11:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jorgen Schaefer <forcer <at> forcix.cx>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 03 Feb 2013 11:18:02 GMT) Full text and rfc822 format available.

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

From: Jorgen Schaefer <forcer <at> forcix.cx>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50;
	python-info-current-defun returns nil for a function without body
Date: Sun, 03 Feb 2013 12:16:18 +0100
Hello!
The `python-info-current-defun' function only works in functions and
methods that have a body, which is a bit confusing while writing code:

def foo():
    _|_

M-: (python-info-current-defun) => nil

def foo():
    a_|_

M-: (python-info-current-defun) => "foo"

class Test(object):
    def __init__(self):
        _|_

M-: (python-info-current-defun) => nil

class Test(object):
    def __init__(self):
        a_|_

M-: (python-info-current-defun) => "Test.foo"


Regards,
        -- Jorgen




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13618; Package emacs. (Wed, 13 Feb 2013 23:10:01 GMT) Full text and rfc822 format available.

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

From: Fabián Ezequiel Gallina <fabian <at> anue.biz>
To: 13618 <at> debbugs.gnu.org
Subject: 24.3.50; python-nav-backward-sexp mishandles string movement
Date: Wed, 13 Feb 2013 20:10:27 -0300
Pushed a fix for this in revno 111259.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#13618; Package emacs. (Wed, 13 Feb 2013 23:13:02 GMT) Full text and rfc822 format available.

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

From: Fabián Ezequiel Gallina <fabian <at> anue.biz>
To: 13618 <at> debbugs.gnu.org
Date: Wed, 13 Feb 2013 20:13:14 -0300
Disregard the wrong subject for previous message. Revno 111259 fixes 
python-info-current-defun.




bug closed, send any further explanations to 13618 <at> debbugs.gnu.org and Jorgen Schaefer <forcer <at> forcix.cx> Request was from Fabián Ezequiel Gallina <fabian <at> anue.biz> to control <at> debbugs.gnu.org. (Wed, 13 Feb 2013 23:13:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 14 Mar 2013 11:24:05 GMT) Full text and rfc822 format available.

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

Previous Next


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