Giter Club home page Giter Club logo

Comments (8)

WhyNotHugo avatar WhyNotHugo commented on July 26, 2024

Yes, please, an example todo would be great to see what's going on. Can you please also include your settings? Thanks!

from todoman.

0-wiz-0 avatar 0-wiz-0 commented on July 26, 2024

Sure. Here's the config file:

[main]
path = ~/.calendars/97D2B267-527A-445D-9F4C-5A0152707F79/*

and here's one example, 3F5A66F2-F3AF-4E1E-AEE9-A9B15BA1EDD3.ics from that directory:

BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Apple Inc.//iOS 9.3.3//EN
VERSION:2.0
BEGIN:VTODO
CREATED:20160731T221712Z
DTSTAMP:20160731T221717Z
LAST-MODIFIED:20160731T221714Z
SEQUENCE:0
STATUS:NEEDS-ACTION
SUMMARY:Essen
UID:3F5A66F2-F3AF-4E1E-AEE9-A9B15BA1EDD3
X-APPLE-SORT-ORDER:491696232
END:VTODO
END:VCALENDAR

from todoman.

WhyNotHugo avatar WhyNotHugo commented on July 26, 2024

~/.calendars/97D2B267-527A-445D-9F4C-5A0152707F79/*

The * here is expanded to match anything inside that directory, and those matches are considered directories with ics files.

I think that what you want is:

~/.calendars/97D2B267-527A-445D-9F4C-5A0152707F79/

from todoman.

0-wiz-0 avatar 0-wiz-0 commented on July 26, 2024

Thank you, that is indeed the fix.
Please improve this part of the docs:

path: The path to where your todos are located. It can also be a glob expresion if you wish to include mutiple directories.

expresion -> expression
mutiple -> multiple

Perhaps:

path: A pattern matching the directory or directories where your todos are located (not the todo files themselves). It can also be a glob expression if you wish to include multiple directories.

from todoman.

WhyNotHugo avatar WhyNotHugo commented on July 26, 2024

Indeed, I'll leave this open until I've improved the docs, thanks for
the feedback

On Tue, Aug 2, 2016, at 17:06, Thomas Klausner wrote:

Thank you, that is indeed the fix.
Please improve this part of the docs:

path: The path to where your todos are located. It can also be a glob
expresion if you wish to include mutiple directories.

expresion -> expression
mutiple -> multiple
Perhaps:

path: A pattern matching the directory or directories where your todos
are located (not the todo files themselves). It can also be a glob
expression if you wish to include multiple directories.

— You are receiving this because you commented. Reply to this email
directly, view it on GitHub[1], or mute the thread[2].

Hugo Osvaldo Barrera

Links:

  1. #35 (comment)
  2. https://github.com/notifications/unsubscribe-auth/AAsmu9S89umz8-vuymWxZXw5afdb1w_Xks5qb6MxgaJpZM4JacRc

from todoman.

untitaker avatar untitaker commented on July 26, 2024

Opened a PR at #37.

from todoman.

untitaker avatar untitaker commented on July 26, 2024

Perhaps we can make todoman detect such situations and show a better error message.

from todoman.

WhyNotHugo avatar WhyNotHugo commented on July 26, 2024

Perhaps we can make todoman detect such situations and show a better error message.

Agreed

from todoman.

Related Issues (20)

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.