Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 19 13:51
    thomaspaulb commented #2
  • Jan 19 13:51
    thomaspaulb commented #2
  • Jan 19 13:51
    thomaspaulb commented #2
  • Jan 16 05:27
    arcturus140 commented #33
  • Jan 16 05:26
    arcturus140 commented #33
  • Jan 16 02:25
    bobwhitelock commented #33
  • Jan 16 01:37
    theonlygusti commented #33
  • Jan 16 01:11
    arcturus140 commented #33
  • Jan 16 01:08
    arcturus140 commented #33
  • Jan 16 00:35
    bobwhitelock commented #33
  • Jan 16 00:21
    bobwhitelock commented #33
  • Jan 15 22:51
    theonlygusti commented #33
  • Jan 15 22:50
    theonlygusti commented #33
  • Jan 15 02:20
    bobwhitelock commented #33
  • Jan 15 00:47
    theonlygusti commented #33
  • Jan 13 13:23
    arcturus140 commented #33
  • Jan 12 07:42
    mpcjanssen commented #10
  • Jan 11 22:55
    koppor commented #11
  • Jan 11 22:55
    koppor commented #10
  • Jan 11 22:53
    koppor commented #6
pavkum
@pavkum
Is there a way I can synchronise them?
Tom Newman
@newmanth_twitter
Hello everyone - does anyone know if there is a way to extend listproj so that it lists the projects in done.txt as well as todo.txt?
Ingo Karkat
@inkarkat

@newmanth_twitter Yes, this is covered. todo.sh -v -v help reveals this environment variable:

TODOTXT_SOURCEVAR=\$DONE_FILE   use another source for listcon, listproj

To include both current and done sources, define a Bash array:

TODOTXT_SOURCEVAR='("$TODO_FILE" "$DONE_FILE")' todo.sh listproj

You can also put the export TODOTXT_SOURCEVAR=... into your .todo.cfg to make it permanent.

Tom Newman
@newmanth_twitter
Thanks @inkarkat
@jbb23 For printing, I use projectivew and pipe it to a file which I then print using this: todo projectview > test_print
nuckjr40
@nuckjr40
I am struggling to get the add-ons to work on MAC and Windows10.
nuckjr40
@nuckjr40
I am using the CLI on W10 and the todo.txt app on MAC and syncing the file via dropbox. I would use the terminal on MAC but I can't seem to get the permissions set right to be able to read the file via terminal. I am wondering if it is a problem with the Dropbox sync.
Maciej Łoziński
@loziniak
Hello! Do you know a project management system/format similar to todo.txt? Something with bug tracking, milestones, etc.?
Silas
@silasdb
Hi! I'm writing a simple add-on for that print tasks in an specific order. Todotxt formats output and I'd like to print it like todotxt does. Is it possible to call todotxt internal functions somehow, so it can format output for me or are scripts meant to duplicate code that formats it? (no problem with that, I just would like to know it).
Ingo Karkat
@inkarkat

Hello @silasdb! The _list function is exported and can be used by add-ons to output tasks with the common numbering and formatting. For task ordering, there's the TODOTXT_SORT_COMMAND hook. So, a minimal add-on could set its own sorting command (sort, awk, or similar) and then invoke the built-in listing of the todo.txt file:

TODOTXT_SORT_COMMAND='awk ...'
_list "$TODO_FILE" "$@"

Here's a simple but complete example from my own add-ons.

Silas
@silasdb
Thanks! That works. I just realized I cannot pass to _list a list of items (line numbers), right?
Ingo Karkat
@inkarkat
No, as _listrenders the task numbers based on the passed lines, that does not work; the numbering would be off. However, because completely empty lines are suppressed, blanking out those lines that you don't want (but keeping the newline to maintain the right numbering) will do what you want.
Silas
@silasdb
Thanks for the tips. My two add-ons are almost complete. One is just a clone of the "due" add-on, but it is written in pure bash (the original one is written in python). It is nice give it a different name, right?
Ingo Karkat
@inkarkat
If your due add-on has (more or less) the same functionality as the original Python one, I would keep the name; in the end, what's most important is how you best remember the add-on name. The add-on directory also lists several alternatives with the same name.
Silas
@silasdb
All right. Thanks!
Silas
@silasdb

No, as _listrenders the task numbers based on the passed lines, that does not work; the numbering would be off. However, because completely empty lines are suppressed, blanking out those lines that you don't want (but keeping the newline to maintain the right numbering) will do what you want.

I was wondering how I can use that. I cannot pass lines to _lines via stdin. Should I have to create a temporary files with the lines I want to output via _list?

Silas
@silasdb
_format '' ''?
Silas
@silasdb
this works :-) thanks :-)
Ingo Karkat
@inkarkat
Yes, _format() is invoked by _list(), too; just the summary footer is missing. You should be able to avoid using a temporary file (though that certainly is not too bad, neither). Todo files aren't that large; it should comfortably fit into memory, so holding the (filtered) contents in a Bash variable (and then echoing that into _list() should be possible.
Robin
@ransome1
Hi there. A couple of month ago I switched to Linux and just couldn't find a todo.txt app that I liked. So I sat down and tried to build my own and after putting quite some work into it I think it would be a waste not to share it with the community. Please feel free to try it out: https://github.com/ransome1/sleek
Maciej Łoziński
@loziniak
It's kinda ironic that it's made in electron :-)
Btw nice interface!
Robin
@ransome1
I guess you're referring to the duality between the overhead of electron to the minimal concept of todo.txt? Then yes, you're right, but Javascript, HTML and CSS are the only languages I speak :D
Robin
@ransome1
but as for my defence: My code is just a couple of kilobyte and the app runs fluently even on my good ole entry level laptop from 2007
jason-mehmel
@jason-mehmel
@ransome1 Really elegant app! I've got a few feature ideas, do you want them here or on the github?
Robin
@ransome1
@jason-mehmel would love to hear your idea. post it whereever it suits you best
jason-mehmel
@jason-mehmel
I posted it as an issue on the github but I'll also say it here: stacking filters? Currently it seems like I can only filter by one context or tag at a time, but I'd love to be able to stack them. (@ 1_inbox and +car for example)
Robin
@ransome1
You can stack filters already, but the addition of filters will add new items, there is no exclusion. And I think that is what you're looking for. As I understand you want to select a filter to limit the todos to all items that include that one filter. And in a next step you want to add second or third filter that will break those items already filtered further down.
Which makes sense to me
right now those multiple filters are connected with OR and you basically need the connection to be and AND one, right?
jason-mehmel
@jason-mehmel
Correct. I'm looking for multiple filters to narrow, not add. I do see now that adding multiple filters shows the content that corresponds to at least one of the multiple filters, not just the ones that correspond to both.
In other words, yes. ;)
Also, another issue request which I'll also add to github: sorting filters in the filter tray either by amount of tasks using those contexts/projects, or sorting them alphanumerically. (In the other systems I've used, they sort them alphanumerically, so I've got some 'top level' contexts like [at]1_inbox because then it's the first thing I see on Simpletask Android or on some of the other apps I've used.
Robin
@ransome1
@jason-mehmel ok I figured it out. Would you like to test it? Also: I wasn't sure on if or how the filters should shrink the more you narrow down the amount of visible todos. What's your opinion on that?
jason-mehmel
@jason-mehmel

@ransome1 I went into more detail on the Github issues section, but the short answer is yes, I think the listed filters should shrink based on the amount of visible todos.

Here's my answer! ransome1/sleek#4

Robin
@ransome1
@jason-mehmel Your ideas from both Github topics have been included in https://github.com/ransome1/sleek/releases/tag/v0.2.3. Feel free to try it out
jason-mehmel
@jason-mehmel

@ransome1 Works great! I've also got it via snap on Ubuntu 20.04 so it updated automatically there this morning!

Thank you for this app! I like the fact that it's multi-platform as well; I've been looking to share a todo.txt process with some folks using different OS's. I'll let you know if we discover anything in that process!

jason-mehmel
@jason-mehmel
I'll keep using it, flag any bugs I find, and if I think of more features I'll let you know. Also, please ping me if you want some specific testing.
Robin
@ransome1
@jason-mehmel thanks for your support, Jason. I appreciate it.
jason-mehmel
@jason-mehmel

No problem!

@ransome1 Had another functionality idea, this one around suggested or autocompleted contexts and projects when making new tasks or editing old ones.

Robin
@ransome1
Hi @jason-mehmel, sorry I didn't see your latest comment. But anyway feel free to check a little prototype and let me know if this goes into the right direction: https://github.com/ransome1/sleek/issues/7#issuecomment-736516170
jason-mehmel
@jason-mehmel
It worked great!
If anyone else is reading this, I encourage you to try out @ransome1's Sleek. Particularly with what he's added, it's basically doing all the things I need from a todo.txt app!
jab
@_JuanAlcantara__twitter
Hello everyone here! Just wanted to say @ransome1 I’m really enjoying Sleek. I read the message from @jason-mehmel and decided to try it. Congrats for your work.
👌
Silas
@silasdb
Hi. @inkarkat I finally finished the add-ons I told you about weeks (months?) ago: https://github.com/silasdb/d ; https://github.com/silasdb/due
thanks for the help!
not sure if you (or someone else?) want to add them to todotxt.org add-ons page