[TxMt] GTD2 issues

Mike Mellor alaskamike at gmail.com
Wed Oct 11 03:54:01 UTC 2006


Mike -

The code looks OK to me.  Do you have the GTD bundle installed?  If  
so, does it work properly?

Mike


On Oct 10, 2006, at 4:14 PM, Michael Gregoire wrote:

> Mike,
>
> Here's the code for the those commands.
>
> Thanks for your help.
>
> Mike
>
>
>
> Done
> --------
>
> #!/usr/bin/env python
> import sys, os
>
> oldtask = os.environ['TM_CURRENT_LINE']
> if oldtask[0] != "^":
> 	sys.stdout.write("+  " + oldtask[3:])
> else:
>     sys.stdout.write(oldtask)
>
>
> Wait
> -------
>
> #!/usr/bin/env python
> import sys, os
>
> oldtask = os.environ['TM_CURRENT_LINE']
> if (oldtask[0] != "+") and (oldtask[0] != "^"):
> 	sys.stdout.write("<- " + oldtask[3:])
> else:
>     sys.stdout.write(oldtask)
>
> Unwait
> ----------
>
> #!/usr/bin/env python
> import sys, os
>
> oldtask = os.environ['TM_CURRENT_LINE']
> if (oldtask[0:4] == "WAIT"):
> 	sys.stdout.write(oldtask[5:])
> else:
> 	sys.stdout.write(oldtask)
>
> Delegate
> -----------
>
> #!/usr/bin/env python
> import sys, os
>
> oldtask = os.environ['TM_CURRENT_LINE']
> if (oldtask[0] != "+") and (oldtask[0] != "^"):
> 	sys.stdout.write("-> " + oldtask[3:])
> else:
>     sys.stdout.write(oldtask)
>
>
>
>
> On Oct 10, 2006, at 4:50 PM, Mike Mellor wrote:
>
>> Mike -
>>
>> I'm kind of stumped.  What code do you see in the bundle editor  
>> for any one of these tab commands?  I'm wondering if I uploaded  
>> bad files...
>>
>> Mike
>>
>>
>> On 10/10/06, Michael Gregoire <mgee at gwi.net> wrote: Mike,
>>
>> I'm trying to use wait, unwait, done & delegate actions, yet none of
>> them work. I type the shortcut letter such as 'w' and then press tab,
>> this merely replaces my task with a blank line.
>>
>> Actually, I just tested manually choosing the action from the bundle
>> menu and it seems that the shortcuts work fine, it's the actions that
>> are not working. Choosing the action from the menu does the same  
>> thing.
>>
>> Any info would be helpful.
>>
>> Thanks
>> Mike
>>
>> _____________________________________________________________________ 
>> _
>> For new threads USE THIS: textmate at lists.macromates.com
>> (threading gets destroyed and the universe will collapse if you  
>> don't)
>> http://lists.macromates.com/mailman/listinfo/textmate
>>
>>
>> _____________________________________________________________________ 
>> _
>> For new threads USE THIS: textmate at lists.macromates.com
>> (threading gets destroyed and the universe will collapse if you  
>> don't)
>> http://lists.macromates.com/mailman/listinfo/textmate
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2423 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20061010/31b64f94/attachment.p7s>


More information about the textmate mailing list