topydo icon indicating copy to clipboard operation
topydo copied to clipboard

FR Manually archive todos by project

Open Mooie opened this issue 1 year ago • 5 comments

It'd be great if we could manually archive all todos that are related to a specific project, something like: `topydo archive +project'.

That way, we could clear out only those completed todos related to finished or dropped projects while leaving completed todos of still active projects.

Mooie avatar Apr 05 '23 17:04 Mooie

I use a wrapper, todo.txt-gtd, which separates tasks by project in the todo.txt file. That makes it easy to do operations like this. It is packaged for Linux .deb-based systems.

davesteele avatar Apr 06 '23 19:04 davesteele

@davesteele Thanks. I'll look into todo.txt-gtd.

Mooie avatar Apr 07 '23 08:04 Mooie

@davesteele

Quick question: is it possible to get topydo to ignore comment lines (i.e. lines starting with #) and blank lines? I like having my todo.txt file organised by project, but topydo assumes the necessary comment and blank lines are tasks and numbers them accordingly.

Mooie avatar May 15 '23 16:05 Mooie

topydo follows the todo.txt spec, comments and grouping like that is not part of the standard.

I don't know how other clients treat blank lines, it sounds reasonable to ignore them when reading the todos, but notice that topydo also writes out todo.txt files and it's likely you'll lose (part of) the blank lines. As it is not part of the spec, topydo should refrain from supporting this.

bram85 avatar May 15 '23 17:05 bram85

As it is not part of the spec, topydo should refrain from supporting this

Agreed

it's likely you'll lose (part of) the blank lines

Recent versions of topydo support an auto_delete_whitespace option, which will preserve blank lines.

I filter on "@" to eliminate (most) comments and blank lines.

davesteele avatar May 15 '23 23:05 davesteele