unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@gnu.org>
To: Arne Babenhauserheide <arne_bab@web.de>
Cc: 10167@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	[thread overview]
Message-ID: <877h0dd1oj.fsf@gnu.org> (raw)
In-Reply-To: <1410245.gZC2tulmG3@fluss> (Arne Babenhauserheide's message of "Sun, 11 Dec 2011 20:57:21 +0100")

Arne Babenhauserheide <arne_bab@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.





      reply	other threads:[~2012-01-27  7:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-30 10:39 bug#10167: 23.3; python.el code execution does not add the buffers directory to the pythonpath Arne Babenhauserheide
2011-12-09 20:24 ` Glenn Morris
2011-12-11 19:57   ` Arne Babenhauserheide
2012-01-27  7:50     ` Chong Yidong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877h0dd1oj.fsf@gnu.org \
    --to=cyd@gnu.org \
    --cc=10167@debbugs.gnu.org \
    --cc=arne_bab@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).