Re: looking for pre-existing text format for defining event dates in Leo

2019-01-30 Thread Matt Wilkie
Sounds interesting and I could see how that could be useful. I'm not aware 
of anything like that (but I've never thought to look before). I think I'd 
start by seeing what the Vim and Emacs communities might have done in this 
area (since they're old and have had lots of room and people for 
experimentation).

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 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: looking for pre-existing text format for defining event dates in Leo

2019-01-30 Thread jkn


On Wednesday, January 30, 2019 at 6:02:23 PM UTC, Offray Vladimir Luna 
Cárdenas wrote:
>
> Hi Jon,
>
> I use Taskwarrior for the kind of activities you are describing. It always 
> there, in my drop down terminal and it has nice API and DOM. You could use 
> it in the same way and only use Leo to query Taskwarrior and present then 
> info you want in a outline, or use some of the Python open source projects 
> to go interact with Taskwarrior from Leo. Once you have a proper terminal 
> utility for taks possibilities are open ended and it can serve as 
> inspiration.
>
> At [1] you find my curated list of TW links (descriptions are in Spanish, 
> but most of the links are for English documents).
>
> [1] https://docutopia.tupale.co/hackbo:TaskWarrior#
>
> Cheers,
>
> Offray
> On 30/1/19 5:20, jkn wrote:
>
> Hi all
>I would quite like to use Leo to remind me of events - a bit like a 
> locally-based version of Google Calendar. So (I guess) I would have a 
> special node(s) with a list of events in some form:
>
> "3rd Friday of each month; pay XXX bill"
> "Aug 31st each year: Aunt Amelia's Birthday"
> "23rd February: one-off concert date"
>
> and then have a script to tell me eg. "all the events next week", or 
> similar
>
> I'm happy to have fun ;-) working on the script, but I wonder about the 
> format for defining the events. I am imagining that there is already some 
> markdown-type format for defining events like this, and I'd like to use a 
> 'standard' if possible. Can anyone point me at prior art for this kind of 
> thing?
>
> Thanks
> 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+...@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.
>
>
Hi all
thanks fro the links, that all looks very useful. I think I came across 
iCalender before but had forgotten it; rrule looks like a useful way in...

Cheers
J^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: looking for pre-existing text format for defining event dates in Leo

2019-01-30 Thread Offray Vladimir Luna Cárdenas
Hi Jon,

I use Taskwarrior for the kind of activities you are describing. It
always there, in my drop down terminal and it has nice API and DOM. You
could use it in the same way and only use Leo to query Taskwarrior and
present then info you want in a outline, or use some of the Python open
source projects to go interact with Taskwarrior from Leo. Once you have
a proper terminal utility for taks possibilities are open ended and it
can serve as inspiration.

At [1] you find my curated list of TW links (descriptions are in
Spanish, but most of the links are for English documents).

[1] https://docutopia.tupale.co/hackbo:TaskWarrior#

Cheers,

Offray

On 30/1/19 5:20, jkn wrote:
> Hi all
>    I would quite like to use Leo to remind me of events - a bit like a
> locally-based version of Google Calendar. So (I guess) I would have a
> special node(s) with a list of events in some form:
>
> "3rd Friday of each month; pay XXX bill"
> "Aug 31st each year: Aunt Amelia's Birthday"
> "23rd February: one-off concert date"
>
> and then have a script to tell me eg. "all the events next week", or
> similar
>
> I'm happy to have fun ;-) working on the script, but I wonder about
> the format for defining the events. I am imagining that there is
> already some markdown-type format for defining events like this, and
> I'd like to use a 'standard' if possible. Can anyone point me at prior
> art for this kind of thing?
>
>     Thanks
>     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.

-- 
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: looking for pre-existing text format for defining event dates in Leo

2019-01-30 Thread Terry Brown
On Wed, 30 Jan 2019 02:20:20 -0800 (PST)
jkn  wrote:

> Hi all
>I would quite like to use Leo to remind me of events - a bit like
> a locally-based version of Google Calendar. So (I guess) I would have
> a special node(s) with a list of events in some form:
> 
> "3rd Friday of each month; pay XXX bill"

For this kind of thing I just recently found
https://dateutil.readthedocs.io/en/stable/rrule.html
after having been looking for such a thing for some time.

Cheers -Terry

> "Aug 31st each year: Aunt Amelia's Birthday"
> "23rd February: one-off concert date"
> 
> and then have a script to tell me eg. "all the events next week", or
> similar
> 
> I'm happy to have fun ;-) working on the script, but I wonder about
> the format for defining the events. I am imagining that there is
> already some markdown-type format for defining events like this, and
> I'd like to use a 'standard' if possible. Can anyone point me at
> prior art for this kind of thing?
> 
> Thanks
> 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: looking for pre-existing text format for defining event dates in Leo

2019-01-30 Thread Josef
If you have emacs, see how it is done in org-mode. Note also, that Leo can 
understand already an org-mode subset.

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


looking for pre-existing text format for defining event dates in Leo

2019-01-30 Thread jkn
Hi all
   I would quite like to use Leo to remind me of events - a bit like a 
locally-based version of Google Calendar. So (I guess) I would have a 
special node(s) with a list of events in some form:

"3rd Friday of each month; pay XXX bill"
"Aug 31st each year: Aunt Amelia's Birthday"
"23rd February: one-off concert date"

and then have a script to tell me eg. "all the events next week", or similar

I'm happy to have fun ;-) working on the script, but I wonder about the 
format for defining the events. I am imagining that there is already some 
markdown-type format for defining events like this, and I'd like to use a 
'standard' if possible. Can anyone point me at prior art for this kind of 
thing?

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