[Python-mode] py-execute-buffer and CWD

Andreas Röhler andreas.roehler at online.de
Wed Nov 2 07:27:31 CET 2011


Am 01.11.2011 22:51, schrieb Georg Brandl:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Am 01.11.2011 22:50, schrieb Andrea Crotti:
>> On 11/01/2011 08:53 PM, Andreas Röhler wrote:
>>> cd is a shell command
>>>
>>> you can't mix that into Emacs Lisp.
>>>
>>> BTW ipython shell would understand "cd" it, but that's another item.
>>>
>>> Maybe give a example, what you trying to do, so we can look how to solve
>>> that task.
>>>
>>> BTW answered here, as you are not indicating a bug as thought at first
>>> glance. My mistake...
>>>
>> Mm I don't think so: cd is an interactive compiled Lisp function in
>> `files.el'.
>>
>> And anyway, I think is quite a bug, because if I run a python script I
>> should expect that it runs in the same current directory...
>
> I quite agree.
>
> Georg

so follows up here:

https://bugs.launchpad.net/python-mode/+bug/884739


More information about the Python-mode mailing list