Git Product home page Git Product logo

Comments (4)

munkee avatar munkee commented on June 6, 2024

I agree that it's not ideal what it currently does. I'm no longer using todo.txt very much so I'm unlikely to invest any time in changing it. I see that you're also a previous contributor, perhaps you can fix it yourself and @nthorne will accept your patch?

I will mention that the SwiftDo IOS app which is the other way I interact with my todo.txt also has some weirdness. You can see that I made the task as a clone of yours. Threshold and due date 1 month apart and we are currently between the 2 of them. They use rec: as their recurrence tag and I do as well using export TODO_AGAIN_TAG=rec in my .todo/config.

x 2021-09-13 2021-09-13 pri:C service car t:2021-09-10 due:2021-10-10 rec:6m
(C) 2021-09-13 service car t:2022-03-10 due:2022-03-13 rec:6m

When I marked this task completed today, I get a threshold date 6 months from the previous t: value and a due date 6 months from TODAY. So now the threshold-due interval has shrunk to 3 days. Surely not what is desired there either.

I'm not aware of how topydo handles this situation, but we should probably aim for something approaching consistency between these 3 or more implementations.

I will mention that at least this addon is quite explicit in the README.MD of what will happen though I do agree that it's probably not what anyone would prefer.

"Mark item N as done, and then recreate it with the creation date set as today's date, and any existing due date and deferral date set to ADJUST from today."

from todo.txt-cli-again-addon.

nthorne avatar nthorne commented on June 6, 2024

Hi,

Thanks for taking the time to making this well-presented suggestion. Your proposal looks sound to me, but I have also migrated away from the todo.txt system, so it is quite unlikely that I will invest any significant amount of time in the system. I'd be happy to help out with reviews etc, though.

from todo.txt-cli-again-addon.

owenh000 avatar owenh000 commented on June 6, 2024

After looking at the again code, I decided to implement this in Python as dorecur, a replacement for the built-in do action. (I do not mean that there is anything wrong with the code here, rather that Bash programming beyond simple shell scripts is to me an exercise in frustration.)

The new add-on can be found at https://github.com/owenh000/todo.txt-cli-dorecur.

Thanks @munkee and @nthorne for the feedback, and thanks for the again add-on which I have used for a long time.

Feel free to close this issue if that seems appropriate. Meanwhile I will be opening a pull request or two for some minor changes to again that I made locally a few days ago.

from todo.txt-cli-again-addon.

nthorne avatar nthorne commented on June 6, 2024

I completely understand you @owenh000 , side projects should not be a point of frustration (that's what day jobs are for :) ). I'll keep this one open since I like the suggestion, and me or someone else might find the time to implement this some day. Thanks again for the input!

from todo.txt-cli-again-addon.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.