Giter Site home page Giter Site logo

Comments (4)

itchyny avatar itchyny commented on May 5, 2024

Sorry for inconvenience.
Please pull the latest version.

from calendar.vim.

lambdalisue avatar lambdalisue commented on May 5, 2024

Now I could sync the local calendar with Google Calendar! Thank you very much :-)

Well If I'm not disturbing you, I would like to ask you two more questions.

  1. Is there a command or any way to tell calendar.vim to pull the data from Google Calendar?
    I'm guessing but if calendar.vim pulls data from Google Calendar every several minutes or so on,
    I would like to have a way to sync the calendar immediately
  2. Is it possible to show like a 'loading...' indicator to tell users that the calendar.vim is now loading data
    from Google Calendar?
    And if it's possible, are you planning to add that kind of feature?

Thanks again for fixing and this life changing vim app :-)

from calendar.vim.

itchyny avatar itchyny commented on May 5, 2024
  1. There's no command to sync explicitly. But if you remove ~/.cache/calendar.vim/timestamp/, the calendar downloads the events on its start. In the directory, the files save the date when the app downloaded the events from Google Calendar. On starting the calendar, it checks the date, and start downloading if it was older than two hours ago.
  2. There's no way and no plan to show 'loading...' indicator. Some apps have the feature but I think... 'Hey, too annoying! Come on. Download the contents silently!' That's why I will not implement such an indicator.

from calendar.vim.

lambdalisue avatar lambdalisue commented on May 5, 2024

Thank you for the reply :-)

Well I'll be really happy if calendar.vim have a command to download events additionally.
If I understand your response correctly, I need to remove all downloaded events for updating right?

I prefer additional way because I noticed that calendar.vim failed to download some old or new events.
With your last commit, now my calendar.vim downloaded events from my Google Calendar but only for the events from 2013/06 to 2013/12. The events before or after that are not downloaded (is it actually a bug?)

I understand that the most of calendar applications need to have some range limitations but not for new events.
So I don't really think missing new events is an expected behavior.
Well, it is my guess but there are some download size limitation for Google Calendar API? If so, downloading events from beginning again does not make sense. That's a one of reason why I prefer additional way to reduce the size of downloading.
And also, even there are no such kind of limitation, I think loosing downloaded events for updating manually is not a good solution.
I'm really sorry for bothering you with this. Tell me if there are anything I can help you, I'm willing to do it :-)

Haha, OK I got it ;-)
I just wonder if calendar.vim have a some kind of animation indicator which you often found in terminal applications.
But if you feel it is too annoying, I'm ready to follow you :-)

from calendar.vim.

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.