Re: Two birthday stories on my 70th birthday

2019-08-13 Thread Viktor Ransmayr
Hello Edward,

A belated Happy Birthday from Europe!

What a great story to read in the morning. - Thanks for sharing it with us.

With kind regards

Viktor

-- 
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-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAAeSrGJRKFqF2tSe8phmiN5OaqqUtAHRf9y1ZKDEhkew_t9ETQ%40mail.gmail.com.


Re: Question about running / driving leo 'headless' to integrate it in my own GUI

2019-08-13 Thread Robert Cholette
I started reading on vscode's extensions capabilities, and so I started 
fiddling a bit and made a skeleton expansion for now, and I have started a 
project at https://github.com/boltex/leointeg

clone, run npm install, F5 to run in vscode. You should see the icon for 
the 'leo mode' on the left activity bar, an empty outline pane, and no body 
pane for now...

Just an empty framework, started from the default expansion examples from 
microsoft. If you have python support enabled in vsxode, the python file in 
the src folder should run without errors if you right-click in the editor 
window & run in terminal... it's intended to be executed by the expansion 
to deal with leo via leoBridge.

i've outlined a bit of concepts/ideas in the readme.

I guess there's more done on the icon than anything else for now, I'll have 
time to work on it this week end :) 

cheers!

On Saturday, August 10, 2019 at 3:49:34 PM UTC-4, Robert Cholette wrote:
>
> First I'd like to apologize for just asking this on github, I didnt 
> realise here was perhaps a better place to ask this kind of thing... 
>
> Hi! Long time leo user here. I use it mainly for the 'core' features: 
> outline organisation of my code : @clean nodes, structure with @others. And 
> I alt-tab leo alongside with another editor/IDE for 
> running/debugging/compiling/linting/beautifying/etc...
>
> I dont care so much about vim/emacs integration nor dont even understand 
> what those buffers/minibuffers are and all around feel like that qt-gui 
> framework didnt age very well. (no offence meant here, as I would be 
> devastated to think I offended edream, he's like my programming 'idol')
> I also do not use @buttons and internal scripting in leo altough i can see 
> its use for some people. 
>
> I mainly use Leo for its 'file-generation'/'file-reading' (mainly @clean) 
> feature via the outline structure that it provides. Organising a program 
> with an outline, clones and @others is the best! Which also, if I may say 
> so, is Leo's 'killer feature'.
>
> So i'd like to try and integrate, or 'roll my own' leo in my other 
> favorite editor so that I have the subset of leo's features that I just 
> defined as its 'killer features' available without having Leo 'opened'. 
> Is leoBridge the way to go? ...or is there a way to start leo with no GUI 
> and have it listen for commands on a specific port for input/output of 
> commands and answers? 
>
> Many thanks in advance!!  
>

-- 
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-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/fac2cdd3-4012-4c9b-b874-b576a9077e9d%40googlegroups.com.


Re: Two birthday stories on my 70th birthday

2019-08-13 Thread Zoom.Quiet
Happy Birthday 令德华
in china there is one big theory:
if coder old 35, is can not coding great program,
but look u, double 35, is always happy hacking.

so glory
so inspirit me.

thanx for all,
Leo is upgrade my life.

Matt Wilkie  于2019年8月14日周三 上午7:30写道:
>
> Happy Birthday Edward!
>
> What a wonderful sense of delivery your daughter has (pun fully intended). 
> Verbal formula's can be trite, most especially when overused, but when held 
> back for rare occasions, especially powerful.
>
> Thank you for your gifts to the world. I really appreciate their presence 
> when I find them overlapping my explorations and studies.
>
> -matt
>
> --
> 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-editor+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/leo-editor/48d93672-863d-4974-84e7-bb9b1288bca0%40googlegroups.com.



-- 
life is pathetic, go Pythonic! 人生苦短, Python当歌!
俺: http://zoomquiet.io
授: http://creativecommons.org/licenses/by-sa/2.5/cn/
怒: 冗余不做,日子甭过!备份不做,十恶不赦!
KM keep growing environment culture which promoting organization learning!

-- 
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-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAAFijRcMTJfWX6%3DhYb8t%3D5yPgVvogfVOdH89sNrenGzaPpDi5A%40mail.gmail.com.


Re: Two birthday stories on my 70th birthday

2019-08-13 Thread Matt Wilkie
Happy Birthday Edward! 

What a wonderful sense of delivery your daughter has (pun fully intended). 
Verbal formula's can be trite, most especially when overused, but when held 
back for rare occasions, especially powerful.

Thank you for your gifts to the world. I really appreciate their presence 
when I find them overlapping my explorations and studies.

-matt

-- 
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-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/48d93672-863d-4974-84e7-bb9b1288bca0%40googlegroups.com.


Re: Two birthday stories on my 70th birthday

2019-08-13 Thread Xavier G. Domingo

Happy birthday Edward!

It's being a pleasure being a part, though little, of your life and 
walking this path with you. The love and enthusiasm in Leo *are first of 
all yours*, and this profoundly shapes the enriching atmosphere of the 
whole Leo team.


Thanks for being who you are! I'm learning from you every day.

My most sincere hug!
Xavier

El 13/08/2019 a las 18:00, Edward K. Ream escribió:

Today is my 70th birthday.  Here's how it started.

At 7 a.m. I was working in my basement office when I got a call from 
my daughter, Linda.  She wished me a happy birthday, and asked if I 
gotten her package.  I said "it's too early for a delivery."  She said 
"they said it had been delivered".  I was skeptical, but went 
upstairs.  Whom should I see, but Linda herself!  When I opened the 
door we both burst out into gales of laughter.  Btw, Linda lives in 
Seattle.  She had taken the red eye.


Later, I called my brother Speed.  As usual, we had a lovely chat.  I 
told him how excited I was that so much remains to do with Leo. At the 
end, I told him, "I love you", something I almost never say to anyone 
directly.  I told Speed that I don't much care for those actual three 
words. They're a trite formula. Much better, imo, to say, in more 
specific, ever changing ways, just how and why my life is enriched by 
those that I do love.


And so it is with you, my dears. Team Leo, with all your enthusiasms, 
questions, suggestions and invaluable contributions, are one of the 
great blessings of my life.


Edward
--
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-editor+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/f705680b-708a-45b6-a73c-2722fd29dd0a%40googlegroups.com 
.


 
	Libre de virus. www.avg.com 
 



<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>



--
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-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/8d13e92b-30f3-b663-d9ec-1aebc463bf75%40gmail.com.


Two birthday stories on my 70th birthday

2019-08-13 Thread Edward K. Ream
Today is my 70th birthday.  Here's how it started.

At 7 a.m. I was working in my basement office when I got a call from my 
daughter, Linda.  She wished me a happy birthday, and asked if I gotten her 
package.  I said "it's too early for a delivery."  She said "they said it 
had been delivered".  I was skeptical, but went upstairs.  Whom should I 
see, but Linda herself!  When I opened the door we both burst out into 
gales of laughter.  Btw, Linda lives in Seattle.  She had taken the red eye.

Later, I called my brother Speed.  As usual, we had a lovely chat.  I told 
him how excited I was that so much remains to do with Leo. At the end, I 
told him, "I love you", something I almost never say to anyone directly.  I 
told Speed that I don't much care for those actual three words. They're a 
trite formula. Much better, imo, to say, in more specific, ever changing 
ways, just how and why my life is enriched by those that I do love.

And so it is with you, my dears. Team Leo, with all your enthusiasms, 
questions, suggestions and invaluable contributions, are one of the great 
blessings of my life.

Edward

-- 
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-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/f705680b-708a-45b6-a73c-2722fd29dd0a%40googlegroups.com.


Re: Round-trip to shell script

2019-08-13 Thread vitalije
You can try md_docer.py plugin. I remember writing it for someone with similar 
problem. Using it you can define one or more transformer scripts with the 
headline like "@transformer mytransformer". This script has access to g, c, p 
and out vars. Out is a file like object. Script should write its output to out. 
Nodes with the headline like " @transform-node mytransformer(somegnx)" will 
have the output of transformation mytansformer of node with the given somegnx.

Transformations can be executed as minibuffer command or by default on every 
save.

HTH Vitalije

-- 
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-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/73f36070-d6e2-4595-bbf3-62fb15162b09%40googlegroups.com.


Re: Round-trip to shell script

2019-08-13 Thread Terry Brown
On Tue, 13 Aug 2019 08:57:03 -0700 (PDT)
Rob  wrote:

> There was also a reference to the leoscreen.py plugin, but that won't
> load w/o errors; perhaps not compatible w/ Python 3?

Not sure about Python 3 compatibility, but it works exclusively with
the `GNU screen` terminal multiplexer, a unix thing.  Very handy in
that context because you can interact with any command line driven
thing (Python, R, SQL, Bash, etc., etc.) from the Leo body pane, but no
use outside that context.

Cheers -Terry

> On Tuesday, August 13, 2019 at 11:39:08 AM UTC-4, Rob wrote:
> >
> > Thanks, will take a look.
> >
> > On Tuesday, August 13, 2019 at 11:33:33 AM UTC-4, gar wrote:
> >>
> >> Look at the plugins. 
> >> I didnt try any, but looks like 'at_produce' or 'interact' plugins
> >> are for you.
> >>
> >>>
> >>>
> 

-- 
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-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/20190813112648.392213cb%40lakeview.


Re: Round-trip to shell script

2019-08-13 Thread Rob
So, not useful for Windows, then. Same also applies to interact.py as it's 
for bash commands.

I did find that at_produce.py works (so far anyway).

Rob...

On Tuesday, August 13, 2019 at 12:26:52 PM UTC-4, Terry Brown wrote:
>
>
> Not sure about Python 3 compatibility, but it works exclusively with 
> the `GNU screen` terminal multiplexer, a unix thing.  Very handy in 
> that context because you can interact with any command line driven 
> thing (Python, R, SQL, Bash, etc., etc.) from the Leo body pane, but no 
> use outside that context. 
>
> Cheers -Terry 
>
> > On Tuesday, August 13, 2019 at 11:39:08 AM UTC-4, Rob wrote: 
> > > 
> > > Thanks, will take a look. 
> > > 
> > > On Tuesday, August 13, 2019 at 11:33:33 AM UTC-4, gar wrote: 
> > >> 
> > >> Look at the plugins. 
> > >> I didnt try any, but looks like 'at_produce' or 'interact' plugins 
> > >> are for you. 
> > >> 
> > >>> 
> > >>> 
> > 
>

-- 
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-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/edf7fa20-a5b0-491f-ac25-115618fed162%40googlegroups.com.


Re: Round-trip to shell script

2019-08-13 Thread Rob
There was also a reference to the leoscreen.py plugin, but that won't load 
w/o errors; perhaps not compatible w/ Python 3?

On Tuesday, August 13, 2019 at 11:39:08 AM UTC-4, Rob wrote:
>
> Thanks, will take a look.
>
> On Tuesday, August 13, 2019 at 11:33:33 AM UTC-4, gar wrote:
>>
>> Look at the plugins. 
>> I didnt try any, but looks like 'at_produce' or 'interact' plugins are 
>> for you.
>>
>>>
>>>

-- 
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-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/decb3c1d-aa97-4b8f-a13f-0c4ce197f48a%40googlegroups.com.


Re: Round-trip to shell script

2019-08-13 Thread Rob
Thanks, will take a look.

On Tuesday, August 13, 2019 at 11:33:33 AM UTC-4, gar wrote:
>
> Look at the plugins. 
> I didnt try any, but looks like 'at_produce' or 'interact' plugins are for 
> you.
>
>>
>>

-- 
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-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/e8b92341-c756-43d7-9c06-93e4a6c53b86%40googlegroups.com.


Re: Round-trip to shell script

2019-08-13 Thread gar
Look at the plugins.
I didnt try any, but looks like 'at_produce' or 'interact' plugins are for
you.

вт, 13 авг. 2019 г. в 18:27, Rob :

> This is probably a simple Python script, but my searches online have been
> more confusing than clarifying as I'm not experienced enough w/ Python to
> sort it all out. The few I tried didn't work.
>
> I am (re)discovering how useful pandoc is and now use it frequently w/
> stuff I write in Leo (mostly rst and md) to create .odt, docx, .tex and
> .html output. Current workflow:
>
>1. Write pandoc command line instructions in Leo (they can be quite
>long and I can save and use them again later).
>2. Copy node text to clipboard and paste into a Powershell window.
>3. Execute the pandoc command.
>4. If output is stdout, then copy output to clipboard and paste into
>another Leo node for additional work if necessary.
>
> What would be cool and convenient is do all of that with one script, as in:
>
>
>1. Copy node text containing the pandoc commands (already have a
>script for that part).
>2. Send to shell and execute.
>3. Return result back to Leo into a new node (perhaps a child, perhaps
>not).
>
> Seems there would be other use cases for sending commands to a shell and
> retrieving results back into Leo besides pandoc. Any suggestions on where
> to start?
>
> Rob...
>
> --
> 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-editor+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/leo-editor/8572044a-9fc4-4254-ba7e-6c0bdcba5f5d%40googlegroups.com
> 
> .
>

-- 
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-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAC%2B8SVzB12nktez-uPGyLbwbNi4S7PPzDZ5ytFj7JG4kY_jSAQ%40mail.gmail.com.


Round-trip to shell script

2019-08-13 Thread Rob
This is probably a simple Python script, but my searches online have been 
more confusing than clarifying as I'm not experienced enough w/ Python to 
sort it all out. The few I tried didn't work.

I am (re)discovering how useful pandoc is and now use it frequently w/ 
stuff I write in Leo (mostly rst and md) to create .odt, docx, .tex and 
.html output. Current workflow:

   1. Write pandoc command line instructions in Leo (they can be quite long 
   and I can save and use them again later).
   2. Copy node text to clipboard and paste into a Powershell window.
   3. Execute the pandoc command.
   4. If output is stdout, then copy output to clipboard and paste into 
   another Leo node for additional work if necessary.

What would be cool and convenient is do all of that with one script, as in:


   1. Copy node text containing the pandoc commands (already have a script 
   for that part).
   2. Send to shell and execute.
   3. Return result back to Leo into a new node (perhaps a child, perhaps 
   not).

Seems there would be other use cases for sending commands to a shell and 
retrieving results back into Leo besides pandoc. Any suggestions on where 
to start?

Rob...

-- 
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-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/8572044a-9fc4-4254-ba7e-6c0bdcba5f5d%40googlegroups.com.


Re: ENB: next steps for pyzo-in-leo

2019-08-13 Thread Edward K. Ream
On Tuesday, August 13, 2019 at 6:22:23 AM UTC-5, Edward K. Ream wrote:

> It should now be straightforward to *create *all of pyzo's docks in the 
pyzo_in_leo plugin. Making all those docks *functional *is another matter 
entirely...
> Melding pyzo's config code with Leo's remains, by far, the most important 
and challenging part of the pyzo-in-leo project.

Allow me to disagree with what I have just written.  Yes, config issues are 
big, but other issues might be even bigger. It's too soon to say.

Despite all the recent progress, I sometimes feel daunted. There are so 
many unknowns. The notion of "playful prototype" does help, but maybe not 
all that much ;-)  This is still a highly experimental project.

Edward

-- 
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-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/9b453760-654f-46d9-b7dd-25cefa801d2a%40googlegroups.com.


ENB: next steps for pyzo-in-leo

2019-08-13 Thread Edward K. Ream
Recent progress has been spectacular, as documented elsewhere.  It should 
now be straightforward to *create *all of pyzo's docks in the pyzo_in_leo 
plugin. Making all those docks *functional *is another matter entirely.

This post is a "thinking out loud" entry in my Engineering notebook.  Feel 
free to ignore.

*Configuration*

The notion of a config shim was a false start. Using pyzo's actual config 
code in zon.py is a big step forward.  But big challenges remain. 

*Leo's config model is not a great fit for pyzo's.* Many of Leo's config 
settings are read-only, accessible only via c.config.get* (getBool, 
getString, etc).  Leo uses c.db to read/write settings that might change 
while Leo is running.  In contrast, pyzo uses pyzo.config to both read *and* 
write settings.  The models must somehow be reconciled.

Handling every pyzo setting on a case by case basis is not a pleasant 
prospect. All changes would have to be back-ported when upgrading pyzo.

Hmm.  As I write this I see that a possible workaround would be to 
re-imagine zon.py so it does the necessary adjustments.  You could call 
this an *in-place shim*.  It's an idea worth exploring.  It would be much 
better to make all necessary changes in one place, even if zon.py becomes 
more complicated.  Otoh, it might end up simplifying zon.py in the end.  We 
shall see.

*The main window*

I'll have to keep an eye on the differences between Leo's and pyzo's main 
window. Pyzo's MainWindow class contains methods that Leo's main window 
lacks.

The existing pyzo.start function creates the main window using the 
MainWindow class, a subclass of QMainWindow.  The new 
pyzo.start_pyzo_in_leo function implicitly uses Leo's main window, 
c.frame.top, an instance of DynamicWindow.

At one point the lack of a setMainTitle method caused a crash. It doesn't 
seem to matter just at present. Iirc, pyzo_file_browser may have injected 
MainWindow.setMainTitle into Leo's actual QMainWindow, but that probably 
got lost in the great collapse of code.

This issue isn't nearly as troublesome as config issues.  Adding any needed 
methods to Leo's own main window class will be simple and good.

*Menus*

Adding pyzoic menus to Leo can be done in the pyzo_in_leo plugin.  This 
plugin will likely just use yet another copy of the pyzo code.  Yes, this 
code might have to change when updating pyzo, but it's unlikely that such 
changes will be needed.

*Summary*

Melding pyzo's config code with Leo's remains, by far, the most important 
and challenging part of the pyzo-in-leo project.

Edward

-- 
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-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/2cdee4c7-5824-458e-b499-9f91bc6a2622%40googlegroups.com.


Is pyzo's file browser a good idea?

2019-08-13 Thread Edward K. Ream
Leo almost certainly *is *going to offer pyzo's file browser dock as part 
of the pyzo-in-leo project. However, when I awoke this morning I saw 
several reasons why I wouldn't recommend that people use this dock.

1. It takes a large amount of real estate on the screen. Enhancing Leo's 
existing open-file dialog likely makes more sense for most users.

2. Pyzo's file browser allows people to create and destroy files and 
directories. Imo, it would be more Leonine to create normal leo commands 
create and destroy files and directories.

3. There is a ui mistake in the file browser dock.  You can only 
insert/delete files/directories if the star is highlighted.

*Summary*

We never argue about preferences, but I have just created two new issues 
suggesting that pyzo's file browser will have limited appeal for most 
Leonistas:

#1283 : Improve Leo's 
existing file browser dialog.

#1284 : Add commands 
to create & destroy files and directories.

Edward

-- 
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-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/bfd35bf5-2109-4954-b1c4-807c652d1815%40googlegroups.com.


Re: Debugging with Leo: getting started?

2019-08-13 Thread Edward K. Ream
On Tue, Aug 13, 2019 at 12:41 AM Matt Wilkie  wrote:

or, doh! use a different join() statement. Sheesh Matt!
>
> python -c "import sys ; print(';'.join(sys.path)[1:])"
>

:-) As a general rule, newbies (in whatever area) should cut themselves a
huge amount of slack.

Edward

-- 
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-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS28-_%2BGVyXk2jWi9q3RxHFBkofAPAAzasRaMh2DKm%3DAiw%40mail.gmail.com.


Re: Status report: using pyzo features in Leo

2019-08-13 Thread Edward K. Ream
On Mon, Aug 12, 2019 at 4:22 PM Brian Theado  wrote:

   1. IMO, at a bare minimum, you should always first check in the pyzo
   code without any of your changes and only then add your changes.

> IMO, at a bare minimum, you should always first check in the pyzo code
without any of your changes and only then add your changes.

I agree. My personal copy of the pyzo code is in pyzo.leo, in
c:\apps\pyzo.  It's been under git control from day 1.

As you say, it would have been better to start with a clean copy in both
leo/external/pyzo and leo/plugins/pyzo. When the dust clears it might be
best to start completely afresh.  This would make clear what has happened
in the git log, and will ensure that all required changes are properly
marked.  But this is for later.

> Git has a very useful subcommand called 'subtree' which can be used to
track another repository as a subdirectory of your own repository.

Thanks for this.

> can...the changes you make be generalized such that they are not leo
specific?

Big sigh. This is a question for another day. The strategy that has just
become clear probably already does that.  Having said that, I'm not going
to clutter my head with another constraint.

Edward

-- 
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-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS3VHNk7q2S_vY40Q0-hOW8sP%3DSaTM%3D11Yxc-8O2%3DJuYrA%40mail.gmail.com.