* bug#13618: 24.3.50; python-info-current-defun returns nil for a function without body
@ 2013-02-03 11:16 Jorgen Schaefer
2013-02-13 23:10 ` bug#13618: 24.3.50; python-nav-backward-sexp mishandles string movement Fabián Ezequiel Gallina
2013-02-13 23:13 ` bug#13618: (no subject) Fabián Ezequiel Gallina
0 siblings, 2 replies; 3+ messages in thread
From: Jorgen Schaefer @ 2013-02-03 11:16 UTC (permalink / raw)
To: 13618
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#13618: 24.3.50; python-nav-backward-sexp mishandles string movement
2013-02-03 11:16 bug#13618: 24.3.50; python-info-current-defun returns nil for a function without body Jorgen Schaefer
@ 2013-02-13 23:10 ` Fabián Ezequiel Gallina
2013-02-13 23:13 ` bug#13618: (no subject) Fabián Ezequiel Gallina
1 sibling, 0 replies; 3+ messages in thread
From: Fabián Ezequiel Gallina @ 2013-02-13 23:10 UTC (permalink / raw)
To: 13618
Pushed a fix for this in revno 111259.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#13618: (no subject)
2013-02-03 11:16 bug#13618: 24.3.50; python-info-current-defun returns nil for a function without body Jorgen Schaefer
2013-02-13 23:10 ` bug#13618: 24.3.50; python-nav-backward-sexp mishandles string movement Fabián Ezequiel Gallina
@ 2013-02-13 23:13 ` Fabián Ezequiel Gallina
1 sibling, 0 replies; 3+ messages in thread
From: Fabián Ezequiel Gallina @ 2013-02-13 23:13 UTC (permalink / raw)
To: 13618
Disregard the wrong subject for previous message. Revno 111259 fixes
python-info-current-defun.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-02-13 23:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-03 11:16 bug#13618: 24.3.50; python-info-current-defun returns nil for a function without body Jorgen Schaefer
2013-02-13 23:10 ` bug#13618: 24.3.50; python-nav-backward-sexp mishandles string movement Fabián Ezequiel Gallina
2013-02-13 23:13 ` bug#13618: (no subject) Fabián Ezequiel Gallina
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.