Files created by org-jounral
are not synced
#132
-
The problem I am facing is that after I create a new org-roam dailies file, my org-roam-db does not sync as it should. I have to manually sync it. First of all I am unsure if I set up my Vulpea correctly with Doom Emacs. This might be a clear answer for someone who has experience with Doom Emacs. I added the following to my (use-package! vulpea
:ensure t
;; hook into org-roam-db-autosync-mode you wish to enable
;; persistence of meta values (see respective section in README to
;; find out what meta means)
:hook ((org-roam-db-autosync-mode . vulpea-db-autosync-enable))) In My db-sync values: For what it's worth, I am following https://d12frosted.io/posts/2021-01-16-task-management-with-roam-vol5.html and have implemented those functions and hooks/advices. Everything there works fine. Except files are not added to my Any input would be much appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Just to summarise. The issue is that
This will make @DominikMendel I am not using As you can see, Also, I am not using Doom Emacs, so can't validate your configuration. But I'd simply check
Could be a good indicator that everything is fine :)
Just by chance, do you save this file? Org roam syncs files on save. Another hard guess/question. Do you face the problem in |
Beta Was this translation helpful? Give feedback.
-
I'm going to close this discussion I think and open up a different one. I have further narrowed my issue and it doesn't pertain to this topic. Everything in this topic was relevant though, and adding to those hooks worked well. |
Beta Was this translation helpful? Give feedback.
Just to summarise. The issue is that
org-journal
doesn't assignID
on the file level when neworg-journal
file is created. Fororg-roam
(and transitivelyvulpea
) to catch this file, it has to contain anID
. So you have to:ID
via any relevant method (either by setting uporg-journal-file-header
, or using various hooks likebefore-save-hook
ororg-journal-after-header-create-hook
etc.).This will make
org-roam
to pick up this file unless it's located outsideorg-roam-directory
.@DominikMendel I am not using
org-journal
and don't have your configuration files to tell anything useful, but from quick glancing onorg-journal
sources I'd say it should work:https://g…