Re: 1d3e6bc: The CompareLeoOutlines class for comparing .leo files

2018-02-16 Thread Edward K. Ream
On Monday, February 12, 2018 at 1:58:57 AM UTC-6, Edward K. Ream wrote: > > *Comparing documentation is still hard* > > ...Documentation can only be evaluated by looking at the entire outline. > Diffs just fragment the "viewing experience". So you could say that, *for > documentation only*, th

Re: 1d3e6bc: The CompareLeoOutlines class for comparing .leo files

2018-02-14 Thread Edward K. Ream
On Tue, Feb 13, 2018 at 6:03 PM, lewis wrote: Please don't delay for me, I'm tied up with work. > ​Rev e172a45 adds the diff-and-open-leo-files command. The diff_leo_files_helper function does all the work for this command and the diff-leo-files commands. Edward -- You received this message

Re: 1d3e6bc: The CompareLeoOutlines class for comparing .leo files

2018-02-13 Thread lewis
Please don't delay for me, I'm tied up with work. I'll investigate it later :) Lewis On Wednesday, February 14, 2018 at 2:52:02 AM UTC+11, Edward K. Ream wrote: > > This should take less than an hour. If not, please ask for help. I'd like > to wrap this up today. > -- You received this messag

Re: 1d3e6bc: The CompareLeoOutlines class for comparing .leo files

2018-02-13 Thread Edward K. Ream
On Tuesday, February 13, 2018 at 9:15:30 AM UTC-6, Edward K. Ream wrote: > If you would like, please add [the 'diff-and-show-leo-files' command to leoCompare.py] *without *cutting/pasting code. That is, the old and new commands will share one or two helper functions. This should take less than

Re: 1d3e6bc: The CompareLeoOutlines class for comparing .leo files

2018-02-13 Thread Edward K. Ream
On Tue, Feb 13, 2018 at 9:15 AM, Edward K. Ream wrote: If you would like, please add this new command *without* cutting/pasting > code. That is, the old and new commands will share one or two helper > command, > ​I meant to say, one or two helper *functions*. Edward -- You received this messa

Re: 1d3e6bc: The CompareLeoOutlines class for comparing .leo files

2018-02-13 Thread Edward K. Ream
On Tue, Feb 13, 2018 at 6:22 AM, lewis wrote: > > I was suggesting a tutorial showing how to take the Diff tree script > above, which deals with specific files, and then as you described earlier > "Create a command that brings up a dialog prompting for 2 or more files to > be compared." adding th

Re: 1d3e6bc: The CompareLeoOutlines class for comparing .leo files

2018-02-13 Thread lewis
Was away from the office on phone - sorry I wasn't very clear. I was suggesting a tutorial showing how to take the Diff tree script above, which deals with specific files, and then as you described earlier "Create a command that brings up a dialog prompting for 2 or more files to be compared."

Re: 1d3e6bc: The CompareLeoOutlines class for comparing .leo files

2018-02-13 Thread Edward K. Ream
On Tue, Feb 13, 2018 at 2:35 AM, lewis wrote: > Don't do it all Edward ;) > > It might be more work but can you break the file/node selection up into a > tutorial? > ​What do you mean? Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To

Re: 1d3e6bc: The CompareLeoOutlines class for comparing .leo files

2018-02-13 Thread lewis
Don't do it all Edward ;) It might be more work but can you break the file/node selection up into a tutorial? -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo

Re: 1d3e6bc: The CompareLeoOutlines class for comparing .leo files

2018-02-13 Thread Edward K. Ream
On Tue, Feb 13, 2018 at 12:23 AM, Matt Wilkie wrote: This is really cool work Edward. I'm sorry the patient died, but the > necropsy yielded a useful tool for future work :) > ​Yeah, I'm pleased with this new way of thinking about diffs. ​ > I both love and fear scripts, sometimes simultaneous

Re: 1d3e6bc: The CompareLeoOutlines class for comparing .leo files

2018-02-12 Thread Matt Wilkie
This is really cool work Edward. I'm sorry the patient died, but the necropsy yielded a useful tool for future work :) - Create a command that brings up a dialog prompting for 2 or more files to > be compared. I'll never use this myself, but it may be useful for those > who are afraid of scrip

Re: 1d3e6bc: The CompareLeoOutlines class for comparing .leo files

2018-02-12 Thread Edward K. Ream
On Monday, February 12, 2018 at 2:20:13 AM UTC-6, Edward K. Ream wrote: - Added show_files keyword arg to diff_list_of_files, default False. > When False, the to-be-compared files are opened in a null gui, > effectively hiding them. > I'm not sure this is an old or new bug, but now the show_fi

Re: 1d3e6bc: The CompareLeoOutlines class for comparing .leo files

2018-02-12 Thread Edward K. Ream
On Monday, February 12, 2018 at 2:20:13 AM UTC-6, Edward K. Ream wrote: > I plan no further work on this code. It's time to get 5.7b2 out the door. > Naturally, I immediately thought of some more useful tasks. The following will wait until after b2: - Create a command that brings up a dialog

Re: 1d3e6bc: The CompareLeoOutlines class for comparing .leo files

2018-02-12 Thread Edward K. Ream
On Monday, February 12, 2018 at 1:58:57 AM UTC-6, Edward K. Ream wrote: >This post describes the new CompareLeoOutlines class in leo/core/leoCompare.py. Rev 612e353 improves the code as follows: - Added show_files keyword arg to diff_list_of_files, default False. When False, the to-be-compa

1d3e6bc: The CompareLeoOutlines class for comparing .leo files

2018-02-11 Thread Edward K. Ream
This post describes the new CompareLeoOutlines class in leo/core/leoCompare.py. Using this class, scripts may easily generate outline-based diffs for *arbitrarily many* .leo files. This is an important new pattern. Previously, only the git-diff command proved outline-based diffs. Diff trees