OK - thanks Do you have methods for working around this. It makes editing tedious. One technique is run hist with -n and cut and paste the lines back into ipython. Are there other approaches?
rhh On Mar 12, 2:29 am, "Ville M. Vainio" <[email protected]> wrote: > On Thu, Mar 12, 2009 at 11:20 AM, rhh <[email protected]> wrote: > > > Has anyone seen the following behavior: > > > I create a leo node with python code > > I push it to ipython > > it executes the code > > the lines are visible with hist > > the lines are not available with the keyboard buffer (up down keys) > > I recall the line using %repr > > it is inserted on the current line but has a # appended at the > > beginning > > > This always happens when I push from Leo > > It never happens when I enter lines in Ipython directly > > This is an ipython problem - the lines from leo are run like ipython > macros (with ip.runlines), which prepends # to every line. It's an > intricate issue that's meant to keep native history and "raw" history > in sync. > > -- > Ville M. Vainiohttp://tinyurl.com/vainio --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~----------~----~----~----~------~----~------~--~---
