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#25067: #25067 Emacs pretest 25.1.91 - ipython completion Date: Sat, 04 Feb 2017 09:39:46 -0500 Message-ID: <877f56ow99.fsf@users.sourceforge.net> References: <87bmuiq0tf.fsf@users.sourceforge.net> <83zii28hc5.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1486219155 15096 195.159.176.226 (4 Feb 2017 14:39:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 4 Feb 2017 14:39:15 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: eflanigan00@hotmail.com, 25067@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 04 15:39:11 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 1ca1Ud-0003kB-4L for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Feb 2017 15:39:11 +0100 Original-Received: from localhost ([::1]:39603 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ca1Ui-00071V-OW for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Feb 2017 09:39:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ca1Ub-00071Q-Fk for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2017 09:39:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ca1UX-0004Bq-Fi for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2017 09:39:09 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57392) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ca1UX-00049s-CL for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2017 09:39:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ca1UT-00061Q-Qn for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2017 09:39:01 -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: Sat, 04 Feb 2017 14:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25067 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25067-submit@debbugs.gnu.org id=B25067.148621912523124 (code B ref 25067); Sat, 04 Feb 2017 14:39:01 +0000 Original-Received: (at 25067) by debbugs.gnu.org; 4 Feb 2017 14:38:45 +0000 Original-Received: from localhost ([127.0.0.1]:55591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ca1UD-00060u-7h for submit@debbugs.gnu.org; Sat, 04 Feb 2017 09:38:45 -0500 Original-Received: from mail-io0-f181.google.com ([209.85.223.181]:32768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ca1UA-00060g-VM for 25067@debbugs.gnu.org; Sat, 04 Feb 2017 09:38:43 -0500 Original-Received: by mail-io0-f181.google.com with SMTP id v96so38015435ioi.0 for <25067@debbugs.gnu.org>; Sat, 04 Feb 2017 06:38:42 -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=FnMogi4M5olDvEdpaclxELbFGFDkJZs1TvHNZ+joHVE=; b=i8ltaiyCudee5s0LDz7PZCwF6IaekcSWEpIcy936lyIjU1nooj7WTBcjWES20mbGe5 a579yjcixcckfDGccBNzqjj9uU5zuaFxMSy5oOfksQ0ZtHO2psUv3xQsHUehTshff/pw JQO/zwXp3IupFfQtfNke5aG86CSZzOB1MLoG9h7pGpJEq5KUiQMVAsQ5wg9Ny5Ra3CJc cnMjPbGBwJOWxu095PJkFXk1wTNaAHII1vs/KpIgbqQoDas+Xrlu/4YJS6MvjbLls1HE KjzEJOYKMOlXooEIRRxVcv37TLCudXZKAJ2z90FSUoGSynVll71RJnQh2dkt+itNifQZ 8ucQ== 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=FnMogi4M5olDvEdpaclxELbFGFDkJZs1TvHNZ+joHVE=; b=WoPg0i+GW5a94toOgHmCTKf2vofjco3aTVMZT2HSUCPuG7voGKJwhsiwV3s2+EAnVq 4vXKXloOfDGWG6a/1aKyIdKAgDLXgPIeeOamhHdvNH6DIStpUS5XIZ475Bmwq4xu+nlf sEofDa6YBQzMYV/JRBZ0gfflLYYwz+nDCMDa8SG5FJwxJPBMcNn1v+x3MeAhhwB3i2jZ lVr+VoWgX6nw85zIAQojcFqzthbXZhbD8Sn5qg76uF8jpCnGiVaiVfrzEkN785YevLn7 Dy4s9qMbECElHMRqfIrI9UEqBKDgce0aOhbo0mAxTpLKEF+E2jSLCqRseis3Q8eb3swY KB1Q== X-Gm-Message-State: AMke39k/vGoy9XcjAmp+zoZ3srRhTQcs7YZaq7mOhPSxdYMGCtCqv7XxVSGgjKBRtLwQEA== X-Received: by 10.107.132.100 with SMTP id g97mr1337729iod.174.1486219117449; Sat, 04 Feb 2017 06:38:37 -0800 (PST) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id a99sm4454309ioj.7.2017.02.04.06.38.36 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 04 Feb 2017 06:38:36 -0800 (PST) In-Reply-To: <83zii28hc5.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 04 Feb 2017 10:56:26 +0200") 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:128952 Archived-At: Eli Zaretskii writes: >> From: npostavs@users.sourceforge.net >> Date: Fri, 03 Feb 2017 19:03:40 -0500 >> Cc: "25067@debbugs.gnu.org" <25067@debbugs.gnu.org> >> >> The behaviour from 25.1 can be restored by doing >> >> (add-to-list 'python-shell-completion-native-disabled-interpreters >> "ipython") >> >> So it looks like the problem is the fix for #24401 which enables native >> completion work for python 3.5, also enables it for ipython, but native >> completion doesn't actually work for ipython. > > Is there any safe way to fix this for Emacs 25.2? I think the patch below is safe. Although I can't say that I understand what "native completion" actually means. --- i/lisp/progmodes/python.el +++ w/lisp/progmodes/python.el @@ -3255,8 +3255,10 @@ python-shell-completion-string-code "Completion string code must work for (i)pdb.") (defcustom python-shell-completion-native-disabled-interpreters - ;; PyPy's readline cannot handle some escape sequences yet. - (list "pypy") + ;; PyPy's readline cannot handle some escape sequences yet. Native + ;; completion was found to be non-functional for IPython (see + ;; Bug#25067). + (list "pypy" "ipython") "List of disabled interpreters. When a match is found, native completion is disabled." :version "25.1"