From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Per =?UTF-8?Q?Starb=C3=A4ck?= Newsgroups: gmane.emacs.bugs Subject: bug#37828: 26.3; python-shell-send-defun doesn't find the (whole) definition Date: Thu, 31 Oct 2019 07:32:06 +0100 Message-ID: References: <87imoene43.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="000000000000d9c1f805962f02bc" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="222575"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37828@debbugs.gnu.org To: Tomas Nordin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 31 08:14:09 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 1iQ4en-000viV-8D for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Oct 2019 08:14:09 +0100 Original-Received: from localhost ([::1]:47042 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQ4el-0005ED-JR for geb-bug-gnu-emacs@m.gmane.org; Thu, 31 Oct 2019 03:14:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43979) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQ412-0006BO-1d for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2019 02:33:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iQ410-0006OR-UA for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2019 02:33:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43226) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iQ410-0006Ns-Q7 for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2019 02:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iQ410-0004ep-K8 for bug-gnu-emacs@gnu.org; Thu, 31 Oct 2019 02:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Per =?UTF-8?Q?Starb=C3=A4ck?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 31 Oct 2019 06:33:02 +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.157250354717860 (code B ref 37828); Thu, 31 Oct 2019 06:33:02 +0000 Original-Received: (at 37828) by debbugs.gnu.org; 31 Oct 2019 06:32:27 +0000 Original-Received: from localhost ([127.0.0.1]:52047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQ40R-0004e0-3l for submit@debbugs.gnu.org; Thu, 31 Oct 2019 02:32:27 -0400 Original-Received: from mail-wr1-f41.google.com ([209.85.221.41]:43183) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQ40O-0004dm-N0 for 37828@debbugs.gnu.org; Thu, 31 Oct 2019 02:32:25 -0400 Original-Received: by mail-wr1-f41.google.com with SMTP id n1so4887861wra.10 for <37828@debbugs.gnu.org>; Wed, 30 Oct 2019 23:32:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fSDF8hCkDYTcTZbMZubHS98Eor4Zn9YkxVReSowSdlk=; b=X4xWa/t1/FbwZ2DfJ8eTW4DPXQHlOCjbsNGMoCxWg8UbnksF0c+70q5Nrx1TCQmeD5 cDUmJXaz1DWCHX04rN/9C+v/YnP+5e4yczLLcH036L+x7F0By+ThsGYZLjlwnyP6q3a9 UWnyt1iTwMopwS74qaxP3FhVRrzPQvB/CRJIAiAZVDnnuq9Bxky/eg6ewr667R4HtX0A nI+EWKr0smcxh/yKb+Ni1HGplDZUcRIEyaGP48ex1VaSKAraSmX4+NQLXK1wH0J/6lsi y2rKzHDv+vfciFOZls5IJoGXpc6QWIDAOuoJePQ/7ylSr1u9GCnOYQ0IsVM4p5G55rSA 781g== X-Gm-Message-State: APjAAAUAyj3k58lcGMwPKdX82bi7AzajqBBUOPE86s1d9HhnyzD9sS9y zfdgmOF827P5ZdZztLz93xsAbSRJGDcG4QAPP9U= X-Google-Smtp-Source: APXvYqwPm/Gz2MSe/PKCdaCaSgYv/jIpbBBpBDETx2l1k9M1icGkmWvHw0/C+SdCgXGDL9ENeOinCRs30KPDRzj9CqY= X-Received: by 2002:a5d:4112:: with SMTP id l18mr3771872wrp.123.1572503538994; Wed, 30 Oct 2019 23:32:18 -0700 (PDT) In-Reply-To: <87imoene43.fsf@fliptop.i-did-not-set--mail-host-address--so-tickle-me> 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:170499 Archived-At: --000000000000d9c1f805962f02bc Content-Type: text/plain; charset="UTF-8" > I think this is reported by Bug#30822 and fixed in master. Thanks! Now I have had time to compare with the trunk. The first part of the bug is indeed fixed, but not the second part: Here is an updated patch made against the trunk. (There are only two new lines.) --000000000000d9c1f805962f02bc Content-Type: text/plain; charset="US-ASCII"; name="patch.txt" Content-Disposition: attachment; filename="patch.txt" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_k2ebzduv0 JCBkaWZmIC11IHB5dGhvbi5lbCBweXRob24tZml4ZWQuZWwKLS0tIHB5dGhvbi5lbAkyMDE5LTEw LTMwIDIxOjQyOjE3LjU2OTkyODkzNiArMDEwMAorKysgcHl0aG9uLWZpeGVkLmVsCTIwMTktMTAt MzEgMDc6MjM6NTAuMDg3OTczMTU4ICswMTAwCkBAIC0zMTc4LDI3ICszMTc4LDI5IEBACiB1c2Vy LWZyaWVuZGx5IG1lc3NhZ2UgaWYgdGhlcmUncyBubyBwcm9jZXNzIHJ1bm5pbmc7IGRlZmF1bHRz IHRvCiB0IHdoZW4gY2FsbGVkIGludGVyYWN0aXZlbHkuIgogICAoaW50ZXJhY3RpdmUgKGxpc3Qg Y3VycmVudC1wcmVmaXgtYXJnIHQpKQotICAoc2F2ZS1leGN1cnNpb24KLSAgICAocHl0aG9uLXNo ZWxsLXNlbmQtcmVnaW9uCi0gICAgIChwcm9nbgotICAgICAgIChlbmQtb2YtbGluZSAxKQotICAg ICAgICh3aGlsZSAoYW5kIChvciAocHl0aG9uLW5hdi1iZWdpbm5pbmctb2YtZGVmdW4pCi0gICAg ICAgICAgICAgICAgICAgICAgIChiZWdpbm5pbmctb2YtbGluZSAxKSkKLSAgICAgICAgICAgICAg ICAgICAoPiAoY3VycmVudC1pbmRlbnRhdGlvbikgMCkpKQotICAgICAgICh3aGVuIChub3QgYXJn KQotICAgICAgICAgKHdoaWxlIChhbmQKLSAgICAgICAgICAgICAgICAgKGVxIChmb3J3YXJkLWxp bmUgLTEpIDApCi0gICAgICAgICAgICAgICAgIChpZiAobG9va2luZy1hdCAocHl0aG9uLXJ4IGRl Y29yYXRvcikpCi0gICAgICAgICAgICAgICAgICAgICB0Ci0gICAgICAgICAgICAgICAgICAgKGZv cndhcmQtbGluZSAxKQotICAgICAgICAgICAgICAgICAgIG5pbCkpKSkKLSAgICAgICAocG9pbnQt bWFya2VyKSkKLSAgICAgKHByb2duCi0gICAgICAgKG9yIChweXRob24tbmF2LWVuZC1vZi1kZWZ1 bikKLSAgICAgICAgICAgKGVuZC1vZi1saW5lIDEpKQotICAgICAgIChwb2ludC1tYXJrZXIpKQot ICAgICBuaWwgIDs7IG5vb3AKLSAgICAgbXNnKSkpCisgIChsZXQgKChzdGFydGluZy1wb3MgKHBv aW50KSkpCisgICAgKHNhdmUtZXhjdXJzaW9uCisgICAgICAocHl0aG9uLXNoZWxsLXNlbmQtcmVn aW9uCisgICAgICAgKHByb2duCisgICAgICAgICAoZW5kLW9mLWxpbmUgMSkKKyAgICAgICAgICh3 aGlsZSAoYW5kIChvciAocHl0aG9uLW5hdi1iZWdpbm5pbmctb2YtZGVmdW4pCisgICAgICAgICAg ICAgICAgICAgICAgICAgKGJlZ2lubmluZy1vZi1saW5lIDEpKQorICAgICAgICAgICAgICAgICAg ICAgKD4gKGN1cnJlbnQtaW5kZW50YXRpb24pIDApKSkKKyAgICAgICAgICh3aGVuIChub3QgYXJn KQorICAgICAgICAgICAod2hpbGUgKGFuZAorICAgICAgICAgICAgICAgICAgIChlcSAoZm9yd2Fy ZC1saW5lIC0xKSAwKQorICAgICAgICAgICAgICAgICAgIChpZiAobG9va2luZy1hdCAocHl0aG9u LXJ4IGRlY29yYXRvcikpCisgICAgICAgICAgICAgICAgICAgICAgIHQKKyAgICAgICAgICAgICAg ICAgICAgIChmb3J3YXJkLWxpbmUgMSkKKyAgICAgICAgICAgICAgICAgICAgIG5pbCkpKSkKKyAg ICAgICAgIChwb2ludC1tYXJrZXIpKQorICAgICAgIChwcm9nbgorICAgICAgICAgKGdvdG8tY2hh ciBzdGFydGluZy1wb3MpCisgICAgICAgICAob3IgKHB5dGhvbi1uYXYtZW5kLW9mLWRlZnVuKQor ICAgICAgICAgICAgIChlbmQtb2YtbGluZSAxKSkKKyAgICAgICAgIChwb2ludC1tYXJrZXIpKQor ICAgICAgIG5pbCA7OyBub29wCisgICAgICAgbXNnKSkpKQogCiAoZGVmdW4gcHl0aG9uLXNoZWxs LXNlbmQtZmlsZSAoZmlsZS1uYW1lICZvcHRpb25hbCBwcm9jZXNzIHRlbXAtZmlsZS1uYW1lCiAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRlbGV0ZSBtc2cpCg== --000000000000d9c1f805962f02bc--