Re: Org Mode File - Node sorted by time stamp

2016-12-20 Thread 'Terry Brown' via leo-editor
Hi,
You could avoid renaming the nodes with something like this, untested, just 
copy/pasting your code:
def datesort(p):    datestamp='00'
    if '<' and '>' in p.b: # check to see if there is at least one likely 
datestamp        i = p.b.find("<") #get the index of the beginning of datestamp 
       j = p.b.find(">") # get the index of the end of the datestamp        
datestamp=p.b[(i+1):j]  # use indices to grab the date
    return datestamp
c.sortSiblings(key=datesort)
Cheers -Terry

 
  From: Israel Hands 
 To: leo-editor  
Cc: terry_n_br...@yahoo.com
 Sent: Tuesday, December 20, 2016 1:39 PM
 Subject: Re: Org Mode File - Node sorted by time stamp
   
I think I'll try option one - I'm a slow and clunky coder - I've written this 
which tests the next node for the telltale  and grabs the datestamp. 
It then renames the node with the datestamp at the beginning of the node name. 
The plan is to rename all the nodes with datestamps in the body of the text, 
then use Leo commands to sort the nodes then un-name them, if you see what I 
mean. I'll need to deal with the deadline datestamp - I'll think on that. If 
you see any obvious improvements do let me know.
p=p.moveToNext() # drop down to next nodeseparator='||' # make a separatorif 
'<' and '>' in p.b: # check to see if there is at least one likely datestamp    
i = p.b.find("<") #get the index of the beginning of datestamp    j = 
p.b.find(">") # get the index of the end of the datestamp    
datestamp=p.b[(i+1):j]  # use indices to grab the date    
newhead=datestamp+separator+p.h #make a new header including the datestam and 
separator    c.setHeadString(p,newhead) #write the new header.
Thanks for the encouragement - If I get a working solution I'll let you know!
IH
On Tuesday, 20 December 2016 16:21:48 UTC, Terry Brown wrote:
Ok, I haven't used org mode import.
Seems like you wouldn't want the timestamps in the header, all you'd see in the 
tree view would be the timestamps.
Two possible approaches:
 - write a small piece of code to sort the nodes based on the timestamps in the 
body content. - import the org file taking advantage of Leo's todo plugin, 
which has date due fields and ui options to sort by them
Cheers -Terry
 
  From: Israel Hands 
 To: leo-editor  
Cc: terry_...@yahoo.com
 Sent: Tuesday, December 20, 2016 10:01 AM
 Subject: Re: Org Mode File - Node sorted by time stamp
  

Thanks Terry and Rob!
I realise I wasn't clear enough in my original post. Org mode allows todo items 
to be entered into a file in any order but they can include a timestamp of 
their 'scheduled' time (and indeed a separate deadline timestamp).  In the 
orgmode Agenda view the items are then inserted in to a linear calendar, 
turning the unordered org file into a powerful calendar/todo list.
So one of my org mode items is -  Breakfast with James - it has a scheduled 
time and I have chosen to set a deadline.  When I choose Agenda view in orgmode 
I see the item has a deadline in today's date and the item itself appears in 
the calendar for tomorrow.Imported into leo I get a nice node with the headline 
- Breakfast with James -  and the body text is the two time stamps - the 
deadline is Tuesday the 20th (to remind me it is tomorrow) and then the 
scheduled time of the event Wednesday the 21st at 10am.  The node body looks 
like this = 
   DEADLINE: <2016-12-20 Tue 09:00><2016-12-21 Wed 10:00>
However the nodes are listed according to their place in the orgmode file (in 
creation order) rather than schedule order. I guess it would require digging 
out these scheduled times and maybe writing them into the header which would 
then make it easy to sort the nodes.
Anyway thanks for your attention.IH

On Tuesday, 20 December 2016 15:07:39 UTC, Terry Brown wrote:
Depends what you mean by timestamps.  If you mean a piece of text in the 
header, one of the Outline -> Sort commands should work.
If you mean sort by the internal "gnx" ID attribute of the nodes, which 
contains timestamp information, I don't think there's a command to actually 
re-order nodes on that basis.  But there is a commandfind-quick-timeline which 
displays all the nodes in the outline in the Nav pane, ordered most recently 
created to oldest.  Maybe that helps?  find-quick-timeline uses the gnx info.
Cheers -Terry
 
  From: Israel Hands 
 To: leo-editor  
 Sent: Tuesday, December 20, 2016 7:23 AM
 Subject: Org Mode File - Node sorted by time stamp
  
I use OrgMode's Agenda view as my basic calendar and it's great to be able to 
import the org files into leo, is there a way of sorting the imported nodes by 
time stamp, other than writing a bit of code to accomplish the task?
ta
Al-- 
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 

Re: Backlink plugin questions

2016-12-20 Thread Largo84
OK, I see that now. Looks like a similar bug with this plugin as changes to 
the graph don't 'dirty' the .leo outline and prompt for file saving.

Rob..

On Tuesday, December 20, 2016 at 12:07:05 PM UTC-5, Terry Brown wrote:
>
> Try selecting a node in the graph you want open at startup, and 
> run graph-toggle-autoload, I think that will load all the explicitly (i.e. 
> backlinks, not just Leo tree relationship) linked nodes in that graph on 
> startup.  You can have multiple unconnected graphs in an outline, this only 
> loads one of them.
>
> Regardless of being loaded at startup, node positions in the graph should 
> always be saved and restored when the node's added back to the graph 
> display.
>
> Cheers -Terry
>
>
> --
> *From:* Largo84 
> *To:* leo-editor  
> *Cc:* terry_...@yahoo.com 
> *Sent:* Tuesday, December 20, 2016 10:39 AM
> *Subject:* Re: Backlink plugin questions
>
> Yes, looks good, thanks!
>
> On a related note, I see that graphs aren't saved at all, regardless of 
> file saving. I know that's from a different plugin.
>
> Rob.
>
> On Tuesday, December 20, 2016 at 10:31:36 AM UTC-5, Terry Brown wrote:
>
> I think all the things you pointed out are fixed in
>
> https://github.com/leo-editor/ leo-editor/commit/bf397a6e 
> 
>
> let me know if that seem to be the case, or not.
>
> Cheers -Terry
>
>
> --
> *From:* Largo84 
> *To:* leo-editor  
> *Sent:* Tuesday, December 20, 2016 8:29 AM
> *Subject:* Re: Backlink plugin questions
>
> Thanks, Terry. While you're at it, can you see why the links don't show up 
> right away until after refreshing, leaving the node and then coming back?
>
> On Tuesday, December 20, 2016 at 8:08:58 AM UTC-5, Terry Brown wrote:
>
>
> I'd call it a bug.  I'll try and fix it soon. 
>
> > 2) Is there a way to create links to nodes in other .leo files? If 
> > so, it's not obvious how to do it. 
>
>
> I don't think you can do that with backlinks, unless I'm forgetting 
> something.  The bookmarks plugin can definitely do that. 
>
>
> Yeah, forgot about the bookmarks plugin. I have used that one before also. 
>  
>
>
> Also you probably know this, but the graphcanvas plugin visualizes the 
> links defined by the backlinks plugin. 
>
>
> That's an odd one. there's almost no documentation about it that I can 
> find. It looks like it has potential for a sort of mind-mapping 
> visualization, but it's really not intuitive how to make it work. Still 
> slogging through trying to figure it out. For example, there's a mention to 
> load pygraphviz or pydot for 'layouts', but I got lost trying to figure out 
> how to do either one. Links in the docstring to a blog post are dead.
>
> 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+...@ 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+...@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.


IGNORE: address test

2016-12-20 Thread 'Terry Brown' via leo-editor
Sorry about this test (which your supposed to be ignoring ;-) - trying to get 
my email address to show up on posts to this list so it my posts are like 
everyone else's and I don't get Cc'ed on replies all the time. I've looked for 
the setting causing this behavior before, and failed to find it.  My email 
address isn't supposed to be secret.
Cheers -Terry

-- 
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: Backlink plugin questions

2016-12-20 Thread 'Terry Brown' via leo-editor
Try selecting a node in the graph you want open at startup, and run 
graph-toggle-autoload, I think that will load all the explicitly (i.e. 
backlinks, not just Leo tree relationship) linked nodes in that graph on 
startup.  You can have multiple unconnected graphs in an outline, this only 
loads one of them.
Regardless of being loaded at startup, node positions in the graph should 
always be saved and restored when the node's added back to the graph display.
Cheers -Terry

 
  From: Largo84 
 To: leo-editor  
Cc: terry_n_br...@yahoo.com
 Sent: Tuesday, December 20, 2016 10:39 AM
 Subject: Re: Backlink plugin questions
   
Yes, looks good, thanks!
On a related note, I see that graphs aren't saved at all, regardless of file 
saving. I know that's from a different plugin.
Rob.

On Tuesday, December 20, 2016 at 10:31:36 AM UTC-5, Terry Brown wrote:
I think all the things you pointed out are fixed in
https://github.com/leo-editor/ leo-editor/commit/bf397a6e
let me know if that seem to be the case, or not.
Cheers -Terry

 
  From: Largo84 
 To: leo-editor  
 Sent: Tuesday, December 20, 2016 8:29 AM
 Subject: Re: Backlink plugin questions
  
Thanks, Terry. While you're at it, can you see why the links don't show up 
right away until after refreshing, leaving the node and then coming back?

On Tuesday, December 20, 2016 at 8:08:58 AM UTC-5, Terry Brown wrote:

I'd call it a bug.  I'll try and fix it soon.

> 2) Is there a way to create links to nodes in other .leo files? If
> so, it's not obvious how to do it.



I don't think you can do that with backlinks, unless I'm forgetting
something.  The bookmarks plugin can definitely do that.


Yeah, forgot about the bookmarks plugin. I have used that one before also.  

Also you probably know this, but the graphcanvas plugin visualizes the
links defined by the backlinks plugin.



That's an odd one. there's almost no documentation about it that I can find. It 
looks like it has potential for a sort of mind-mapping visualization, but it's 
really not intuitive how to make it work. Still slogging through trying to 
figure it out. For example, there's a mention to load pygraphviz or pydot for 
'layouts', but I got lost trying to figure out how to do either one. Links in 
the docstring to a blog post are dead.
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+...@ 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.


   
 

-- 
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: Backlink plugin questions

2016-12-20 Thread Largo84
Yes, looks good, thanks!

On a related note, I see that graphs aren't saved at all, regardless of 
file saving. I know that's from a different plugin.

Rob.

On Tuesday, December 20, 2016 at 10:31:36 AM UTC-5, Terry Brown wrote:
>
> I think all the things you pointed out are fixed in
>
> https://github.com/leo-editor/leo-editor/commit/bf397a6e 
> 
>
> let me know if that seem to be the case, or not.
>
> Cheers -Terry
>
>
> --
> *From:* Largo84 
> *To:* leo-editor  
> *Sent:* Tuesday, December 20, 2016 8:29 AM
> *Subject:* Re: Backlink plugin questions
>
> Thanks, Terry. While you're at it, can you see why the links don't show up 
> right away until after refreshing, leaving the node and then coming back?
>
> On Tuesday, December 20, 2016 at 8:08:58 AM UTC-5, Terry Brown wrote:
>
>
> I'd call it a bug.  I'll try and fix it soon. 
>
> > 2) Is there a way to create links to nodes in other .leo files? If 
> > so, it's not obvious how to do it. 
>
>
> I don't think you can do that with backlinks, unless I'm forgetting 
> something.  The bookmarks plugin can definitely do that. 
>
>
> Yeah, forgot about the bookmarks plugin. I have used that one before also. 
>  
>
>
> Also you probably know this, but the graphcanvas plugin visualizes the 
> links defined by the backlinks plugin. 
>
>
> That's an odd one. there's almost no documentation about it that I can 
> find. It looks like it has potential for a sort of mind-mapping 
> visualization, but it's really not intuitive how to make it work. Still 
> slogging through trying to figure it out. For example, there's a mention to 
> load pygraphviz or pydot for 'layouts', but I got lost trying to figure out 
> how to do either one. Links in the docstring to a blog post are dead.
>
> 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+...@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.


Re: Org Mode File - Node sorted by time stamp

2016-12-20 Thread 'Terry Brown' via leo-editor
Ok, I haven't used org mode import.
Seems like you wouldn't want the timestamps in the header, all you'd see in the 
tree view would be the timestamps.
Two possible approaches:
 - write a small piece of code to sort the nodes based on the timestamps in the 
body content. - import the org file taking advantage of Leo's todo plugin, 
which has date due fields and ui options to sort by them
Cheers -Terry
 
  From: Israel Hands 
 To: leo-editor  
Cc: terry_n_br...@yahoo.com
 Sent: Tuesday, December 20, 2016 10:01 AM
 Subject: Re: Org Mode File - Node sorted by time stamp
   

Thanks Terry and Rob!
I realise I wasn't clear enough in my original post. Org mode allows todo items 
to be entered into a file in any order but they can include a timestamp of 
their 'scheduled' time (and indeed a separate deadline timestamp).  In the 
orgmode Agenda view the items are then inserted in to a linear calendar, 
turning the unordered org file into a powerful calendar/todo list.
So one of my org mode items is -  Breakfast with James - it has a scheduled 
time and I have chosen to set a deadline.  When I choose Agenda view in orgmode 
I see the item has a deadline in today's date and the item itself appears in 
the calendar for tomorrow.Imported into leo I get a nice node with the headline 
- Breakfast with James -  and the body text is the two time stamps - the 
deadline is Tuesday the 20th (to remind me it is tomorrow) and then the 
scheduled time of the event Wednesday the 21st at 10am.  The node body looks 
like this = 
   DEADLINE: <2016-12-20 Tue 09:00><2016-12-21 Wed 10:00>
However the nodes are listed according to their place in the orgmode file (in 
creation order) rather than schedule order. I guess it would require digging 
out these scheduled times and maybe writing them into the header which would 
then make it easy to sort the nodes.
Anyway thanks for your attention.IH

On Tuesday, 20 December 2016 15:07:39 UTC, Terry Brown wrote:
Depends what you mean by timestamps.  If you mean a piece of text in the 
header, one of the Outline -> Sort commands should work.
If you mean sort by the internal "gnx" ID attribute of the nodes, which 
contains timestamp information, I don't think there's a command to actually 
re-order nodes on that basis.  But there is a commandfind-quick-timeline which 
displays all the nodes in the outline in the Nav pane, ordered most recently 
created to oldest.  Maybe that helps?  find-quick-timeline uses the gnx info.
Cheers -Terry
 
  From: Israel Hands 
 To: leo-editor  
 Sent: Tuesday, December 20, 2016 7:23 AM
 Subject: Org Mode File - Node sorted by time stamp
  
I use OrgMode's Agenda view as my basic calendar and it's great to be able to 
import the org files into leo, is there a way of sorting the imported nodes by 
time stamp, other than writing a bit of code to accomplish the task?
ta
Al-- 
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.


   
 

-- 
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: Org Mode File - Node sorted by time stamp

2016-12-20 Thread Israel Hands

Thanks Terry and Rob!

I realise I wasn't clear enough in my original post. Org mode allows todo 
items to be entered into a file in any order but they can include a 
timestamp of their 'scheduled' time (and indeed a separate deadline 
timestamp).  In the orgmode Agenda view the items are then inserted in to a 
linear calendar, turning the unordered org file into a powerful 
calendar/todo list.

So one of my org mode items is -  Breakfast with James - it has a scheduled 
time and I have chosen to set a deadline.  When I choose Agenda view in 
orgmode I see the item has a deadline in today's date and the item itself 
appears in the calendar for tomorrow.
Imported into leo I get a nice node with the headline - Breakfast with 
James -  and the body text is the two time stamps - the deadline is Tuesday 
the 20th (to remind me it is tomorrow) and then the scheduled time of the 
event Wednesday the 21st at 10am.  The node body looks like this = 

   DEADLINE: <2016-12-20 Tue 09:00>
<2016-12-21 Wed 10:00>

However the nodes are listed according to their place in the orgmode file 
(in creation order) rather than schedule order. 
I guess it would require digging out these scheduled times and maybe 
writing them into the header which would then make it easy to sort the 
nodes.

Anyway thanks for your attention.
IH


On Tuesday, 20 December 2016 15:07:39 UTC, Terry Brown wrote:
>
> Depends what you mean by timestamps.  If you mean a piece of text in the 
> header, one of the Outline -> Sort commands should work.
>
> If you mean sort by the internal "gnx" ID attribute of the nodes, which 
> contains timestamp information, I don't think there's a command to actually 
> re-order nodes on that basis.  But there is a command
> find-quick-timeline which displays all the nodes in the outline in the Nav 
> pane, ordered most recently created to oldest.  Maybe that helps?  
> find-quick-timeline 
> uses the gnx info.
>
> Cheers -Terry
>
> --
> *From:* Israel Hands 
> *To:* leo-editor  
> *Sent:* Tuesday, December 20, 2016 7:23 AM
> *Subject:* Org Mode File - Node sorted by time stamp
>
> I use OrgMode's Agenda view as my basic calendar and it's great to be able 
> to import the org files into leo, is there a way of sorting the imported 
> nodes by time stamp, other than writing a bit of code to accomplish the 
> task?
>
> ta
>
> Al
> -- 
> 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.


Re: Backlink plugin questions

2016-12-20 Thread 'Terry Brown' via leo-editor
I think all the things you pointed out are fixed in
https://github.com/leo-editor/leo-editor/commit/bf397a6e
let me know if that seem to be the case, or not.
Cheers -Terry

 
  From: Largo84 
 To: leo-editor  
 Sent: Tuesday, December 20, 2016 8:29 AM
 Subject: Re: Backlink plugin questions
   
Thanks, Terry. While you're at it, can you see why the links don't show up 
right away until after refreshing, leaving the node and then coming back?

On Tuesday, December 20, 2016 at 8:08:58 AM UTC-5, Terry Brown wrote:

I'd call it a bug.  I'll try and fix it soon.

> 2) Is there a way to create links to nodes in other .leo files? If
> so, it's not obvious how to do it.



I don't think you can do that with backlinks, unless I'm forgetting
something.  The bookmarks plugin can definitely do that.


Yeah, forgot about the bookmarks plugin. I have used that one before also.  

Also you probably know this, but the graphcanvas plugin visualizes the
links defined by the backlinks plugin.



That's an odd one. there's almost no documentation about it that I can find. It 
looks like it has potential for a sort of mind-mapping visualization, but it's 
really not intuitive how to make it work. Still slogging through trying to 
figure it out. For example, there's a mention to load pygraphviz or pydot for 
'layouts', but I got lost trying to figure out how to do either one. Links in 
the docstring to a blog post are dead.
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 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.


   
 

-- 
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: Org Mode File - Node sorted by time stamp

2016-12-20 Thread 'Terry Brown' via leo-editor
Depends what you mean by timestamps.  If you mean a piece of text in the 
header, one of the Outline -> Sort commands should work.
If you mean sort by the internal "gnx" ID attribute of the nodes, which 
contains timestamp information, I don't think there's a command to actually 
re-order nodes on that basis.  But there is a commandfind-quick-timeline which 
displays all the nodes in the outline in the Nav pane, ordered most recently 
created to oldest.  Maybe that helps?  find-quick-timeline uses the gnx info.
Cheers -Terry
 
  From: Israel Hands 
 To: leo-editor  
 Sent: Tuesday, December 20, 2016 7:23 AM
 Subject: Org Mode File - Node sorted by time stamp
   
I use OrgMode's Agenda view as my basic calendar and it's great to be able to 
import the org files into leo, is there a way of sorting the imported nodes by 
time stamp, other than writing a bit of code to accomplish the task?
ta
Al-- 
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.


   
 

-- 
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: Org Mode File - Node sorted by time stamp

2016-12-20 Thread Largo84
There are two sort commands in the outline menu (Sort siblings and Sort 
children). Maybe that will work for you?

Rob

On Tuesday, December 20, 2016 at 8:23:19 AM UTC-5, Israel Hands wrote:
>
> I use OrgMode's Agenda view as my basic calendar and it's great to be able 
> to import the org files into leo, is there a way of sorting the imported 
> nodes by time stamp, other than writing a bit of code to accomplish the 
> task?
>
> ta
>
> Al
>

-- 
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: Backlink plugin questions

2016-12-20 Thread Largo84
Thanks, Terry. While you're at it, can you see why the links don't show up 
right away until after refreshing, leaving the node and then coming back?

On Tuesday, December 20, 2016 at 8:08:58 AM UTC-5, Terry Brown wrote:
>
>
> I'd call it a bug.  I'll try and fix it soon. 
>
> > 2) Is there a way to create links to nodes in other .leo files? If 
> > so, it's not obvious how to do it. 
>

I don't think you can do that with backlinks, unless I'm forgetting 
> something.  The bookmarks plugin can definitely do that. 
>

Yeah, forgot about the bookmarks plugin. I have used that one before also.  

>
> Also you probably know this, but the graphcanvas plugin visualizes the 
> links defined by the backlinks plugin. 
>
>
That's an odd one. there's almost no documentation about it that I can 
find. It looks like it has potential for a sort of mind-mapping 
visualization, but it's really not intuitive how to make it work. Still 
slogging through trying to figure it out. For example, there's a mention to 
load pygraphviz or pydot for 'layouts', but I got lost trying to figure out 
how to do either one. Links in the docstring to a blog post are dead.

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 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.


Org Mode File - Node sorted by time stamp

2016-12-20 Thread Israel Hands
I use OrgMode's Agenda view as my basic calendar and it's great to be able 
to import the org files into leo, is there a way of sorting the imported 
nodes by time stamp, other than writing a bit of code to accomplish the 
task?

ta

Al

-- 
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: Backlink plugin questions

2016-12-20 Thread 'Terry Brown' via leo-editor
On Tue, 20 Dec 2016 02:04:53 -0800 (PST)
Largo84  wrote:

> 1) I am using the backlink plugin more now and find that if I create
> links between nodes, the .leo file is not marked 'dirty', so the
> links don't survive if I close the file and reopen (unless I
> explicitly save the file or make other changes that prompt a file
> save). Is this intentional or a bug?

I'd call it a bug.  I'll try and fix it soon.

> 2) Is there a way to create links to nodes in other .leo files? If
> so, it's not obvious how to do it.

I don't think you can do that with backlinks, unless I'm forgetting
something.  The bookmarks plugin can definitely do that.

Also you probably know this, but the graphcanvas plugin visualizes the
links defined by the backlinks plugin.

Cheers -Terry

> Thanks in advance for ideas.
> 
> 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 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.


Backlink plugin questions

2016-12-20 Thread Largo84
1) I am using the backlink plugin more now and find that if I create links 
between nodes, the .leo file is not marked 'dirty', so the links don't 
survive if I close the file and reopen (unless I explicitly save the file 
or make other changes that prompt a file save). Is this intentional or a 
bug?
2) Is there a way to create links to nodes in other .leo files? If so, it's 
not obvious how to do it.

Thanks in advance for ideas.

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 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: remembering Leo's 'file state' across sessions?

2016-12-20 Thread jkn


On Tuesday, December 20, 2016 at 9:44:41 AM UTC, Largo84 wrote:
>
> There are several session-... commands that allow to save sessions in a 
> @session node. They don't automatically update on exit as the command line 
> options do, but they do work well to create session lists that can be saved 
> and restored.
>
> Rob.
>
>
>>
>> I guess I'm looking for a 'save current session' file option/command, but 
>> I haven't found it yet...
>>
>>
Hi All
Well, that is very strange ... I know I tried to find 'session' 
commands using Tab-completion on the minibuffer (without success) before 
posting my original question. I have several versions of Leo on different 
machines, perhaps it was on an older pre-sessions installation.

Anyway, the Alt-X session- commands probably address my needs, and were 
probably how I ended up with the session I seem to have. Thanks for all the 
pointers

Best Wishes for the Season!
Jon N
 

-- 
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: remembering Leo's 'file state' across sessions?

2016-12-20 Thread Largo84
There are several session-... commands that allow to save sessions in a 
@session node. They don't automatically update on exit as the command line 
options do, but they do work well to create session lists that can be saved 
and restored.

Rob.


>
> I guess I'm looking for a 'save current session' file option/command, but 
> I haven't found it yet...
>
>
>

-- 
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: Notes on Leo learning

2016-12-20 Thread Satish Goda
Hi Jake.

Thank you for pointing me to the link. I will have a look.

- Satish.

On Tuesday, December 20, 2016 at 12:27:24 AM UTC+8, Jacob Peck wrote:
>
> It's also worth noting that there's an incredibly dormant mini blog thing 
> maintained by a handful of us devs on github: http://leo-editor.github.io/
>
> I forget if this is mentioned anywhere officially, but there are a few 
> neat things up there.
>
> -->Jake
>
> On 12/19/2016 11:22 AM, Jacob Peck wrote:
>
> Hi Edward, Satish,
>
> Satish, Glad you find the (limited) articles useful! Leo is a really fun 
> tool to explore when you first stumble upon it.  I'm still finding new 
> things all these years later.  I suspect I always will be.
>
> Edward, you must have known about my blog at one point, because you 
> commented on it 4(!) years ago :) (http://disq.us/p/d1xqz8)
>
> -->Jake
>
> On 12/16/2016 4:03 AM, Edward K. Ream wrote:
>
>
>
> On Fri, Dec 16, 2016 at 2:29 AM, Satish Goda  > wrote:
>
>> 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.
>>
>
> ​Excellent.  I see​
>   
> ​that your sandbox contains some @button scripts for creating your 
> chapters.
>
> It took me awhile to realize that several of your references are to Jake 
> Peck's a -> ab  site.​ I didn't know 
> that any of that existed.  Jake, did you announce your blog?  I sure missed 
> it.
>
> 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+...@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.