Looking for documentation about automatic setting of dirty flag

2019-10-01 Thread Robert Cholette
Just lookig for docum or part of code that would explain it.

Particularly about when the parent is set dirty too (editing a body of 
child of derived file-node)
or when the childs are also set dirty... upon modifying body text of parent 
if already had content/ or not.

etc...
Thanks! 

-- 
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/cca90ac9-6a58-4082-b665-f1826b4a9be3%40googlegroups.com.


Re: leo from devel fail to start on windows

2019-10-01 Thread Matt Wilkie
This happens to me from time to time as well. I haven't figured out what 
precipitates it. So far `pip uninstall leo && pip install --editable 
path\to\leo-code` has fixed it.

-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/01baa34d-d0d9-45c8-af2d-e60efba3752e%40googlegroups.com.


Re: Discuss: is it time to retire the python_terminal plugin?

2019-10-01 Thread Chris George
1. Enable pyzo_in_leo.py plugin.
2. Run Leo using --global-docks on the command line.

HTH,

Chris

On Tue, Oct 1, 2019 at 7:11 AM lewis  wrote:

> I haven't kept up to date with how pyzo features are available in Leo.
> Pyzo is installed and the pyzo_in_leo.py plugin is enabled but from the
> Plugins menu no pyzo plugin or information is available.
>
> LeoDocs currently has no mention of pyzo plugin. Are there any guides on
> how to use Pyzo shells?
>
> Regards
> Lewis
>
> --
> 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/5f41788c-f59e-4331-8531-7c656da12d6b%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/CADWQas39Wa_zoVEvNnEoaGnaFy-2JG%3DXdMfMVo%3DjmDqq9W969A%40mail.gmail.com.


Re: Discuss: is it time to retire the python_terminal plugin?

2019-10-01 Thread lewis
I haven't kept up to date with how pyzo features are available in Leo.
Pyzo is installed and the pyzo_in_leo.py plugin is enabled but from the 
Plugins menu no pyzo plugin or information is available.

LeoDocs currently has no mention of pyzo plugin. Are there any guides on 
how to use Pyzo shells? 

Regards
Lewis

-- 
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/5f41788c-f59e-4331-8531-7c656da12d6b%40googlegroups.com.


Discuss: is it time to retire the python_terminal plugin?

2019-10-01 Thread Edward K. Ream
#1155  suggests 
retiring the python_terminal plugin.  This plugin is known to cause 
segfaults. Nobody seems to have any interest in fixing it.

Now that the pyzo_in_leo plugin is (partly) functional, using pyzo's 
"Shells" window seems good enough.

What say you?

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/5bf9f44a-9bed-402e-aa31-f5622ca8f31a%40googlegroups.com.


Re: leo from devel fail to start on windows

2019-10-01 Thread Edward K. Ream
On Tue, Oct 1, 2019 at 7:45 AM gar  wrote:

>
>
> Something's wrong in .leo\db\g_app_db. Removing it lets leo to start, but
> layouts are lost.
>

That's because .leo\db *contains* the layouts.

Just put the layouts the way you like them.  Saving Leo will restore the
layout in .leo\db.

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/CAMF8tS2n8AndnnUyO%3D%2BxfLsWxtEcgvDRV1nP-W4MXaT0HjZaBg%40mail.gmail.com.


Re: leo from devel fail to start on windows

2019-10-01 Thread gar
Nothing with name "script*" in .leo/ except scriptFile.py.
Renaming db/ helped, but all settings (like layouts) gone away.
What a pity.

Something's wrong in .leo\db\g_app_db. Removing it lets leo to start, but
layouts are lost.

вт, 1 окт. 2019 г. в 13:57, Brian Theado :

> Try looking in your %HOME%/.leo/db directory (or whatever it is on
> windows). See if there is a file with scripts.leo in its name. If so, then
> move the db directory to db.bak and try starting leo again. I encountered a
> similar issue the other day and I didn't realize it might be due to new leo
> code.
>
> I'm not clear on the nature of the files in the db directory. Maybe
> someone else can explain.
>
> On Tue, Oct 1, 2019 at 12:18 AM gar  wrote:
>
>> python launchLeo.py --no-dock
>>
>> --global-docks: False
>>
>> duplicate, (not conflicting) key bindings in myLeoSettings.leo
>>   tree Tab focus-to-body
>>all Tab indent-region
>>   text Tab newline-and-indent
>> Leo 6.1-devel, devel branch, build 4e9d54b82e
>> 2019-09-30 17:09:04 -0500
>> leo_excepthook Uncaught Python exception: [WinError 3] The system cannot
>> find the path specified:
>> 'D:/bin/chocolatey/lib/python3/tools/lib/site-packages/leo/scripts/scripts.leo'
>>
>> NoneType: None
>>
>>
>> E:\git\leo-editor>python --version
>> Python 3.7.4
>>
>>
>> CLI args are sufficient.
>> This can definitely be caused by python version upgrade (seems like that
>> path points to old python's path) - but got no idea how.
>> Leo installed with PIP works fine.
>> Version from git launched ok before I pulled the changes.
>>
>> --
>> 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/6ea068e0-1e25-4192-b546-5cf4ceb4b479%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/CAO5X8Cyvwz7OH2%2BJzcbc3xhoA0B-gEHkNajoEabvKBe25y%2BeNQ%40mail.gmail.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%2B8SVy%2BN0y_iGLsbWMgtuDMC4Pzrg7hNyJQjgVUbYwEJ9bmww%40mail.gmail.com.


Re: leo from devel fail to start on windows

2019-10-01 Thread Brian Theado
Try looking in your %HOME%/.leo/db directory (or whatever it is on
windows). See if there is a file with scripts.leo in its name. If so, then
move the db directory to db.bak and try starting leo again. I encountered a
similar issue the other day and I didn't realize it might be due to new leo
code.

I'm not clear on the nature of the files in the db directory. Maybe someone
else can explain.

On Tue, Oct 1, 2019 at 12:18 AM gar  wrote:

> python launchLeo.py --no-dock
>
> --global-docks: False
>
> duplicate, (not conflicting) key bindings in myLeoSettings.leo
>   tree Tab focus-to-body
>all Tab indent-region
>   text Tab newline-and-indent
> Leo 6.1-devel, devel branch, build 4e9d54b82e
> 2019-09-30 17:09:04 -0500
> leo_excepthook Uncaught Python exception: [WinError 3] The system cannot
> find the path specified:
> 'D:/bin/chocolatey/lib/python3/tools/lib/site-packages/leo/scripts/scripts.leo'
>
> NoneType: None
>
>
> E:\git\leo-editor>python --version
> Python 3.7.4
>
>
> CLI args are sufficient.
> This can definitely be caused by python version upgrade (seems like that
> path points to old python's path) - but got no idea how.
> Leo installed with PIP works fine.
> Version from git launched ok before I pulled the changes.
>
> --
> 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/6ea068e0-1e25-4192-b546-5cf4ceb4b479%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/CAO5X8Cyvwz7OH2%2BJzcbc3xhoA0B-gEHkNajoEabvKBe25y%2BeNQ%40mail.gmail.com.


Re: How to trace Leo Core?

2019-10-01 Thread Viktor Ransmayr
Hello Edward,

Am Mo., 30. Sept. 2019 um 23:04 Uhr schrieb Edward K. Ream <
edream...@gmail.com>:

> On Sun, Sep 29, 2019 at 2:43 PM Viktor Ransmayr 
> wrote:
>
>>
>> I tried to find out, if I can enable 'auditing/ tracing' for Leo in order
>> to 'visualize' the run-time behavior of Leo Core ...
>>
>
> The various --trace options are good if they tell you what you want to see.
>
> Usually, I put g.trace statements into Leo's source code.  A cff shows
> there are 414 nodes in Leo's code with such statements, so you shouldn't
> have too much trouble finding examples :-)
>

It looks like I was under the false impression, that Leo's code does have a
'verbose/ non-verbose' tracing mode available as well. - I had hoped, that
if I use the 'verbose' tracing mode, Leo's modules would automatically
leave their traces in the log ...

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/CAAeSrG%2B80jNg7B0ES%2BJUfUafR_tcrvq2A2Bc9WmyHoGvscb40g%40mail.gmail.com.