From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Tomas Nordin Newsgroups: gmane.emacs.bugs Subject: bug#37828: 26.3; python-shell-send-defun doesn't find the (whole) definition Date: Thu, 24 Oct 2019 21:21:48 +0200 Message-ID: <87imoene43.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="95392"; mail-complaints-to="usenet@blaine.gmane.org" To: Per =?UTF-8?Q?Starb=C3=A4ck?= , 37828@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 24 21:23:46 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iNii1-000OfF-Uc for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Oct 2019 21:23:46 +0200 Original-Received: from localhost ([::1]:51394 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNihz-00007f-QE for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Oct 2019 15:23:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56577) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNihL-0007Eg-At for bug-gnu-emacs@gnu.org; Thu, 24 Oct 2019 15:23:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNihK-0006qJ-AQ for bug-gnu-emacs@gnu.org; Thu, 24 Oct 2019 15:23:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56363) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iNihJ-0006qA-Ti for bug-gnu-emacs@gnu.org; Thu, 24 Oct 2019 15:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iNihJ-0001ah-Od for bug-gnu-emacs@gnu.org; Thu, 24 Oct 2019 15:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tomas Nordin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Oct 2019 19:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37828 X-GNU-PR-Package: emacs Original-Received: via spool by 37828-submit@debbugs.gnu.org id=B37828.15719449246044 (code B ref 37828); Thu, 24 Oct 2019 19:23:01 +0000 Original-Received: (at 37828) by debbugs.gnu.org; 24 Oct 2019 19:22:04 +0000 Original-Received: from localhost ([127.0.0.1]:36951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNigO-0001ZN-0S for submit@debbugs.gnu.org; Thu, 24 Oct 2019 15:22:04 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:42371) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNigI-0001Xy-Q6 for 37828@debbugs.gnu.org; Thu, 24 Oct 2019 15:21:59 -0400 Original-Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 28BE42400E5 for <37828@debbugs.gnu.org>; Thu, 24 Oct 2019 21:21:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1571944912; bh=BRoqCm63mHtM8SExxutDcjdz40VDf+9ON2UAwcmLBYg=; h=From:To:Subject:Date:From; b=E81U9tJKXpQpP8YvShTB7Q4tTbMyIkjoXhN4S1gY500hj3+P927omK5//5AG/OmOV gfiv2i2DBBni2R7LVn8R2tRHbb91wjzIkhNjno/3oTjnNT94ccwJUyI4rFeZAU7kv4 +LjT8tPj47MP3amZpyuSk9zKptHAxH8F2aM4nFJpxfwkiJNeXSHakOkKm81B7hUS4R bxfZhdvmmsHRiIBem77p8PHhb0etPfrH2brXbJRLFsbtPSGkH+ajCO602Xp8U2mhPn 3LoOAXmotEVOOta3IQq8VknwbtY59syJydLSZekANlUrAibvlzARZiVkawjfBgPFO0 dpW9Y+9KmjOwQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 46zcYp3vVbz9rxL; Thu, 24 Oct 2019 21:21:50 +0200 (CEST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:170145 Archived-At: Hello Per Per Starb=C3=A4ck writes: > With emacs 26.3. > > There are two related bugs which makes python-shell-send-defun > sometimes not send the right contents. > > =3D=3D reproduce the first one =3D=3D > > $ 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