GNU bug report logs -
#4822
run-python in progmodes/python.el hardcodes interpreter args
Previous Next
Reported by: Ole Laursen <olau <at> iola.dk>
Date: Wed, 28 Oct 2009 16:40:06 UTC
Severity: normal
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4822 in the body.
You can then email your comments to 4822 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4822
; Package
emacs
.
(Wed, 28 Oct 2009 16:40:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ole Laursen <olau <at> iola.dk>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Wed, 28 Oct 2009 16:40:07 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Hi!
python.el hardcodes the arguments passed to the Python shell in
run-python on line 1555.
Suggested fix: use python-which-args which is defined in python.el
(without documentation by the way).
My problem: I'm trying to make the built-in Python repl work with
Django (Ruby on Rails clone that's very popular in the Python
community). With Django, you can get a shell by running
python manage.py shell
in the root of a project. It does some magic to setup things
correctly. So I've written a small snippet to locate the manage.py
file and use the above command if found, but this is completely
defeated because run-python insists on appending -i which the
manage.py script doesn't recognize.
--
Ole Laursen
http://www.iola.dk/
Information forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#4822
; Package
emacs
.
(Thu, 29 Oct 2009 10:05:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ole Laursen <olau <at> iola.dk>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Thu, 29 Oct 2009 10:05:05 GMT)
Full text and
rfc822 format available.
Message #10 received at 4822 <at> emacsbugs.donarmstrong.com (full text, mbox):
Hi,
I still think it's a bug, but even when I fix it, I can't get my
particular use case to work anyway. It turns out to be easier to
replicate what "python manage.py shell" is doing inside Emacs by
setting a couple of environment variables.
So you might want to close the bug again. Sorry.
--
Ole Laursen
http://www.iola.dk/
bug closed, send any further explanations to Ole Laursen <olau <at> iola.dk>
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Sat, 31 Oct 2009 02:30:21 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Sat, 28 Nov 2009 15:24:13 GMT)
Full text and
rfc822 format available.
This bug report was last modified 15 years and 202 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.