Hello all,
I haven't been following much the excellent work that Mike Mellor has been doing with the GTD bundle, but I've had my own ideas of how GTD should be done in TextMate, so I've created another GTD bundle that's closer to my philosophy. You can find more about it, and download it, here: http://skiadas.dcostanet.net/afterthought/2006/06/20/yet-another-gtd- bundle/ Enjoy, let me know in what ways it is lacking.
Haris
Just to let everyone know that I updated the bundle and wrote a much more detailed description here: http://skiadas.dcostanet.net/afterthought/2006/06/25/details-on-the- gtdalt-bundle/ Let me know if you like it and are using it.
Haris On Jun 20, 2006, at 6:29 PM, Charilaos Skiadas wrote:
Hello all,
I haven't been following much the excellent work that Mike Mellor has been doing with the GTD bundle, but I've had my own ideas of how GTD should be done in TextMate, so I've created another GTD bundle that's closer to my philosophy. You can find more about it, and download it, here: http://skiadas.dcostanet.net/afterthought/2006/06/20/yet-another- gtd-bundle/ Enjoy, let me know in what ways it is lacking.
Haris
Hi Haris,
I just tried to give your GTD bundle a try. I downloaded the latest version from your blog and double clicked to install.
Then I just pasted your example to a file. But when I run the command Show all next I get the following error:
/Users/bmiller/Library/Application Support/TextMate/Pristine Copy/Bundles/GTDAlt.tmbundle/Support/bin/GTD.rb:64:in `get_files': undefined method `downcase' for nil:NilClass (NoMethodError) from /Users/bmiller/Library/Application Support/TextMate/Pristine Copy/Bundles/GTDAlt.tmbundle/Support/bin/GTD.rb:64:in `find_all' from /Users/bmiller/Library/Application Support/TextMate/Pristine Copy/Bundles/GTDAlt.tmbundle/Support/bin/GTD.rb:64:in `each' from /Users/bmiller/Library/Application Support/TextMate/Pristine Copy/Bundles/GTDAlt.tmbundle/Support/bin/GTD.rb:64:in `find_all' from /Users/bmiller/Library/Application Support/TextMate/Pristine Copy/Bundles/GTDAlt.tmbundle/Support/bin/GTD.rb:64:in `get_files' from /Users/bmiller/Library/Application Support/TextMate/Pristine Copy/Bundles/GTDAlt.tmbundle/Support/bin/GTD.rb:69:in `process_directory' from /tmp/temp_textmate.ChWUJ3:4
Brad
On 6/25/06, Charilaos Skiadas cskiadas@uchicago.edu wrote:
Just to let everyone know that I updated the bundle and wrote a much more detailed description here: http://skiadas.dcostanet.net/afterthought/2006/06/25/details-on-the- gtdalt-bundle/ Let me know if you like it and are using it.
Haris On Jun 20, 2006, at 6:29 PM, Charilaos Skiadas wrote:
Hello all,
I haven't been following much the excellent work that Mike Mellor
has been doing with the GTD bundle, but I've had my own ideas of how GTD should be done in TextMate, so I've created another GTD bundle that's closer to my philosophy. You can find more about it, and download it, here: http://skiadas.dcostanet.net/afterthought/2006/06/20/yet-another- gtd-bundle/ Enjoy, let me know in what ways it is lacking.
Haris
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Hi Brad,
can you send me an example file that gives you this behavior? What is the creation date and time of the zip file? (I've done quite a lot of updates recently) There is an example GTD file under bin/tests/. Do you still get this error with that open? What is the name of the file you have open when you run this command? What is a listing of the files in that directory?
I seem to be doing something potentially dangerous at that point in the code, going through the results of the `ls` command at (hopefully) the proper path location, and then checking for the last four characters to be ".gtd". So I am guessing something fails at that point. (line 64 of GTD.rb)
Haris On Jun 26, 2006, at 7:08 AM, Brad Miller wrote:
Hi Haris,
I just tried to give your GTD bundle a try. I downloaded the latest version from your blog and double clicked to install.
Then I just pasted your example to a file. But when I run the command Show all next I get the following error:
/Users/bmiller/Library/Application Support/TextMate/Pristine Copy/ Bundles/GTDAlt.tmbundle/Support/bin/GTD.rb:64:in `get_files': undefined method `downcase' for nil:NilClass (NoMethodError) from / Users/bmiller/Library/Application Support/TextMate/Pristine Copy/ Bundles/GTDAlt.tmbundle/Support/bin/GTD.rb:64:in `find_all' from / Users/bmiller/Library/Application Support/TextMate/Pristine Copy/ Bundles/GTDAlt.tmbundle/Support/bin/GTD.rb:64:in `each' from /Users/ bmiller/Library/Application Support/TextMate/Pristine Copy/Bundles/ GTDAlt.tmbundle/Support/bin/GTD.rb:64:in `find_all' from /Users/ bmiller/Library/Application Support/TextMate/Pristine Copy/Bundles/ GTDAlt.tmbundle/Support/bin/GTD.rb:64:in `get_files' from /Users/ bmiller/Library/Application Support/TextMate/Pristine Copy/Bundles/ GTDAlt.tmbundle/Support/bin/GTD.rb:69:in `process_directory' from / tmp/temp_textmate.ChWUJ3:4
Brad
On 6/25/06, Charilaos Skiadas cskiadas@uchicago.edu wrote: Just to let everyone know that I updated the bundle and wrote a much more detailed description here: http://skiadas.dcostanet.net/afterthought/2006/06/25/details-on-the- gtdalt-bundle/ Let me know if you like it and are using it.
Haris On Jun 20, 2006, at 6:29 PM, Charilaos Skiadas wrote:
Hello all,
I haven't been following much the excellent work that Mike
Mellor
has been doing with the GTD bundle, but I've had my own ideas of how GTD should be done in TextMate, so I've created another GTD bundle that's closer to my philosophy. You can find more about it, and download it, here: http://skiadas.dcostanet.net/afterthought/2006/06/20/yet-another- gtd-bundle/ Enjoy, let me know in what ways it is lacking.
Haris
The GTDAlt bundle is now in the subversion repository. Please remove any previous copies you may have had and install it from there. Read: http://macromates.com/textmate/manual/bundles#getting_more_bundles for instructions on how to install bundles via subversion.
Let me know if this version has any problems.
Haris
On 26.06.2006, at 21:35, Charilaos Skiadas wrote:
The GTDAlt bundle is now in the subversion repository. Please remove any previous copies you may have had and install it from there. Read: http://macromates.com/textmate/manual/bundles#getting_more_bundles for instructions on how to install bundles via subversion.
Let me know if this version has any problems.
Hi Haris
Excellent work again. Thanks!
I don't know if this is expected behaviour for the "EOL + Action" command: If I hit enter I get a new line BUT the indent is not the same as the line above. If I hit shift-enter I get a new line with the same context as before, keeping the indent of the line above. So this works a expected. Can you fix this?
btw. I'm working with a PowerBook.
Thanks again. Oliver
On Jul 5, 2006, at 9:58 AM, Oliver Hagmann wrote:
Hi Haris
Excellent work again. Thanks!
I don't know if this is expected behaviour for the "EOL + Action" command: If I hit enter I get a new line BUT the indent is not the same as the line above. If I hit shift-enter I get a new line with the same context as before, keeping the indent of the line above. So this works a expected. Can you fix this?
Hm, I've tried this here and it works just fine. Do you have the same problems when running the macro from the menu as well? If so, please provide an example so that I can test it here.
btw. I'm working with a PowerBook.
Thanks again. Oliver
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Haris
On 05.07.2006, at 17:15, Charilaos Skiadas wrote:
I don't know if this is expected behaviour for the "EOL + Action" command: If I hit enter I get a new line BUT the indent is not the same as the line above. If I hit shift-enter I get a new line with the same context as before, keeping the indent of the line above. So this works a expected. Can you fix this?
Hm, I've tried this here and it works just fine. Do you have the same problems when running the macro from the menu as well? If so, please provide an example so that I can test it here.
Yes, it happens also via the the menu. Example:
I have:
project ProjectX @email To Pete about subject end
Somewhere in the second line with the action I hit Enter and get this:
project ProjectX @email To Pete about subject @email end
...while "email on the third line is highlighted. I expected to get:
project ProjectX @email To Pete about subject @email end
Btw. Hitting space while "email" is highlighted results in the following error:
project ProjectX @email To Pete about subject @/tmp/temp_textmate.ewuSYb:7: undefined method end
Altough I set "email" as one of the contexts in TM_GTD_CONTEXT. I hope this helps.
Cheers. Oliver
On Jul 5, 2006, at 10:36 AM, Oliver Hagmann wrote:
Somewhere in the second line with the action I hit Enter and get this:
project ProjectX @email To Pete about subject @email end
I still can't reproduce this. Are you absolutely certain that you've removed all previous copies of the bundle, and there is nothing under, for instance, Pristine Copy? Though I am not sure what would cause this anyway. Unless for some reason snippets don't automatically get indented in your system. What happens if this is inside a subproject, so that there is more indenting then?
Btw. Hitting space while "email" is highlighted results in the following error:
I just committed a fix for this. I guess I didn't really expect people to use this command with a selection. :)
project ProjectX @email To Pete about subject @/tmp/temp_textmate.ewuSYb:7: undefined method end
Cheers. Oliver
Haris
On 05.07.2006, at 17:57, Charilaos Skiadas wrote:
On Jul 5, 2006, at 10:36 AM, Oliver Hagmann wrote:
Somewhere in the second line with the action I hit Enter and get this:
project ProjectX @email To Pete about subject @email end
I still can't reproduce this. Are you absolutely certain that you've removed all previous copies of the bundle, and there is nothing under, for instance, Pristine Copy? Though I am not sure what would cause this anyway. Unless for some reason snippets don't automatically get indented in your system. What happens if this is inside a subproject, so that there is more indenting then?
I found out why this happens: I had to activate soft tabs and it finally works. I don't know if there's a workaround if someone doesn't use soft tabs. You're the guy with the skills ;-)
Btw. Hitting space while "email" is highlighted results in the following error:
I just committed a fix for this. I guess I didn't really expect people to use this command with a selection. :)
There's no error know but there's a space missing after the context name.
Haris
Oliver
On Jul 5, 2006, at 11:21 AM, Oliver Hagmann wrote:
I found out why this happens: I had to activate soft tabs and it finally works. I don't know if there's a workaround if someone doesn't use soft tabs. You're the guy with the skills ;-)
Ah! Then I can fix it ;) Update now.
I just committed a fix for this. I guess I didn't really expect people to use this command with a selection. :)
There's no error know but there's a space missing after the context name.
yeah, nothing I can do for the space I'm afraid. If there is a selection, then that's all I am being fed, so my script doesn't know if there is a space following it. See, the idea is to use this also to change context on an action that already is written, and then there is a space after the action, so I don't want the command to insert an extra space there. When there is no selection, the command has as input the entire line, and hence can check to see if there already is a space after the context, and insert it if there isn't. But when there is a selection, it can't.
So you would have to just type e and then space, or right arrow and then space, to get the desired result in those cases.
Haris
Oliver
Haris