From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9_?= =?UTF-8?Q?=D0=9F=D0=B0=D1=80=D0=B0=D0=BC=D0=BE=D0=BD=D0=BE=D0=B2?= Newsgroups: gmane.emacs.bugs Subject: bug#28580: python.el: native completion setup failed Date: Sun, 24 Sep 2017 22:57:41 +0300 Message-ID: References: <87lgl4m5uo.fsf@users.sourceforge.net> <87a81km1d4.fsf@users.sourceforge.net> <877ewom0id.fsf@users.sourceforge.net> <874lrrnaxq.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113c5f5e3c50bc0559f4ddc6" X-Trace: blaine.gmane.org 1506283154 6028 195.159.176.226 (24 Sep 2017 19:59:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 24 Sep 2017 19:59:14 +0000 (UTC) Cc: 28580@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 24 21:59:07 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 1dwD3R-0000tk-Id for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Sep 2017 21:59:05 +0200 Original-Received: from localhost ([::1]:39241 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwD3X-0008Jf-3b for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Sep 2017 15:59:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwD3R-0008Ja-QT for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 15:59:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dwD3O-0005oR-Oc for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 15:59:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47845) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dwD3O-0005oE-KW for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 15:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dwD3O-00029s-5g for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 15:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9_?= =?UTF-8?Q?=D0=9F=D0=B0=D1=80=D0=B0=D0=BC=D0=BE=D0=BD=D0=BE=D0=B2?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Sep 2017 19:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28580 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28580-submit@debbugs.gnu.org id=B28580.15062831098250 (code B ref 28580); Sun, 24 Sep 2017 19:59:02 +0000 Original-Received: (at 28580) by debbugs.gnu.org; 24 Sep 2017 19:58:29 +0000 Original-Received: from localhost ([127.0.0.1]:56526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwD2r-000290-2w for submit@debbugs.gnu.org; Sun, 24 Sep 2017 15:58:29 -0400 Original-Received: from mail-qk0-f172.google.com ([209.85.220.172]:48961) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwD2p-00028k-PC for 28580@debbugs.gnu.org; Sun, 24 Sep 2017 15:58:28 -0400 Original-Received: by mail-qk0-f172.google.com with SMTP id a128so4971625qkc.5 for <28580@debbugs.gnu.org>; Sun, 24 Sep 2017 12:58:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=M8EZG2E7LE+1BI2tz88l74DtxTBmusGvrFhf3hgXstw=; b=BOu9rphiTl9gBpnOkyLrCpG29GeS04eqnzqHfgBWPOm+k72AjxkXAkGEflOWPpM0dQ T/z+sBjHxK0/8xJr/SS8525coqPXUQIwTzvQlpRVtjJKgQxCp/45NDValvReD5HCclTh ZDlCuw3cdnm6mGuxi5tuU/ay5MEtrbFspPeGiqlt6F69ivFVUEJFvx2/za1Z5v/ibyvh FIFMeTisrECcjHKxBBd74jF2/CqiNTZ00F9XFwLbA9yC0nBVFZECkLKbMU7YnE2EuTbA WaJJaenjYzQf7qNDZ4eBRvAHUmhXdi+hbQ0x+PCjVMJchQSsvtPNsVKYOTtOd7hL4vh2 ATzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=M8EZG2E7LE+1BI2tz88l74DtxTBmusGvrFhf3hgXstw=; b=RmsfWHf0pp5Mu2PraonLrqhpgAF/99nSaL/ZJ/r/KuxqIEfG60DkEyngMeWYU3U66e yczb8CxP+qMmhYWq0uoOpabUWFgoqoRXfl9KpJnNHVKqZEFerhwPCyr7FlykmG/Z59e8 WZlTkXUffXAir/BTff8bjrsV1ULQfFVV0gKp7DwuFANp2v6a/MauLKtLQ8rfq1vMkoWd Tu9vbHs2zUKHuk80UYAjzXVKgyo8Ra2vAtEm1RofavUVNz9w62O+kAMqyd2Mldhcy78R eOqimRDCOGT7QVfFO3bNUJQHE/2gdJ/4CDuUoO+ycjtAnaPlNFfGgrGIOoUVD8cq/up/ VbJw== X-Gm-Message-State: AHPjjUhdP9WOxdxCc8lyFv1B0sqhPKp4sP5mfg6qBIPnFLG13yPzeVaS fnOql5F3TyF3ZR6AsPieUBIcukTHHxWlRdBWFrE= X-Google-Smtp-Source: AOwi7QCtnd3GwN/W1yioU6vw1lyfIkVuKs6EaHavRLlM7GINULCLycU5bDu2Bj/Vruhuyf3CJKhO0l66FZNw1WXrPwM= X-Received: by 10.55.203.210 with SMTP id u79mr7046022qkl.189.1506283102161; Sun, 24 Sep 2017 12:58:22 -0700 (PDT) Original-Received: by 10.200.43.88 with HTTP; Sun, 24 Sep 2017 12:57:41 -0700 (PDT) In-Reply-To: <874lrrnaxq.fsf@users.sourceforge.net> 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:137359 Archived-At: --001a113c5f5e3c50bc0559f4ddc6 Content-Type: text/plain; charset="UTF-8" 2017-09-24 22:39 GMT+03:00 Noam Postavsky : > Right, that all looks fine, so the question is what goes wrong from the > Emacs side. What do you get from evaluating this in Emacs: > > (call-process > "py" nil '(t t) nil > "-i" "t.py") > > Does it make any difference if you use python-shell-with-environment? > > (python-shell-with-environment > (call-process > "py" nil '(t t) nil > "-i" "t.py")) > Hmm, in both cases I get correct report (eval-region from *scratch* buffer): (python-shell-with-environment (call-process "py" nil '(t t) nil "-i" "t.py"))python.el: native completion setup loaded >>> But run-python still has completion not working :-( Best wishes, Andrey Paramonov --001a113c5f5e3c50bc0559f4ddc6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
2017= -09-24 22:39 GMT+03:00 Noam Postavsky <npostavs@users.sourcef= orge.net>:
Right, that all looks fine, so the question is what goes wrong from the<= br> Emacs side.=C2=A0 What do you get from evaluating this in Emacs:

=C2=A0 =C2=A0 (call-process
=C2=A0 =C2=A0 =C2=A0"py" nil '(t t) nil
=C2=A0 =C2=A0 =C2=A0"-i" "t.py")

Does it make any difference if you use python-shell-with-environment?

=C2=A0 =C2=A0 (python-shell-with-environment
=C2=A0 =C2=A0 =C2=A0 (call-process
=C2=A0 =C2=A0 =C2=A0 =C2=A0"py" nil '(t t) nil
=C2=A0 =C2=A0 =C2=A0 =C2=A0"-i" "t.py"))

Hmm, in both cases = I get correct report (eval-region from *scratch* buffer):
(python-shell-with-environment<= /div>
=C2=A0 =C2=A0 =C2=A0 (call-process
=C2=A0 =C2=A0 =C2=A0 =C2=A0"py" nil '= (t t) nil
=C2=A0 =C2=A0 =C2=A0 =C2=A0"= -i" "t.py"))python.el: native completion setup loaded
<= div class=3D"gmail_extra">>>>=C2=A0

But run-python still has completion = not working :-(

Best wishes,
Andrey Paramonov

--001a113c5f5e3c50bc0559f4ddc6--