So from my understading the problem is that if there is another *Python*
buffer around,
it will just be used without changing the current directory.
Apparently my attempt to "cd" didn't have any effect, so maybe we need
to pass the path
of the master py file to the real "execute" function, does it make sense?
Another partially unrelated thing, I noticed the two following:
(defun py-execute-buffer-no-switch (&optional async)
"Like `py-execute-buffer', but ignores setting of
`py-shell-switch-buffers-on-execute', output-buffer will being switched to."
(defun py-execute-buffer-switch (&optional async)
"Like `py-execute-buffer', but ignores setting of
`py-shell-switch-buffers-on-execute', output-buffer will being switched
to. "
Which
- are different functions but with the same docstring
- are never called from anywhere and not bound to any keys..
So are they useful at all maybe?
_______________________________________________
Python-mode mailing list
Python-mode@python.org
http://mail.python.org/mailman/listinfo/python-mode