unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Windows shell + PortablePython
@ 2013-10-21  9:45 Maximilian Matthe
  2013-10-21 10:37 ` Andreas Röhler
  0 siblings, 1 reply; 4+ messages in thread
From: Maximilian Matthe @ 2013-10-21  9:45 UTC (permalink / raw)
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Windows shell + PortablePython
  2013-10-21  9:45 Windows shell + PortablePython Maximilian Matthe
@ 2013-10-21 10:37 ` Andreas Röhler
  2013-10-21 10:44   ` Maximilian Matthe
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Röhler @ 2013-10-21 10:37 UTC (permalink / raw)
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Windows shell + PortablePython
  2013-10-21 10:37 ` Andreas Röhler
@ 2013-10-21 10:44   ` Maximilian Matthe
  2013-10-21 12:18     ` Andreas Röhler
  0 siblings, 1 reply; 4+ messages in thread
From: Maximilian Matthe @ 2013-10-21 10:44 UTC (permalink / raw)
  To: help-gnu-emacs

Andreas Röhler <andreas.roehler@easy-emacs.de> 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. 




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Windows shell + PortablePython
  2013-10-21 10:44   ` Maximilian Matthe
@ 2013-10-21 12:18     ` Andreas Röhler
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Röhler @ 2013-10-21 12:18 UTC (permalink / raw)
  To: help-gnu-emacs

Am 21.10.2013 12:44, schrieb Maximilian Matthe:
> Andreas Röhler <andreas.roehler@easy-emacs.de> 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.
>
>
>

Hmm, seems worth a bug report then.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-21 12:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-21  9:45 Windows shell + PortablePython Maximilian Matthe
2013-10-21 10:37 ` Andreas Röhler
2013-10-21 10:44   ` Maximilian Matthe
2013-10-21 12:18     ` Andreas Röhler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).