Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync before adding quick note to inbox #136

Open
eyJhb opened this issue Jan 7, 2024 · 3 comments · May be fixed by #137
Open

Sync before adding quick note to inbox #136

eyJhb opened this issue Jan 7, 2024 · 3 comments · May be fixed by #137
Labels
enhancement New feature or request

Comments

@eyJhb
Copy link

eyJhb commented Jan 7, 2024

I've tried to search the current issues, but I don't think this has been opened before.

Recently, I've started getting errors on remote and local out of sync, and I need to remember to sync before I actually add the quick note.
Is it possible to adding an option, that will sync the inbox note, before adding a quick note using the notifications?
The inbox is a somewhat messy note, that needs sorting, and I just want the ability to throw stuff into it, and then I can organize it later.

It's not that I want autosync, I just want "sync before adding quick notes".

Hopefully this isn't a duplicate feature request.

@eyJhb eyJhb added the enhancement New feature or request label Jan 7, 2024
@eyJhb eyJhb linked a pull request Jan 8, 2024 that will close this issue
@amberin
Copy link
Member

amberin commented Feb 13, 2024

Just curious, which repo type are you using? Because it seems very inconvenient if you get conflicts as soon as you add something without having the latest changes on the remote side.

I suppose you have already considered adding quick notes to a different notebook, which is not updated on the remote side? As I see it, part of the beauty of org-mode is the ability of the agenda to show content from multiple files, and the ease of sorting items from something like an "inbox" notebook.

@eyJhb
Copy link
Author

eyJhb commented Mar 7, 2024

Sorry for the late reply @amberin , I'll try to explain as best as I can.

So when I add a quick note, it goes to inbox.org, which I use WebDAV to sync my phone with my Nextcloud server.
My inbox is just my various notes/todo/things to remember/ideas, that I can't write down properly, or need to be refined later.

The refining/categorizing etc. happens on my computer. This means that I'll open my inbox.org, and cleanup my inbox, and move all the items to the correct .org places, delete them if no longer needed etc. and then in the end save inbox.org.

The issue then comes, when I have updated inbox.org from my computer, but haven't synced these changes manually on my phone yet. So next time I have something important I need to remember, I add it to my inbox, but then I get a conflict.

This is why, I would much rather it just try to sync it before trying to add any note as a quick note. As sync errors (both modified) are impossible to fix. You can either keep the thing you added, and have all the old inbox stuff be there, or you can then sync the remote copy, and have to add the note again.

I hope this clears it up.

@stfl
Copy link

stfl commented Mar 12, 2024

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants