From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.bugs Subject: bug#22897: 25.1.50; run-python warning with python3 Date: Thu, 03 Mar 2016 17:46:24 +0000 Message-ID: <87wppj5ua7.fsf@udel.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1457027254 20580 80.91.229.3 (3 Mar 2016 17:47:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Mar 2016 17:47:34 +0000 (UTC) To: 22897@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 03 18:47:23 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1abXLO-0003Gd-BT for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Mar 2016 18:47:22 +0100 Original-Received: from localhost ([::1]:36588 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abXLN-0002n3-Gq for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Mar 2016 12:47:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abXL8-0002Vh-Ad for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2016 12:47:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abXL4-0006AD-7c for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2016 12:47:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abXL4-0006A9-4G for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2016 12:47:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1abXL3-0005ah-Tr for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2016 12:47:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mark Oteiza Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Mar 2016 17:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22897 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.145702720121461 (code B ref -1); Thu, 03 Mar 2016 17:47:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Mar 2016 17:46:41 +0000 Original-Received: from localhost ([127.0.0.1]:60422 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abXKj-0005a4-As for submit@debbugs.gnu.org; Thu, 03 Mar 2016 12:46:41 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43618) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1abXKh-0005Zr-FM for submit@debbugs.gnu.org; Thu, 03 Mar 2016 12:46:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abXKb-00062z-AH for submit@debbugs.gnu.org; Thu, 03 Mar 2016 12:46:34 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:39230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abXKb-00062v-7H for submit@debbugs.gnu.org; Thu, 03 Mar 2016 12:46:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34581) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abXKa-0001mI-5R for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2016 12:46:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abXKW-00061B-1E for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2016 12:46:32 -0500 Original-Received: from mail-qg0-x22f.google.com ([2607:f8b0:400d:c04::22f]:36523) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abXKV-000614-P1 for bug-gnu-emacs@gnu.org; Thu, 03 Mar 2016 12:46:27 -0500 Original-Received: by mail-qg0-x22f.google.com with SMTP id u110so23024750qge.3 for ; Thu, 03 Mar 2016 09:46:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=+nngMmII67BqBMwjdrTTLI5UkrCdKReuLuk8mJvYWLE=; b=nqnoeS9OwSrao+RrM20hVy7QgFr7fYRzahqe8fcbeGD3UsQgkgA/mTjg0a6Rv5idT9 D1sFOhwsKWx0xwan7UHufuKp7ZvWKdckrQDdSUzAs+RKHFQTLGcTAenQIYXwu7ykFByW gQn/0sfAdCRHmCorYCOsYqlUoenPqwoipHeJRwGNSBeZupHco4Mu/ncGDzp9p/ULUvV4 W/ep21AkOTvO549wO/LloUms7BdwtgvFZGZK2yc99gggC/XsOK3C5TapNBuRLWWjzcaC 2ssQ0CzeS4gkUaugBOOT8e624ufZYjjBcbjGW9Szr0MdRtsg0enZN7KAsd67pDi9VRoS 2dBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=+nngMmII67BqBMwjdrTTLI5UkrCdKReuLuk8mJvYWLE=; b=N1d5mYGxjolom78p0xvVT3kBp3HJL77EjspR0BmLEEFkg5xfzHes68pcvUsX++djID vcDqTEblXA8oNygarm7ApmLahSEn58aUPiCHqBMJmVlzoVeg4WVwcAK/SZU9bVV8irig YVnnYjN6GA9ZCLtPBdnJ6L9LDEimraxY/pQ5yJE1BgU64jQzRGxp/TD5fymuBlUmb290 EeLfURO1k6oZFkIlOvPI6V9gKS0ABg2gk6Yq36QjCNQk3e9sA6H8kYOQk13Ov5ie4XXY 6Lkv69SzqIPAnu+j6qGpzvPuawM7aK5PJGs1wA40bSAMpQULbnPFJwJw7VqMqxGLtdfR jLAg== X-Gm-Message-State: AD7BkJL+ewQvRW+dcsoqhNQ5O9H1R8DSyKDbQmEbqzvx8iZQHxZAx/+4DqSn5B/wAAjoiXJN X-Received: by 10.140.20.39 with SMTP id 36mr4647981qgi.15.1457027187168; Thu, 03 Mar 2016 09:46:27 -0800 (PST) Original-Received: from holos.localdomain (wifi-roaming-128-4-119-71.host.udel.edu. [128.4.119.71]) by smtp.gmail.com with ESMTPSA id r6sm5334850qhb.49.2016.03.03.09.46.25 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Mar 2016 09:46:25 -0800 (PST) Original-Received: by holos.localdomain (Postfix, from userid 1000) id 984406621D; Thu, 3 Mar 2016 17:46:24 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:114353 Archived-At: Hi, When doing M-x run-python from emacs -Q, I get a warning. The contents of *Warnings*: 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=E2=80=99 wa= s t and "python" is not part of the =E2=80=98python-shell-completion-native-disabled-interpreters=E2=80=99 li= st. Native completions have been disabled locally. The contents of *Python*: Python 3.5.1 (default, Dec 7 2015, 12:58:09) [GCC 5.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> python.el: native completion setup loaded >>>=20 It appears that (python-shell-completion-native-setup) succeeds up to the last form, (python-shell-completion-netive-try), which returns nil. Changing the empty string in the latter function to "imp" for example yields a completion. Further, while (py-sh-co-native-try) returns a load of completions when python-shell-interpreter is "python2" and returns none when "python3", hitting TAB in an empty prompt with either python just inserts a tab, which seems odd. Inserting "imp", hitting TAB, DELing "imp" and hitting TAB again appears to do grab all completions with python2, but will show 0__dummy_completion__ 1__dummy_completion__ in *Completions* In GNU Emacs 25.1.50.1 (x86_64-unknown-linux-gnu) of 2016-02-23 built on pathos Repository revision: 96e32bbb736ec6e0a7278ae864098c7c812b05a4 Configured using: 'configure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib --localstatedir=3D/var --without-gconf --with-modules --with-x-toolkit=3Dno 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dsandybridge -O2 -pipe -fstack-protector-strong --param=3Dssp-buffer-size=3D4' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2 LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB X11 MODULES Important settings: value of $LC_COLLATE: C value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix