GNU bug report logs - #10167
23.3; python.el code execution does not add the buffers directory to the pythonpath.

Previous Next

Package: emacs;

Reported by: arne_bab <at> web.de

Date: Wed, 30 Nov 2011 10:41:01 UTC

Severity: normal

Found in version 23.3

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Chong Yidong <cyd <at> gnu.org>
To: Arne Babenhauserheide <arne_bab <at> web.de>
Cc: Glenn Morris <rgm <at> gnu.org>, 10167 <at> debbugs.gnu.org
Subject: bug#10167: 23.3; python.el code execution does not add the buffers directory to the pythonpath.
Date: Fri, 27 Jan 2012 15:50:20 +0800
Arne Babenhauserheide <arne_bab <at> web.de> writes:

> That’s quite inconvenient… would it not be cleaner to remove "" before 
> importing emacs.py and add the buffer dir afterwards? 
>
> For anything which is not emacs.py it is clear that it will be run. 
> Alternatively add a new command which adds the buffer-dir - as I did for 
> python-send-buffer.

If you are not about having cwd in the python path, set
python-remove-cwd-from-path to nil.




This bug report was last modified 13 years and 121 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.