From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Maximilian Matthe Newsgroups: gmane.emacs.help Subject: Re: Windows shell + PortablePython Date: Mon, 21 Oct 2013 12:44:27 +0200 Message-ID: <874n8aucms.fsf@googlemail.com> References: <878uxnt0t6.fsf@googlemail.com> <526503E9.1030001@easy-emacs.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1382352304 19977 80.91.229.3 (21 Oct 2013 10:45:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2013 10:45:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 21 12:45:08 2013 Return-path: Envelope-to: geh-help-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 1VYCyx-0004wH-Cm for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Oct 2013 12:45:07 +0200 Original-Received: from localhost ([::1]:39297 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYCyw-0007FE-Vm for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Oct 2013 06:45:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49705) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYCyc-0007F1-R7 for help-gnu-emacs@gnu.org; Mon, 21 Oct 2013 06:44:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYCyW-0006xi-N1 for help-gnu-emacs@gnu.org; Mon, 21 Oct 2013 06:44:46 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:58323) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYCyW-0006xX-Fs for help-gnu-emacs@gnu.org; Mon, 21 Oct 2013 06:44:40 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VYCyU-0004cz-G5 for help-gnu-emacs@gnu.org; Mon, 21 Oct 2013 12:44:38 +0200 Original-Received: from wb0026.dip.tu-dresden.de ([141.76.108.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Oct 2013 12:44:38 +0200 Original-Received: from Maxi.Matthe by wb0026.dip.tu-dresden.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 21 Oct 2013 12:44:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: wb0026.dip.tu-dresden.de User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:n5SaFBtGBGPFtJnQF9KGTLKrXVI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:94124 Archived-At: Andreas Röhler writes: > Am 21.10.2013 11:45, schrieb Maximilian Matthe: >> Hi, >> >> I'm forced to use a Windows machine, and I want to use Python from >> within Emacs. I'm also forced to use PortablePython since I have no >> admin rights here. Here's my problem: >> >> When I run M-x shell and type "python", the python interpreter starts, >> but no output is redirected to the emacs shell buffer (e.g. there is >> no >>> at the prompt, and no version information after the interpreter >> start). The input I send is also redirected to python, however, no output is >> shown in the shell buffer. When I close python with quit(), the control >> still is not returned to the shell. >> >> What can be the problem here? >> >> Regards, Max >> >> >> > > Not that sure WRT to python.el, with python-mode.el it's better to load python-mode first, than start the interpreter. > > From a pure shell try python -i Hi! the problem is independent of python-mode. it appears in the simple shell (M-x shell) when I run python interactively inside it.