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 23:19:23 +0300 Message-ID: References: <87lgl4m5uo.fsf@users.sourceforge.net> <87a81km1d4.fsf@users.sourceforge.net> <877ewom0id.fsf@users.sourceforge.net> <874lrrnaxq.fsf@users.sourceforge.net> <871smvn9oo.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114c90a6d8ec460559f52a3b" X-Trace: blaine.gmane.org 1506284473 22634 195.159.176.226 (24 Sep 2017 20:21:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 24 Sep 2017 20:21:13 +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 22:21:08 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 1dwDOj-0005Qq-OG for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Sep 2017 22:21:06 +0200 Original-Received: from localhost ([::1]:39294 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwDOr-00048y-0r for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Sep 2017 16:21:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwDOl-00048d-CM for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 16:21:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dwDOg-0007fY-FB for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 16:21:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47867) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dwDOg-0007fO-B6 for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 16:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dwDOg-0002ge-5Z for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 16:21: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 20:21: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.150628441110248 (code B ref 28580); Sun, 24 Sep 2017 20:21:02 +0000 Original-Received: (at 28580) by debbugs.gnu.org; 24 Sep 2017 20:20:11 +0000 Original-Received: from localhost ([127.0.0.1]:56548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwDNr-0002fD-Hl for submit@debbugs.gnu.org; Sun, 24 Sep 2017 16:20:11 -0400 Original-Received: from mail-qk0-f179.google.com ([209.85.220.179]:53001) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwDNp-0002f1-LH for 28580@debbugs.gnu.org; Sun, 24 Sep 2017 16:20:10 -0400 Original-Received: by mail-qk0-f179.google.com with SMTP id o77so4986847qke.9 for <28580@debbugs.gnu.org>; Sun, 24 Sep 2017 13:20:09 -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=vU79SKNCkqZUPOO3HZie4Qs8V0csCcd/EXBgCFPrkQw=; b=oGbJQiApDBE7qpVu5iwKcapRx9c5wPJNPg2K0HY1nlajaZIGg6HptX0Wogt+XuQN0P NXq2IjDzrWuTN0WXCQ+1Hf4n0jpKRFuTcI+eVrP10lHD02Y78I/Mmn4AG+20Dg53jr8R RpzE8H7htEMTQpXZEYY6Q9TFY6N7C4ONIkEi9uvNvdL+AEQzcMy2uXft0G0FzfEg5xrv wCG9uQoGrC7CDveWljj6g0C2XKUxmWarYdiLs4oMtI6sy0C3vDSPlE/uZON9emkTGeYW RBnD+AxwmjFJ/UPwUm1POQ8C3dnj6eo+5pQ2YMxqCoTzMMMQHMr6XvsF9xXJBljKMrYr TRkw== 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=vU79SKNCkqZUPOO3HZie4Qs8V0csCcd/EXBgCFPrkQw=; b=HYgYWO6mQODNIk4Nm2jS++nY6DlxHr/ahI4Wtk+j+JWg438kLD48iQUfmBQvv/AZqB dNE7jxcwWttQ+7r4v0Bj2zRojjzROoucKlGmyU3xJ+Ogvrc808gPngeWYw0FfoWgBLCH 11YmHIW3SrdEHdCEBSii+GEmIwMXXmfYRllr2opmReEwz4Ll6YphvjxkwflaMNg8aZu3 DE9n8xfs5WauULmHGUmpvWuKeP2t5l9gKVlm5fDp6eT866+irhxKbuHDcEixGoX+VR3A tfH/9ZZvoZ/XG8u6ELHYHRtyxn42DCsJPsIl5itIUtlxDSPoiVyUmTu/nC3BBx/voMRo zZNQ== X-Gm-Message-State: AHPjjUjBoJfYPRRbvK2s21Sk887p4lXGTHq01gg3fC5h7lSn4bDFe1P1 /BuKusi/Is6xEWbTGv2TxmbLKofN5pCOPF2XaWc= X-Google-Smtp-Source: AOwi7QAXJlAwmiQkaQokanayaWxxKY8qQhjP5G5ZKeiqkViQGkI1vL1mqurSC+MkDM6mVgMeIhh2V1wTPAw+rsAjl8g= X-Received: by 10.55.10.77 with SMTP id 74mr7700318qkk.226.1506284404270; Sun, 24 Sep 2017 13:20:04 -0700 (PDT) Original-Received: by 10.200.43.88 with HTTP; Sun, 24 Sep 2017 13:19:23 -0700 (PDT) In-Reply-To: <871smvn9oo.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:137361 Archived-At: --001a114c90a6d8ec460559f52a3b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 2017-09-24 23:06 GMT+03:00 Noam Postavsky : > Darn. What if you M-x run-python and then use C-c C-c in "t.py" to send > it to the shell? > Bad news: the message Warning (python): Your =E2=80=98python-shell-interpreter=E2=80=99 doesn=E2= =80=99t seem to support readline, yet =E2=80=98python-shell-completion-native-enable=E2=80=99 was t= and "py" is not part of the =E2=80=98python-shell-completion-native-disabled-interpreters= =E2=80=99 list. Native completions have been disabled locally. still appears when I M-x run-python Good news: python shell buffer now displays >>> python.el: native completion setup loaded after I eval the contents of t.py. Actually, it displays the message upon loading, and completion does work. I must have believed the warning rather than checked, after install of pyreadline. Why the message appears? It tells that completion is disabled which is not true! Best wishes, Andrey Paramonov --001a114c90a6d8ec460559f52a3b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
2017= -09-24 23:06 GMT+03:00 Noam Postavsky <npostavs@users.sourcef= orge.net>:
Darn.=C2=A0 What if you M-x run-python and then use C-c C-c in "t.p= y" to send
it to the shell?

Bad news: the messa= ge
Warning (pyth= on): Your =E2=80=98python-shell-interpreter=E2=80=99 doesn=E2=80=99t seem t= o support readline, yet =E2=80=98python-shell-completion-native-enable=E2= =80=99 was t and "py" is not part of the =E2=80=98python-shell-co= mpletion-native-disabled-interpreters=E2=80=99 list.=C2=A0 Native completio= ns have been disabled locally.=C2=A0
still appears when I M-x run= -python

Good news: python shell buffer now display= s
>>> python.el: native completion setup loaded
after I eval the contents of t.py. Actually, it displays the m= essage upon loading, and completion does work. I must have believed the war= ning rather than checked, after install of pyreadline.

=
Why the message appears? It tells that completion is disabled which is= not true!

Best wishes= ,
Andrey Paramonov

--001a114c90a6d8ec460559f52a3b--