From: Tomas Nordin <tomasn@posteo.net>
To: "Per Starbäck" <per@starback.se>, 37828@debbugs.gnu.org
Subject: bug#37828: 26.3; python-shell-send-defun doesn't find the (whole) definition
Date: Thu, 24 Oct 2019 21:21:48 +0200 [thread overview]
Message-ID: <87imoene43.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <sa57e4zapmb.fsf@numerus.lingfil.uu.se>
Hello Per
Per Starbäck <per@starback.se> writes:
> With emacs 26.3.
>
> There are two related bugs which makes python-shell-send-defun
> sometimes not send the right contents.
>
> == reproduce the first one ==
>
> $ emacs -Q /tmp/newfile.py
> C-c C-p [start python process]
> def foo(): RET [define a ...]
> pass RET [... python function]
> C-M-x [python-shell-send-defun]
>
> In the echo area it says "Sent: pass..."
> because only that line was sent. Not the whole definition, and the
> function is not defined in the inferior python.
I think this is reported by Bug#30822 and fixed in master.
Best regards
--
Tomas
next prev parent reply other threads:[~2019-10-24 19:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-20 6:38 bug#37828: 26.3; python-shell-send-defun doesn't find the (whole) definition Per Starbäck
2019-10-24 19:21 ` Tomas Nordin [this message]
2019-10-31 6:32 ` Per Starbäck
2020-10-02 3:11 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87imoene43.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me \
--to=tomasn@posteo.net \
--cc=37828@debbugs.gnu.org \
--cc=per@starback.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.