Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

%edit magic not working on windows xp in qtconsole #799

Closed
reckoner opened this issue Sep 16, 2011 · 4 comments
Closed

%edit magic not working on windows xp in qtconsole #799

reckoner opened this issue Sep 16, 2011 · 4 comments
Milestone

Comments

@reckoner
Copy link

I built the latest ipython from github and the %edit magic does not work. It creates the temporary file with the correct contents but these contents are not being input into the qtconsole session. However, it works as expected with the plain console-based ipython.

Thanks!

@takluyver
Copy link
Member

When you say "not being input", do you mean that it doesn't load an editor, or that it doesn't execute the code after you've finished editing?

@reckoner
Copy link
Author

It correctly loads the editor and the changes are saved in the tmp
file, but the contents of the file are not executed when editing is
completed.

sorry for the confusion.

On Friday, September 16, 2011 2:20:58 PM, Thomas wrote:

When you say "not being input", do you mean that it doesn't load an editor, or that it doesn't execute the code after you've finished editing?

@takluyver
Copy link
Member

That's OK. %edit actually works differently by design in the Qt console, because using a GUI editor lends itself better to multitasking, so we don't try to run automatically when you close the editor. There was some discussion about this, and whether not executing should be the default in the terminal as well. I can't remember if a definite conclusion was reached, so you might want to bring it up on the mailing list.

@minrk
Copy link
Member

minrk commented Oct 14, 2011

Closing, as this is actually behaving as designed.

@minrk minrk closed this as completed Oct 14, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants