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#25753: 25.2; Python mode shell interaction not working 100% Date: Sat, 25 Feb 2017 09:34:10 -0500 Message-ID: <877f4efifx.fsf@users.sourceforge.net> References: <83lgt6xbr0.fsf@gnu.org> <87poifjsw2.fsf@users.sourceforge.net> <87poibgfyw.fsf@users.sourceforge.net> <87o9xtf0q6.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1488033265 28287 195.159.176.226 (25 Feb 2017 14:34:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 25 Feb 2017 14:34:25 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) Cc: 25753@debbugs.gnu.org To: charles@aurox.ch (Charles A. Roelli) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 25 15:34:14 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 1chdQL-0006BV-He for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Feb 2017 15:34:13 +0100 Original-Received: from localhost ([::1]:42916 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chdQP-0007uo-SH for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Feb 2017 09:34:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chdQF-0007ui-Lx for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2017 09:34:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chdQA-0001P4-ND for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2017 09:34:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57098) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1chdQA-0001P0-Ju for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2017 09:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1chdQA-0007q0-Bt for bug-gnu-emacs@gnu.org; Sat, 25 Feb 2017 09:34:02 -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, 25 Feb 2017 14:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25753 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25753-submit@debbugs.gnu.org id=B25753.148803318630066 (code B ref 25753); Sat, 25 Feb 2017 14:34:02 +0000 Original-Received: (at 25753) by debbugs.gnu.org; 25 Feb 2017 14:33:06 +0000 Original-Received: from localhost ([127.0.0.1]:55297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chdPG-0007os-Lp for submit@debbugs.gnu.org; Sat, 25 Feb 2017 09:33:06 -0500 Original-Received: from mail-io0-f195.google.com ([209.85.223.195]:36082) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chdPE-0007oM-8j for 25753@debbugs.gnu.org; Sat, 25 Feb 2017 09:33:04 -0500 Original-Received: by mail-io0-f195.google.com with SMTP id w10so1557101iod.3 for <25753@debbugs.gnu.org>; Sat, 25 Feb 2017 06:33:04 -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=uSyPRL4KVKfVTaY03SqAgCABP6aLVROItNzl+kSv7CE=; b=vOnUul5kXpZ5yGYzTlmhstMT8SiS/L0re3VeBwZH7vpojwP/PKTY9LvCkCt5t9BsR8 elXuegTpezktvAJbj/HJQQflvW+ewABApYC0fw8esykfiUr/dUMpn7PlYKpdUnIcn0Tl aPY6BYhDhk756WMap5WEQJgdGv4dh6mYQvs+N6sYIwjiZZEevuFWx3CzDK005IuHtew4 uCEJGCup46vvje+a5KOoDZIKuPsprcT1erYIvjpqT0s2wGDhyLpC/1Xx7sUp3rBk4Z+X M1QZXT/E+65WaqJfUGHMyGIK7CEr2/2Q62YXDrA5W9UYxTdFiQOd2ggqBaYj0tHM8iv3 t4jA== 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=uSyPRL4KVKfVTaY03SqAgCABP6aLVROItNzl+kSv7CE=; b=iWslQzPXR0UnzCUWfYl4aEkSyqMyCyBr2ec4uWTQB9lWASsLgJDgEzDirFqeCyKdSO XKuT+npRkEewUlSbi2xDd3iJKYyUjN2GSvVksojdZqQVhEIgjel4weh7pp6RzzSDW3GG JU1BXj9d/d+OLNcyw9NyG+nQCY+KGd5Ay+/EBCNTWrNn6cELlnhJqzCp6JfdrY3G85/X Am4m65MaBrF/x5IugMH+aS7Cb+GObBTZUPbEsutyJ386sW0Tn5b6nt2oXJudoPlmN/w5 qVjfrrFoUfhNGdiA+X/h77aCJqrKFKVJ6W2gd9VZALMxdx+H1Q2PVku+yRtbkHhQT3l7 NOZQ== X-Gm-Message-State: AMke39lcEkOSnqJzBsuTryueEeVZWryjs3XDKuwTR2YY8T3br4czJg53X1jBTmBKY7od/g== X-Received: by 10.107.21.6 with SMTP id 6mr6729777iov.116.1488033178438; Sat, 25 Feb 2017 06:32:58 -0800 (PST) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id m77sm2041164ita.16.2017.02.25.06.32.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 25 Feb 2017 06:32:57 -0800 (PST) In-Reply-To: (Charles A. Roelli's message of "Sat, 25 Feb 2017 15:11:56 +0100") 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:129786 Archived-At: charles@aurox.ch (Charles A. Roelli) writes: > Could you please evaluate these forms with a running instance of > Python in Emacs? My output follows each form. It seems like the Mac > version of Python echoes the last command sent, and maybe python.el > does not expect this? Yes, I was going to ask if you also get this echoing for commands typed in at the prompt or is it just the support functions? Possibly setting `comint-process-echoes' could help, though I don't understand why there is echoing in the first place. Here is what I get: (python-shell-send-string-no-output "import os\nimport sys") ;=> "" (python-shell-send-string-no-output "import os; import sys") ;=> "" (python-ffap-module-path "os") ;=> "/usr/lib/python3.6/os.py" By the way, it was reported[1] that using "homebrew" python avoids these issues, apparently that build uses GNU readline instead of libedit[2]. [1]: https://github.com/jorgenschaefer/elpy/issues/887#issuecomment-282215656 [2]: https://github.com/jorgenschaefer/elpy/issues/887#issuecomment-282332143