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: Mon, 25 Sep 2017 00:37:38 +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> <87y3p3ltzx.fsf@users.sourceforge.net> <87tvzrlslv.fsf@users.sourceforge.net> <87o9pzlr5n.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c192166ade41d0559f642fb" X-Trace: blaine.gmane.org 1506289157 6515 195.159.176.226 (24 Sep 2017 21:39:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 24 Sep 2017 21:39:17 +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 23:39:12 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 1dwEcF-0001CJ-U4 for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Sep 2017 23:39:08 +0200 Original-Received: from localhost ([::1]:39551 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwEcN-0002WN-As for geb-bug-gnu-emacs@m.gmane.org; Sun, 24 Sep 2017 17:39:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dwEcF-0002VA-Rs for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 17:39:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dwEcB-0003fM-2x for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 17:39:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47988) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dwEcA-0003fC-VC for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 17:39:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dwEcA-0004Z3-G8 for bug-gnu-emacs@gnu.org; Sun, 24 Sep 2017 17:39: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 21:39: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.150628910717504 (code B ref 28580); Sun, 24 Sep 2017 21:39:02 +0000 Original-Received: (at 28580) by debbugs.gnu.org; 24 Sep 2017 21:38:27 +0000 Original-Received: from localhost ([127.0.0.1]:56669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwEba-0004YG-Mx for submit@debbugs.gnu.org; Sun, 24 Sep 2017 17:38:26 -0400 Original-Received: from mail-qt0-f178.google.com ([209.85.216.178]:53694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwEbY-0004Y2-EX for 28580@debbugs.gnu.org; Sun, 24 Sep 2017 17:38:24 -0400 Original-Received: by mail-qt0-f178.google.com with SMTP id 47so5231786qts.10 for <28580@debbugs.gnu.org>; Sun, 24 Sep 2017 14:38:24 -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=PjlyhCasSWSU83VWZFkD1pidIKFgqJceBcnbw6fvlo0=; b=UO6Yf3yXeRdaxkXyOrAbcLgo4b7IN+GSMSP1NZJsX4YLU+6rzCfEO6bxGFDH+TUgUh oP5Xe2jvsXrGeezABnu9c0xDNCqQeu8HKcByszZZ/CyiJa22wi9dEn2Oo35lFk1jDuNA Sq2aVQrwsKYCdvcuEE8t0gklU1nDmgHme/q/xfWs9N6Qf5vrPVZh9D2Oq+UvQuajuuNR eYLX27aTCvX67d4VDey8xWrs8HHzij2TdGB7B3N8MkuEyvWXJ5tfavOLv0VO0/edB4ww 1GdLj9LrOyVtXf6r6FA746oIqc5HeQZaHK1DOEHlRIm6FAvMpVF1lxvwfhw46sKGCpj3 o91w== 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=PjlyhCasSWSU83VWZFkD1pidIKFgqJceBcnbw6fvlo0=; b=FkqzninjFIeh1w/8XHQFgkYFD2IDSmlNkohceYEBfEA+7deEHkBPNzSJSWnVOLxbGC u/DNdo5NCutZrb6KO5hu5NoCKMGomjg0fKRGpF8S/VEiTP1wtM886gs6DXFfC2UXVDrl KJFwTh1wctkkkkRltpf9WwYCWgYkBV8C0vhBMCcAyZBFqT50lRu1pcYc3FvLGqMjd6s3 tdPWPxxrjxNMqDeXo0xB90m8glArw1Vl/LHjzmkVVxxQIckL1rtBAttuQprSLFaoROX2 LLWxZ+4NbrJNIBsQtZWxAt+nB9S4xrfu0sfxtr335rJFJgv9l85ngM4W0NEOYFh6qJXl 4rpA== X-Gm-Message-State: AHPjjUiffJTUb1Rai8ks1z85ELrMaooXn7IzC16dKtHHR7aBMF3dR1z4 mNmYUJnFPa+bS4TfnBNHNaWatddNZ20WHygJ/g0= X-Google-Smtp-Source: AOwi7QANGlbh67Ycg1I5ZD2zae5C9j/pdAvu5FKu4sM3yG8yF7OyrjSHqa0OHtsdkOz7P6tXL32o+y6BOTw/hsUMOI4= X-Received: by 10.237.59.221 with SMTP id s29mr8700331qte.27.1506289099068; Sun, 24 Sep 2017 14:38:19 -0700 (PDT) Original-Received: by 10.200.43.88 with HTTP; Sun, 24 Sep 2017 14:37:38 -0700 (PDT) In-Reply-To: <87o9pzlr5n.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:137373 Archived-At: --94eb2c192166ade41d0559f642fb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 2017-09-25 0:31 GMT+03:00 Noam Postavsky : > =D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9 =D0=9F=D0=B0=D1=80=D0=B0=D0=BC=D0=BE= =D0=BD=D0=BE=D0=B2 writes: > > > Unfortunately my distrib doesn't seem to have the source el-files :-( > > You can find it here: http://git.savannah.gnu.org/ > cgit/emacs.git/tree/lisp/progmodes/python.el?h=3Demacs-25.3 > > Make sure to evaluate the changed source *after* you've loaded the > builtin python.el. > I'll try to find time to debug it. > > Try the recipe in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D > > 28051#8 > > and see if you suffer from that bug. > > > > Hm, the bug and the one mentioned inside describe bad behavior of > > Python2, but in my case it's the opposite :-/ > > Well really it describes the bad behaviour of the fallback completion. > It just happens that Emacs 25 uses the fallback completion method with > Python2 on Windows. > I do not use Python2 on Windows. Rather, I use Python3 on Windows. And it seems my completion is also "fallback" (which for me reads "suboptimal"). I'd prefer best ;-) Best wishes, Andrey Paramonov --94eb2c192166ade41d0559f642fb Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
2017= -09-25 0:31 GMT+03:00 Noam Postavsky <npostavs@users.sourcefo= rge.net>:
= =D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9 =D0=9F=D0=B0=D1=80=D0=B0=D0=BC=D0=BE= =D0=BD=D0=BE=D0=B2 <cmr.pent@gmail= .com> writes:

> Unfortunately my distrib doesn't seem to have the source el-files = :-(

You can find it here: http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/<= wbr>progmodes/python.el?h=3Demacs-25.3

Make sure to evaluate the changed source *after* you've loaded the
builtin python.el.

I'll try to find= time to debug it.
=C2=A0
>=C2=A0 =C2=A0 =C2=A0Try the recipe in https://de= bbugs.gnu.org/cgi/bugreport.cgi?bug=3D
>=C2=A0 =C2=A0 =C2=A028051#8
>=C2=A0 =C2=A0 =C2=A0and see if you suffer from that bug.
>
> Hm, the bug and the one mentioned inside describe bad behavior= of
> Python2, but in my case it's the opposite :-/

Well really it describes the bad behaviour of the fallback completio= n.
It just happens that Emacs 25 uses the fallback completion method with
Python2 on Windows.

I do not use Python= 2 on Windows. Rather, I use Python3 on Windows. And it seems my completion = is also "fallback" (which for me reads "suboptimal"). I= 'd prefer best ;-)

Best wishes,
Andr= ey Paramonov

--94eb2c192166ade41d0559f642fb--