From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#25753: 25.2; Python mode shell interaction not working 100% Date: Sun, 19 Feb 2017 20:30:57 -0500 Message-ID: <87wpclir72.fsf@users.sourceforge.net> References: <83lgt6xbr0.fsf@gnu.org> <87poifjsw2.fsf@users.sourceforge.net> <87lgt2rz4j.fsf@aol.com> <87d1eermwb.fsf@aol.com> <878tp1sw7y.fsf@aol.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1487554221 7571 195.159.176.226 (20 Feb 2017 01:30:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 20 Feb 2017 01:30:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: 25753@debbugs.gnu.org, "Charles A. Roelli" To: Live System User Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 20 02:30:16 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfcnr-0000rh-1G for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Feb 2017 02:30:11 +0100 Original-Received: from localhost ([::1]:35622 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfcnv-0006w9-6O for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Feb 2017 20:30:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfcno-0006uG-Ar for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 20:30:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfcnj-0005m3-BK for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 20:30:08 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48462) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cfcnj-0005lu-7S for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 20:30:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cfcni-0007kZ-Rd for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2017 20:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Feb 2017 01:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25753 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25753-submit@debbugs.gnu.org id=B25753.148755419629749 (code B ref 25753); Mon, 20 Feb 2017 01:30:02 +0000 Original-Received: (at 25753) by debbugs.gnu.org; 20 Feb 2017 01:29:56 +0000 Original-Received: from localhost ([127.0.0.1]:46661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfcnb-0007jl-MW for submit@debbugs.gnu.org; Sun, 19 Feb 2017 20:29:55 -0500 Original-Received: from mail-io0-f196.google.com ([209.85.223.196]:33629) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cfcnZ-0007jY-9q for 25753@debbugs.gnu.org; Sun, 19 Feb 2017 20:29:53 -0500 Original-Received: by mail-io0-f196.google.com with SMTP id d198so3479362ioe.0 for <25753@debbugs.gnu.org>; Sun, 19 Feb 2017 17:29:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Of41X0zdqB0sQgclUJ67e9bSHHSsAIcOkYiVKN6TXeg=; b=gWdCTt5vP+CTyge4QZ/BvoQq84kGX/Qg1hw6oh+NcmHJHdsscmorG/8DNJDi2+Pcom Oxico9U4AGOYGMcNgbUy6eUA7fiFt6dTcYcVFlXNLDooKsOfyiLe+t89TQNegyiHJGEY ujUfPELR70rzR85UxPKJ0G0wBM5jSkjwkyP2J9TqJwsq8un6k98hs94MecmT7oJjpHJv w/k5eimYaohNAdUWWf1HYtTsyi7EEGme1jfod6mkxlk7M9f/078OAe5kxHxokI5fjy7J T7aBSj4LFRHnn/Rjy+xBgYh5bcEYrTHKtHQiIlFvQj1a8zNpOZFyl610GvfpTsvygha0 HFPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=Of41X0zdqB0sQgclUJ67e9bSHHSsAIcOkYiVKN6TXeg=; b=ItKiQu85/Zl0UtBZDdLIbRqccR8SYNX0Z7VVFrDhfxv7nZ8hGWfvwBv0P/Djxym9VK EG+e1F/As2ng/KfaA6jsO9v1/7Rb25yOvu+JLZZtkC0cpw3LqWbQW8qIb+Zd9ApiBjrz xvOVijO6UvSY1QqIYe8PGlbzVBMzeduyyu7fi9ozvIW2Sz/v2oBtKLk32dURp2Fmfr9n 0+7aOHJDvl3zKuvoQ/c3eNrD0SEeeo6/PNTV6MMMoZ3aYHuaKA50tgUOozFha1Lr0h26 PliUAmnanWz3BLzp0yFBIQAFUcUG39xZgf57t4HvmKNt0GVKuKPTG8jCcwHghrERYY7j 4Otw== X-Gm-Message-State: AMke39luvDspq0a+FhP2ezBcJBR/ysoayuOZtD5zBquHnt8/j9kJR609RLqzuI411uES9g== X-Received: by 10.107.164.232 with SMTP id d101mr15793885ioj.182.1487554187687; Sun, 19 Feb 2017 17:29:47 -0800 (PST) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id d128sm4332179ite.23.2017.02.19.17.29.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 19 Feb 2017 17:29:47 -0800 (PST) In-Reply-To: <878tp1sw7y.fsf@aol.com> (Live System User's message of "Sun, 19 Feb 2017 16:32:17 -0500") 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: 208.118.235.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:129559 Archived-At: Live System User writes: > I was already using that (wrapped in a "with-eval-after-load > 'python") from: > > https://github.com/jorgenschaefer/elpy/issues/887#issuecomment-275175119 > > to no avail. Can you test the python code from python-shell-completion-native-setup outside of Emacs, e.g., save it to a file called 'native-completion.py' and then run 'python -i native-completion.py' and then type an underscore and hit . With 2.7.13, I get $ python2 -i native-completion.py python.el: native completion setup loaded >>> ___package__ __PYTHON_EL_native_completion_setup __name__ __doc__ __import__ __debug__ 0__dummy_completion__ 1__dummy_completion__ >>> _ With python 3.6.0 I get: $ python -i native-completion.py python.el: native completion setup loaded >>> ___name__ __doc__ __package__ __loader__ __spec__ __annotations__ __cached__ __PYTHON_EL_native_completion_setup __build_class__ __import__ __debug__ 0__dummy_completion__ 1__dummy_completion__ >>> _