Notes on Leo learning

2016-12-15 Thread Satish Goda
Hello folks.

I have started taking notes for myself as I dig deeper into integrating Leo 
into my daily workflows. The GitHub link to my repo is below.

https://github.com/satishgoda/leo-editor-tutorial

My intention is to create a set of tutorials that will elucidate the core 
aspects of Leo (I am writing an introductory one on Python & Leo today!!).

Just wanted to share it with you all and I am open to ideas and thoughts.

Thank you!
Satish.

-- 
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 post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Theme Problems

2016-12-15 Thread Edward K. Ream
On Tue, Dec 13, 2016 at 8:25 PM, 'Terry Brown' via leo-editor <
leo-editor@googlegroups.com> wrote:

> You're right, themes seem to have been  completely nerfed.
> ekr_dark_theme has a @data node, but it doesn't seem to work.
>

​Hmm.  I don't have access to a Linux box right now, but just before I left
for Florida I ran all unit tests in Leo.  That surely used a dark theme, so
afaik themes do work on Linux.

EKR

-- 
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 post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: leo stalling for long periods

2016-12-15 Thread Edward K. Ream
On Thu, Dec 15, 2016 at 3:54 PM, Curtis Carlsen 
wrote:

> I was mistaken, most of my external files are local, but some may be on
>> network drives.
>>
>
> That said, your setting change seems to have fixed the problem!
>
> Perhaps even local files have similar problems on some platforms?
>

​Thanks to all the participants in this discussion.  ​Clearly, the present
situations isn't good enough.  John, was it you who reported the
performance problems with network drives?  Do you remember the issue
number? I'm having trouble finding it.  It probably should be reopened.

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 post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: leo stalling for long periods

2016-12-15 Thread Curtis Carlsen

>
> I was mistaken, most of my external files are local, but some may be on 
> network drives.
>

That said, your setting change seems to have fixed the problem!

Perhaps even local files have similar problems on some platforms?

-- 
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 post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: leo stalling for long periods

2016-12-15 Thread Curtis Carlsen
All of my external files are on network drives.  I'll give that setting 
change a try.

Thanks for the help.


On Monday, December 12, 2016 at 12:53:52 PM UTC-8, Curtis Carlsen wrote:
>
> I downloaded the new code base to try out the new importers.  (Leo 5.4, 
> december 8th)
>
> I am seeing extended stalling of different parts of the program, where 
> everything freezes and the program does not respond to keypresses or mouse 
> clicks.  The stall lasts for up to 30 seconds or a minute, then things 
> start working again.  It seems to happen at random intervals.  I don't have 
> to be doing anything, sometimes I am just looking at a node, or navigating 
> the tree and it freezes.
>
> I have seen it happen when editting nodes, and also when I am in the 
> file|import any menu item.  It doesn't really seem to matter what I am 
> doing at the time.  And if I run leo from the terminal, I don't see any 
> error messages there.  The file I am editting is fairly large (1.15 MBytes)
>
> I am running on Windows 7, python 2.7
>
> If I revert to using leo 5.1 final from October 20th, the problem goes 
> away.
>
>

-- 
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 post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: leo stalling for long periods

2016-12-15 Thread john lunzer
I have also had to make this change because most of my files are on network 
locations.

On Wednesday, December 14, 2016 at 5:59:17 PM UTC-5, Terry Brown wrote:
>
> Looking around a bit more, looks like you can disable those file checks 
> with
>
> @bool check_for_changed_external_files = False
>
> in @settings, I see I have that set to False on the machine where the 
> checks
> were causing trouble for me, try that and see if it helps.
>
> Cheers -Terry
>
>
> --
> *From:* Curtis Carlsen 
> *To:* leo-editor  
> *Sent:* Wednesday, December 14, 2016 1:32 PM
> *Subject:* Re: leo stalling for long periods
>
> The file consists of hundreds of smaller nodes.  There may be a few large 
> nodes, but I find the warning screen about the QT lost data bug annoying so 
> I usually delete them.
>
> The original file is my work diary, built up over many months.  It has 
> lots of proprietary company data.  The boss would not be pleased with me 
> sharing it.
>
> I usually close out the diary files after about a year, because they get 
> slow to work with.  But the symptoms this time are different.  Everything 
> is running along fast and then just stops.  It kinda has the feel of a 
> thread getting stalled by a locked resource.  I seem to recall some kind of 
> issue with python getting locked up on multiprocessors because of a poorly 
> designed global lock, I have no idea if that could actually be involved, 
> but it's just something I remember.
>
>
> -- 
> 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+...@googlegroups.com .
> To post to this group, send email to leo-e...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/leo-editor.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
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 post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.