Re: GTD checkin messages and workflow
Cool, working as @command x Thanks, Kent On Mon, Nov 10, 2014 at 2:46 PM, 'Terry Brown' via leo-editor wrote: > On Mon, 10 Nov 2014 13:36:44 -0600 > Kent Tenney wrote: > >> I'm afraid I don't know how this is used, if I put the >> whole thing in a node and it's available, but >> it looks like it should be active automatically if in >> a @commands tree in myLeoSettings.leo, but I've >> not had success. >> >> If that's true, what is the headline, what is the body? > > Hmm, I deploy it as > > @script text here > > where it doesn't really matter what `text here` is, although nothing > may not work. > > Why do I use @script and not @command not sure, a reason I've > forgotten maybe. Perhaps no longer valid. > > To try deploying it as a command you'd have to remove the 'def > add_note(args):' and outdent the rest to left margin and call the node > `@command x`. > > Cheers -Terry > >> Thanks, >> Kent >> >> >> On Mon, Nov 10, 2014 at 12:57 PM, Edward K. Ream >> wrote: >> > >> > >> > On Mon, Nov 10, 2014 at 11:36 AM, 'Terry Brown' via leo-editor >> > wrote: >> > >> >> >> >> > Terry, could you add this script to scripts.leo? There is a >> >> > top-level node for such things, with a child for your scripts:: >> >> > >> >> > Recently contributed/modified scripts >> >> >> >> >> >> https://github.com/leo-editor/leo-editor/commit/ed239f8fddc032e1b6e8fe2cdc30bdfc2aac8828 >> > >> > >> > Thanks, Terry. >> > >> > 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 http://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 http://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 http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
Re: GTD checkin messages and workflow
On Mon, 10 Nov 2014 13:36:44 -0600 Kent Tenney wrote: > I'm afraid I don't know how this is used, if I put the > whole thing in a node and it's available, but > it looks like it should be active automatically if in > a @commands tree in myLeoSettings.leo, but I've > not had success. > > If that's true, what is the headline, what is the body? Hmm, I deploy it as @script text here where it doesn't really matter what `text here` is, although nothing may not work. Why do I use @script and not @command not sure, a reason I've forgotten maybe. Perhaps no longer valid. To try deploying it as a command you'd have to remove the 'def add_note(args):' and outdent the rest to left margin and call the node `@command x`. Cheers -Terry > Thanks, > Kent > > > On Mon, Nov 10, 2014 at 12:57 PM, Edward K. Ream > wrote: > > > > > > On Mon, Nov 10, 2014 at 11:36 AM, 'Terry Brown' via leo-editor > > wrote: > > > >> > >> > Terry, could you add this script to scripts.leo? There is a > >> > top-level node for such things, with a child for your scripts:: > >> > > >> > Recently contributed/modified scripts > >> > >> > >> https://github.com/leo-editor/leo-editor/commit/ed239f8fddc032e1b6e8fe2cdc30bdfc2aac8828 > > > > > > Thanks, Terry. > > > > 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 http://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 http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
Re: GTD checkin messages and workflow
I'm afraid I don't know how this is used, if I put the whole thing in a node and it's available, but it looks like it should be active automatically if in a @commands tree in myLeoSettings.leo, but I've not had success. If that's true, what is the headline, what is the body? Thanks, Kent On Mon, Nov 10, 2014 at 12:57 PM, Edward K. Ream wrote: > > > On Mon, Nov 10, 2014 at 11:36 AM, 'Terry Brown' via leo-editor > wrote: > >> >> > Terry, could you add this script to scripts.leo? There is a >> > top-level node for such things, with a child for your scripts:: >> > >> > Recently contributed/modified scripts >> >> >> https://github.com/leo-editor/leo-editor/commit/ed239f8fddc032e1b6e8fe2cdc30bdfc2aac8828 > > > Thanks, Terry. > > 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 http://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 http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
Re: GTD checkin messages and workflow
On Mon, Nov 10, 2014 at 11:36 AM, 'Terry Brown' via leo-editor < leo-editor@googlegroups.com> wrote: > > Terry, could you add this script to scripts.leo? There is a > > top-level node for such things, with a child for your scripts:: > > > > Recently contributed/modified scripts > > > https://github.com/leo-editor/leo-editor/commit/ed239f8fddc032e1b6e8fe2cdc30bdfc2aac8828 > Thanks, Terry. 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 http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
Re: GTD checkin messages and workflow
On Mon, 10 Nov 2014 06:50:27 -0600 "Edward K. Ream" wrote: > On Sun, Nov 9, 2014 at 9:49 AM, 'Terry Brown' via leo-editor < > leo-editor@googlegroups.com> wrote: > > > > 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. > > Terry, could you add this script to scripts.leo? There is a > top-level node for such things, with a child for your scripts:: > > Recently contributed/modified scripts https://github.com/leo-editor/leo-editor/commit/ed239f8fddc032e1b6e8fe2cdc30bdfc2aac8828 Cheers -Terry > > 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 http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
Re: GTD checkin messages and workflow
On Sun, Nov 9, 2014 at 9:49 AM, 'Terry Brown' via leo-editor < leo-editor@googlegroups.com> wrote: > 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. Terry, could you add this script to scripts.leo? There is a top-level node for such things, with a child for your scripts:: Recently contributed/modified scripts 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 http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
Re: GTD checkin messages and workflow
On Sun, 9 Nov 2014 05:05:58 -0800 (PST) "Edward K. Ream" 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 leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
GTD checkin messages and workflow
Starting now, the checkin log for commits involving the to-do list and project notes will start with GTD (Getting Things Done), and *maybe* some additional explanatory comments. You will have noticed that there have been *many* checkins re to-do and project notes recently. Imo, they are essential so that I don't have to remember either what has been done or what remains to be done. Doubters should definitely read http://www.amazon.com/Getting-Things-Done-Stress-Free-Productivity/dp/0142000280 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 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 leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.