Closed BuonOmo closed 11 months ago
First of all thanks for the interest and your efford of putting the stuff into homebrew! It’s really appreciated!
I’m not quite sure what you mean with "is changing the priority when a task is done". In the todo.txt spec on completed tasks the priority is just not a thing anymore.
However, do I understand you correctly that you ultimately want to have completed tasks still sorted by what used to be their priority? So, have pter consider prio:A
to be semantically equivalent to (A)
and use both equally in sorting?
No I don't want pri:A
to be a thing at all. For instance when using the todo.sh cli, when a task is done the priority stays written the same way.
It doesn't make sense to me that priority which has an official place end up being written like additional metadata.
So basically, not altering the priority when marking a task done and that's it. The other change I made in the patch was just to not alter the sorting behaviour as it was before the patch (eg priority doesn't count on a done task as you said).
I'm honestly unsure I understand where this pri:
metadata mechanic idea comes from 😅
Now it’s getting really interesting! I’ve tested the behaviour of todo.txt cli and marked a task with (A)
priority as done -- it removed the priority entirely. Didn't even store it.
Do you have some specific configuration option in your ~/.config/todo/config
that changes that behaviour?
Wrt where the pri:
comes from: it comes from the specs. Specifically rule 2 of completed tasks, in the end of the first paragraph.
Ah good catch! Okay I'll just keep my fork without this pri:
then ^^, feels like too much for me.
Would it makes sense to you to have that behaviour as a (non-default) option for pter? Because I wouldn’t mind adding that.
Could be a nice to add yeah for sure. Although, I personally prefer opinionated softwares rather than ones having loads of options. Hence I'm unsure. Maybe it will resurface later and you'll have more reasons to do it!
hehe, alright, I’ll keep the request in mind and if it pops up again I know whom to ask :)
Hi,
First, thanks for this beautiful UI!
Then, well, this is the only todo.txt interface I am using that is changing priority when a task is done. I'm not really sure I see the point, as priority is by todo.txt standard written upfront, and that's how it is interpreted by other tools I'm using.
Could we consider not doing that ?
I'd be up to doing the PR, but the codeberg team is overwhelmed with inscriptions, and I cannot connect.
Here's a patch though: