unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2252: python-load-file in python.el does not seem to work
@ 2009-05-03 14:42 Chong Yidong
  2009-05-03 16:26 ` Mikko Huhtala
  0 siblings, 1 reply; 2+ messages in thread
From: Chong Yidong @ 2009-05-03 14:42 UTC (permalink / raw)
  To: Mikko Huhtala; +Cc: 2252

> I've ran inferior Python from both 23.0.90 and today's (2009-02-03)
> CVS version. Python-load-file (C-c C-l) does not seem to do anything
> in either.

It seems to work for me, using the following recipe:

  touch foo.py
  emacs -Q foo.py
  C-c C-l RET
  C-x b *Python* RET

  >>> foo.__name__
  'foo'
  >>>

Do you see something different?






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#2252: python-load-file in python.el does not seem to work
  2009-05-03 14:42 bug#2252: python-load-file in python.el does not seem to work Chong Yidong
@ 2009-05-03 16:26 ` Mikko Huhtala
  0 siblings, 0 replies; 2+ messages in thread
From: Mikko Huhtala @ 2009-05-03 16:26 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 2252

Chong Yidong writes:
 > It seems to work for me, using the following recipe:

You're right, it does work for me, too. The difference with my
previous test is that I started inferior Python first and loaded the
file after that. In Emacs 22, the file is loaded into the running
inferior Python session, but in 23 a new Python session is
initialized. Silly me did not even notice the second inferior Python
buffer. I tried to use the one I had open in a window, which obviously
didn't get the loaded file. Further C-c C-l commands do the right
thing and load the file into the same running Python session.

I'm assuming that this new behaviour is by design? I suppose it is
more logical that what Emacs 22 does, but it might trip some old
users.

If the new behaviour is what the developers intended, then this should
be closed as 'not a bug'.






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-05-03 16:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-03 14:42 bug#2252: python-load-file in python.el does not seem to work Chong Yidong
2009-05-03 16:26 ` Mikko Huhtala

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