On Sun, 9 Nov 2014 05:05:58 -0800 (PST)
"Edward K. Ream" <[email protected]> wrote:
[snip]
> And here is a surprisingly useful workflow tip related to GTD. This
> will be prewriting for a FAQ entry.
>
> You may have noticed that ideas "intrude" while you are busy with
> something else. When that happens to me, I create a top-level node
> of the form::
>
> ** description of idea
>
> Now I can continue what I was doing! This is such a simple idea, but
I have a command called 'x' that I use for this. It creates, at the
top of workbook.leo or the first outline already open if workbook.leo
is not open, a node named with the current date / time and todo.py
priority / date settings. It's called 'x' so you can fire it with
Alt-X 'x'
@g.command('x')
def add_note(args):
for c in g.app.commanders():
if c.fileName().endswith('workbook.leo'):
break
else:
c = g.app.commanders()[0]
nd = c.rootPosition().insertAfter()
nd.moveToRoot(c.rootPosition())
import datetime, time
nd.h = time.asctime()
nd.b = "\n\n# %s\n\n" % nd.h
c.selectPosition(nd)
nd.v.u['annotate'] = {
'duedate': datetime.date.today(),
'created': datetime.datetime.now(),
'nextworkdate': datetime.date.today(),
'priority': 2,
}
# I think this whole block could be removed, possibly it dates
# to a time when c.bringToFront() didn't do everything it needed to
parent = c.frame.top
while parent.parent():
parent = parent.parent()
parent.raise_()
parent.activateWindow()
c.cleo.loadIcons(nd)
c.redraw()
c.bringToFront()
c.bodyWantsFocusNow()
Cheers -Terry
> it's really really important: it means I never have to put off
> getting my ideas into Leo. And the "**" draws my attention to the
> new to-do item. Later, when I am not fully immersed in the
> slightly-interrupted task, I can put the "**" node somewhere else.
>
> The point is that it's super important to deal with new ideas
> *instantly* but *without* greatly interrupting the task at hand.
> Creating "**" nodes does that. This new workflow has been a big
> improvement to my GTD practice.
>
> 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.