Comments (9)
I pushed a partial solution to the pu
branch. With d483407 (Do not blindly overwrite files when saving, 2017-09-07), calcurse checks whether the data files were changed before saving. If they were, you can either overwrite, cancel or run the merge tool to keep both changes.
from calcurse.
I will look into implementing an auto-reload feature as soon as possible.
from calcurse.
Thanks a bunch!
from calcurse.
I looked into it but it is a bit more involved than I thought. For example, it is not clear what to do if an appointment is deleted in the data files and the reload is triggered while the user is currently editing that appointment...
from calcurse.
from calcurse.
Discarding the editing is not a good idea because the user will be surprised. I think we should rather turn off the automatic reload temporarily during any interactive edit operations...
from calcurse.
I agree with @lfos: in normal operation check for and update changes. When editing a new appointment, todo or note, don't do that.
But then you don't cover some common synchronisation issues, which you appear to cover with your patch.
Does CalDAV accomplish the same? Or does that have disadvantages, e.g. overkill, over a solution within calcurse?
from calcurse.
I don't quite understand. How is CalDAV an alternative to reloading files once changes are detected?
from calcurse.
@randomizedthinking wanted to use calcurse at different machines and be sync'ed between them. Would CalDAV not do that (with the need of a CalDAV server, of course)?
Though even if one would accept this as a solution for synchronising between different calcurse sessions, there may be additional reasons for wanting to check for changes.
from calcurse.
Related Issues (20)
- [Feature Request] Define working days and be able to repeat tasks on workdays or days off.
- How to make the program?
- test failure because of a stack-buffer-overflow
- calcurse-caldav missing ETag HOT 1
- Question: how to print calcurse interface without entering TUI? HOT 1
- Does calcurse support Unicode? HOT 2
- calcurse-caldav PasswordCommand trailing '\n' HOT 2
- Delete a note for a TODO item HOT 7
- 'calcurse-caldav' doesn't support all URLs hosted by calendar.google.com. HOT 1
- Are events just all day appointments?
- out of tree build broken
- Integration with taskwarrior HOT 1
- Not properly formatted TRIGGER caused exceptions in other Caldav clients
- Duplicate hash for different imported appointments
- Question: how to make an event for US elections HOT 2
- Read from multiple apts files HOT 1
- Question: Is there a way to use other calendars?
- Error while checking for OPTIONS at URL 403 Forbidden HOT 1
- Incorrect tense in data status messages
- Syntax error in the item date with caldav
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calcurse.