Skip to content

Magic save and macro missing newlines, line ranges don't match prompt numbers. #245

Closed
takluyver opened this Issue Jan 13, 2011 · 2 comments

1 participant

@takluyver
IPython member

%save and %macro are broken in trunk, probably related to refactoring of the history.

  • Commands are joined together without newlines, resulting in broken syntax
  • Because previous history is restored when starting IPython, the numbers passed work from the first item in history, not the first item in the current session.
@takluyver
IPython member

Put the newlines in here: https://github.com/takowl/ipython/tree/issue-245

The history numbers might require some more thought.

@takluyver
IPython member

See pull request ipython/ipython#261.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.