Re: Status report and a big surprise

2020-01-23 Thread Edward K. Ream
On Thursday, January 23, 2020 at 5:49:48 AM UTC-5, Edward K. Ream wrote: *> A simple script uses asttokens to replace all of the previous several month's work!* I have just updated the unit tests that compares running times of the TOG class and asttokens. The code in leoAst.py is almost three

Re: ENB: Why didn't I, and black and fstring, use asttokens?

2020-01-23 Thread Edward K. Ream
On Thursday, January 23, 2020 at 6:58:33 AM UTC-5, Edward K. Ream wrote: This Engineering Notebook post explains why deep knowledge of the problem > domain was needed to get to the surprising script. This post also explains > some parts of the script in detail. > ... The Aha: yesterday I saw

Re: Leo for organizing notes?

2020-01-23 Thread Matt Wilkie
> > I have one specific question: Can I have a Leo file appear as a > headline in another Leo file, so I can hotkey the headline and have the > separate file appear? If so, can I assume I can get infinite > "drilldown?" It would be great to have a "master" Leo file from which I > can get to

Re: Problem with "@@" headlines?

2020-01-23 Thread Edward K. Ream
On Tue, Jan 21, 2020 at 1:45 PM John Hutchinson wrote: > > Having a tree > > @asis _foo.txt > @@ Headline > Some text > > and trying to save the file gives the error [snip] > Thanks for this report. I have just created #1480 for

Re: mini update and leoBridge Newbie question

2020-01-23 Thread Edward K. Ream
On Wed, Jan 22, 2020 at 7:07 PM FĂ©lix wrote: > (mini update for those following this vscode extension : Still working on > leo integration into vscode I'm currently re-doing the clone/insert/delete > functions to my satisfaction for the 3rd time before making a release to > the master branch

Re: Leo for organizing notes?

2020-01-23 Thread Chris George
Hi Steve, I never discovered a way to do that. In fact, for the first seven years of using Leo, I used only one Leo file to organize my life and handle all of my different writing projects. Chris On Thu, Jan 23, 2020 at 12:26 AM Steve Litt wrote: > On Sat, 18 Jan 2020 17:44:51 -0800 > Chris

Re: Programming now feels like playing a video game!

2020-01-23 Thread Edward K. Ream
On Thu, Jan 23, 2020 at 7:51 AM john lunzer wrote: > Not quite exact. The precise and important difference is that in almost > all video games somebody else has written the unit and coverage tests for > you. Writing the tests and coverage yourself would be akin to setting your > own goals which

Re: Programming now feels like playing a video game!

2020-01-23 Thread john lunzer
Not quite exact. The precise and important difference is that in almost all video games somebody else has written the unit and coverage tests for you. Writing the tests and coverage yourself would be akin to setting your own goals which is rare in video games. If the goal is to make

Travelling, and other plans

2020-01-23 Thread Edward K. Ream
Rebecca and I will be leaving Florida tomorrow. I expect to spend about 5 days on the road, so we should arrive back in Madison by February 1. When I arrive home the first task will be to complete the split/join logic in the Orange class. This will complete #1440. It would be unbearable to

ENB: Why didn't I, and black and fstring, use asttokens?

2020-01-23 Thread Edward K. Ream
I said that all the work on #1440 has been valuable, even though a simple script might use asttokens to do everything that the code in leoAst.py does. This Engineering Notebook post explains why deep knowledge of the problem domain was needed to get to the surprising script. This post also

Status report and a big surprise

2020-01-23 Thread Edward K. Ream
Work is going well on the last part of #1440 . The last task is to use this data while joining several lines into one longer line. The Orange class now have access to all needed data. Some of this data comes from tokens, some from the ast

Re: Leo for organizing notes?

2020-01-23 Thread Steve Litt
On Tue, 21 Jan 2020 10:04:39 -0800 (PST) Israel Hands wrote: > Hi Andy, > > File Menu / Read/Write Files / Read-file-into-node will suck in the > file you point it at. Leo won't understand a word file so start with > your text files. What if he wants the original file to be separate, and just

Re: Leo for organizing notes?

2020-01-23 Thread Steve Litt
On Sat, 18 Jan 2020 17:44:51 -0800 Chris George wrote: > On Sat, Jan 18, 2020 at 3:36 PM andyjim wrote: > > My intended usage for Leo is organizing notes & ideas. I'm raising > > my hand here because perhaps Leo's outlining/organizing > > capabilities may be what I need. I'm hoping folks here