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

Comments

Projects
None yet
3 participants
@reckoner

reckoner commented Sep 16, 2011

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

This comment has been minimized.

Show comment
Hide comment
@takluyver

takluyver Sep 16, 2011

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?

Member

takluyver commented Sep 16, 2011

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

This comment has been minimized.

Show comment
Hide comment
@reckoner

reckoner Sep 16, 2011

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?

reckoner commented Sep 16, 2011

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

This comment has been minimized.

Show comment
Hide comment
@takluyver

takluyver Sep 16, 2011

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.

Member

takluyver commented Sep 16, 2011

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

This comment has been minimized.

Show comment
Hide comment
@minrk

minrk Oct 14, 2011

Member

Closing, as this is actually behaving as designed.

Member

minrk commented Oct 14, 2011

Closing, as this is actually behaving as designed.

@minrk minrk closed this Oct 14, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment